There are two ways to launch an assistant
- Quick Launch: Use our built-in integrations to launch to a website, SMS, WhatsApp, or Microsoft Teams. These are fast but limited in customization.
- Custom Launch: Use our code samples to launch an assistant for channels like slack, discord, IVR, Telegram, and more. These allow you to create your own customizations with code.
On an AI project, click the integrations tab for the various quick launch instructions and settings. Details instructions on each channel are included below. We only support chat based channels on quick launch currently.
Our code samples can be found in the custom launch section of the docs or on github here. These are starting points that help you understand how to connect with various voice and chat channels.
All of our code samples leverage our Dialog API. This API send input to your Voiceflow project and returns a response based on the design.
It also manages the state of the users conversation, letting them leave the conversation then pick it up later from the same spot.
There are 3 key requests you will use
- Interact Launch Request: This starts the conversation from the start block.
- Interact Text Request: This sends text input to Voiceflow and returns a response. Use this after the Launch request.
- Delete State: This force ends the conversation and resets the state.
You can do other functions like set variables in Voiceflow with the Update Variable endpoint. This is useful for things like authentication and passing user information.
Updated 2 months ago