Response Templates
Sending responses to Rocketbots contacts using Dialogflow Response Templates.
When creating an intent in the Dialogflow console you'll be presented with several response templates. Default appears automatically for every new intent, but other templates are available for several messages apps.
Please use the guidelines below when working with Response Templates.
You may include Dynamic Variables in your response templates.
{{$dynamic.variable}}. (E.g. Hi {{$contact.name}}, what's your phone number?)

Using Response Templates

Dialogflow has created Response Templates for Facebook Messenger, Telegram, LINE, Viber, Slack, and Skype.
When sending messages to a channel supported by Dialogflow use the Response Template for that app. When a channel does not have a Response Template in Dialogflow, please refer to the table below.
These guidelines are only for Response Templates, be aware that custom payloads have their own guidelines.
In short, our platform will forward messages to each respective channel based on priority below. If an answer is not available in the 1st priority Response Template, the 2nd Priority Response Template will send.
Channel
1st Priority
2nd Priority
Facebook Messenger
Facebook
Default
Instagram
Facebook
Default
LINE
Line
Default
Skype
Skype
Default
SMS (MessageBird)
Default
-
SMS (Twilio)
Default
-
SMS (Vonage)
Default
-
Telegram
Telegram
Default
Twitter
Default
-
Viber
Viber
Default
Website Chat
Facebook
Default
WeChat
Facebook
Default
WhatsApp (Cloud API)
Default
-
WhatsApp (360 Dialog)
Facebook
Default
WhatsApp (Chat API)
Facebook
Default
WhatsApp (MessageBird)
Default
-
WhatsApp (Twilio)
Default
-
WhatsApp (Vonage)
Default
-
As you can see from the priority table above, some channels support Facebook Response Templates because respond.io transforms the Facebook Response Templates and send it to the contact in a suitable messaging format.
Copy link