In this blog post I detail how to use the Intwixt Designer to evolve the "Hello World (Messenger)" bot and introduce the process modeler and data mapper.
Open Your Existing Bot
Navigate to your bot list at https://my.intwixt.com/#/bots. Click the "Hello World (Messenger)" bot to load it in the designer. If you do not see this bot in your list, follow these instructions: Import the Hello World Bot.
Select the Send a Response activity (it will be hi-lighted in blue when selected as shown below) and activate the INPUT configuration panel on the right. Currently this activity sends the static response, "Welcome to Intwixt!". I'll modify this to include the user's first name so our bot has a more personalized feel.
Add a New Activity
Drag the plus sign (+) in the upper left to append a new child activity. When you release the plus sign, a new activity will appear.
Configure the Activity
Choose the Messenger activity on the right side panel and then choose the activity, Get User Info. You will see the Messenger icon appear within the selected activity to reflect your selection.
Click the INPUT configuration panel and map the Sender ID. (NOTE: You can enable the mapper by typing the "@" symbol.)
Rearrange the Model
The next step is to rearrange the activities, so that you send a response only after you get the user info. you do this by activating the SETTINGS panel on the right and changing the mode to Modification.
Map the First Name Field
The final step is to use the information generated by the Get User Info activity, and include the user's first name in the greeting message.
Process modeling and data mapping are critical features of the Intwixt Bot Designer that help you to evolve and extend your bot.