Follow

Communicator Message Syntax

Hotlink: Full description of Communicator is here

Prompts

For all Communicator channel types,

"q." indicates a prompt for the audience

"o." indicates open-ended question (ie. text field is presented)

"x." indicates 3x3 grid for unlock pattern

"b." questions with a time limit countdown (a time limit since the message is opened)

"r." questions with a reaction time (a time limit since the message is posted)

"e." questions with an expiration date.

Triggers for Communicator to fire are given in []

Example formats

QUESTIONS

 

q. [p1_yes] Sure! || [P1_no] Of course not!

OPEN TEXT

o. [question_id, Type your answer:]

"question_id" is part of the trigger matchphrase (to identify the question)

"Type your answer:" is the placeholder for the input text box

 

UNLOCK PATTERN

           x. p1, 1274, 2000,50000

           p1 is part of the trigger matchphrase
           1274 is the number representing the pattern
           2000 milliseconds to fade out the pattern
           50000 milliseconds to complete the pattern


As successful API call would be "p1 1274" to test for incorrect attempts use "p1 && !1274". If the question times out the API Call would be "p1 0000"

 

COUNT DOWN

           b. p1_yes, 12:00 || [matchphrase1] Option1 || [matchphrase2] Option2!

           p1_yes is the matchphrase
           12:00 is the time in hh:mm:ss

REACTION TIME

 

r. novote, 19:05:00 || [matchphrase1] Option1 || [matchphrase2] Option2! 

novote is the matchphrase in case the time runs out

19:05:00 the voting time (hours:minutes:seconds) since the post of the message

 

 

EXPIRATION DATE

e. novote, 19:05:00 || [matchphrase1] Option1 || [matchphrase2] Option2! 

e. novote, 23/March/2015 19:05:00 || [matchphrase1] Option1 || [matchphrase2] Option2! 

 

novote is the matchphrase in case the time runs out

19:05:00 the date when the voting ends (if you especify only a time the default date will be the current)


 
 

 

 

 

Msngr

Character name in [] indicates new message

“t.” Text only

“i.” Text and Image: the url of an image

“a.” Text and sound: the url of a sound

“v.” Text and video: the url of a Youtube video

“d.” date, separator

Example - Msngr

d. 21 October 2014
t. [javier] Hi! how are you?
t. [Jessie] Fine, thanks!
d. 22 October 2014
i. [javier] http://an.cr/sa/yshkM
t. [Javier] So do you wanna party tonight?

 

GoSocial

Character name in [] indicates new post, comment or reply

“t.” Post without media

“i.” Post with Image: the url of an image

“a.” Post with  Sound: the url of a sound

“v.” Post with video: the url of a Youtube video

“c.” comment

“r.” reply

Example - GoSocial

i.[Javier] Hi! This is a post!! http://an.cr/sa/MFf60

i.[Javier] Hi! This is a post!! http://an.cr/sa/MFf60

c. [Jessie] Hi, I like this :) !

r. [Jessie] ;)

 

MicroBlog

“t.” Tweet without media, only text

“i.” Tweet with Image: the url of an image

“a.” Tweet with  Sound: the url of a sound

“v.” Tweet with video: the url of a Youtube video

Example - MicroBlog

t. [Javier] Tonight is the night!!

i.[Javier] Partayyy!! http://an.cr/sa/MFf60

v.[Jessie] Yeah! https://www.youtube.com/watch?v=yCj_3_M8fAQ

 

Mail

Character name in [] indicates new email. First line is Subject

“a.” An audio: the url of an audio

“i.” An Image: the url of an image

“v.” A youtube video: the url of a video

Example - MAIL

[Javier] Welcome to the Newsletter

this is the body

i. http://the-url-of-my-image.com

[Jessie] hi!

this another body

and this another line for the same body

and this another line for the same body

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments