Example: creating a Survey bot

This is a simple bot that asks whether you want to complete a quick survey. It demonstrates how to use the Card and Action interaction types. In this example, we will start by setting up the action.

Note: This is a more advanced example that assumes you already know about Questions and Messages. For an introduction to these, see Example: creating a Contact Us bot.