Using the conversation API for telegram

You can use a custom backend and forward the entire webhook payload to your integration using the FlowBridge conversation API for your integration. Read more about using the API on Custom integration through API

Telegram Specifics

In the case of Telegram; Telegram will send a Telegram Update within the backend of your application. You can then send over the entire payload to FlowBridge to process it and send out the response to the user.

  1. Go to Client Integrations and click on the integration you created for Telegram

  2. Here you can find a button called “Integration Info”, click on it

  3. This will open a modal which contains the specific webhook URL for the integration

  4. There is also a “Telegram Verification Token”. This ensures the webhook is coming from the correct place. You will need to supply a custom Header with the POST request to the endpoint called X-Telegram-Bot-Api-Secret-Token where the value of it is the verification token

  5. Make sure the payload to the endpoint is the exact payload that is sent by Telegram

  6. Once the API endpoint is hit, FlowBridge will take care of the rest and use the Telegram bot API to send responses from Voiceflow to the chat which is provided by the telegram update payload

Last updated