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.
Go to Client Integrations and click on the integration you created for Telegram
Here you can find a button called “Integration Info”, click on it

This will open a modal which contains the specific webhook URL for the integration
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
POSTrequest to the endpoint calledX-Telegram-Bot-Api-Secret-Tokenwhere the value of it is the verification tokenMake sure the payload to the endpoint is the exact payload that is sent by Telegram
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