How-To Create Your Own Parametric Code for Messenger

How-To Create Your Own Parametric Code for Messenger

Intro to Parametric Codes

Take me to the steps. Parametric Codes drive offline traffic to your chatbot. Parametric Codes function like QR codes, but specifically for Facebook Messenger. By printing and posting these scannable codes, you can push offline users to your chatbot with ease.

This guide will cover:

  • Why you should use Parametric Codes
  • What parametric codes are.
  • How to get a Parametric Code with the Rocketbots Platform & Dialogflow

 

Not sure where to start with Chatbots? Check out this guide!

Why You Should Use Parametric Codes.

Simple, you have a bunch of offline users and you would like to turn them into an online audience. Here are some amazing use cases where parametric codes are incredibly handy.

A Spa ⛱

You chatbot then lets people request assistance, and food while they are at your Spa. How do you let them know these services are available at their fingertips?

Place a Parametric Code near the pool that prompts people to scan with Facebook Messenger for assistance.

Once scanned you can send your client directly to the intent that acknowledges they are already inside the Spa and shows off the services available.

A Large Event or a Convention ?

So you’ve put all this effort into organizing a massive event and you want to make sure you can reach those you actually came to the event next year.

Place a Parametric Code on the wall with the subtitle, scan with Facebook Messenger to find out about the awesome afterparty.

Not only will you have an audience to message for next years event. You can broadcast messages to your guests when new details about your party become available. Making sure your after party is great as can be.

A Pizza Place ?

Do you spend a lot of time making the fancy one-off pizzas to please your loyal customers? I sure do. Don’t you wish you had a way to reach your customers with a tasty photo when you make one of those magnificent creations?

Easy, just put a Parametric Code in your restaurant so your customers can get the WiFi password. The bot will give them the information they need and you can broadcast message them with delicious custom pizzas to your heart’s content.

 

What is a Parametric Code Exactly?

Parametric codes are QR codes for Facebook, once scanned, a person will be brought to your bot for a conversation. Take a look at how we created an awesome business card to give out at our events.

Parametric Code Business Card

Behind the Parametric Code, is a URL with a reference, which directs the user to a specific conversation in the chatbot. By adding that same reference to a specific intent inside your Dialogflow Agent you decide the conversation the user has after scanning.

The URL behind the Parametric Code looks like this:

Parametric Code URL

Step by Step Instructions

Decide which intent you want to bring users to, for this guide we’ll use “platformquestion” as our Event Name.

1 Select Event in your intent on Dialogflow, and type “REF_” followed by the event name with no spaces and in all capital letters as such:

Parametric Code Generator

Press Enter and Save your intent.

2 Go to your Rocketbots Platform Dashboard, at the bottom right you’ll find the Parametric Code Generator. Where it says “Embedded Param Code”, type the Event Name with no spaces and in all lower case letters, shown below:

Facebook Scanner Code

3 Click “Generate” and wait a moment for your new Parametric Code with Event reference to be created.

4 Once Created, you can now “Download” your Parametric Code as a .PNG file and use it in the real world.

5 Scan the code. It will begin the conversation at the specified intent’s response, rather than at the default “welcome” intent.

Now you’ve got a working Parametric Code with DialogFlow Events. Congrats!

Click here to learn how to integrate your Facebook Page with Rocketbots for free!

Author
Robert Rafferty

Robert is a Growth Hacker enthusiast that’s joining Rocketbots as the Head of Growth. He helps Rocketbots in becoming the voice of all things conversation and is famous for wearing shorts to the office. A graduate of the College of Business at Florida Atlantic University.