How to Connect Webhooks with Telegram
The integration will allow you to get data from Webhooks and transfer them to Telegram to send messages. This will allow you to automate workflows efficiently and save a lot of time.
Let's go through the entire Webhooks with Telegram setup steps together!
Navigation:
1. What will integration Webhooks with Telegram do?
2. How to connect your Webhooks account?
3. How to connect your Telegram account to?
4. How to setup data transfer to Telegram in the selected action?
5. An example of the data that will be sent to your Telegram.
6. Auto-update.
To start setup click "Create Connection".
Select a system as the Data Source. In this case, you must specify Webhooks.
Next, you need to specify the system to which the data from the Webhooks will be transmitted. In this case, you must specify Telegram.
The next step is to select the Webhooks account from which SaveMyLeads will get the data.
If there are no account connected to the system, click "Connect account".
If desired, you can change its name or simply click "Continue".
When the connected account is displayed in the "active accounts" list, select it.
Attention! If your account is in the "inactive accounts" list, check your access to this account!
Next, you need to copy the "URL for receiving data", click "Continue" and go to your account, that supports data transfer via Webhooks.
For the example work in this help, we will copy this link and go to the Kajabi account, setup an publication for transferring data via Webhooks.
You can do the same on any other system that supports Webhooks.
Go to the "Sales" - "Offers" tab, then select the publication from which you want to Data Destination.
Click on three dots and select "Webhooks".
In the "Purchase Webhook URL" field, paste the link you copied earlier from the SaveMyLeads system. After that, click "Send Test" to create a test event in the Kajabi system.
If you don't see the "Send test" button, click "Save" and go to the "Webhooks" section again.
The next step is to select the Telegram account to which will be sent the data.
If there are no accounts connected to the SaveMyLeads system, click "Connect account".
In the window that appears, enter the name of the account and click "Continue".
Next, a new window will open in which you need to copy the data in the "A line for connecting a Telegram bot" field.
Then close this window, reload the page and select the created account.
Now you need to go to your Telegram application.
In your Telegram application, enter @savemyleads_bot in the search bar.
Click on the bot profile and click "Start".
Send a message to the bot with the connection line that was copied from the SaveMyLeads system.
Wait for a response message about a successful connection to the system.
After that, return to the SaveMyLeads system and continue with the configuration.
When the connected account is displayed in the "active accounts" list, select it.
Note!
If you want messages to come to the channel or group, you need to add our bot to the group or channel, run it there and configure it. As a result, the group or channel should receive an answer that the bot is connected successfully.
If you have previously connected our bot to yourself, and now you want to connect it to a group or channel, you need to perform the following algorithm:
1. You need to disable our bot, clear the entire history and completely delete the dialogue with the bot.
2. In our system, go to the Accounts - Messengers - Telegram and delete all created accounts.
3. Go to your connection in the Data Destination to the "Access" stage and create a new account.
4. According to the help you need to re-configure Telegram, only this time first you need to create a group or channel, add our bot, and send a string with a connection. After that, send the test data to Telegram and check that getting.
Attention! If your account is in the "inactive accounts" list, check your access to this account!
In this section, the fields will be assigned according to the template. You can completely change it or leave it as is.
Now, you need to compose a message from the data that will be sent to the Telegram bot.
In order to add a variable, click on the field "Message" and select the desired variable from the drop-down list. If necessary, you can write the data manually.
Note that you can pass not only variables from the source, but also combine them with system data such as date, time, month, year, and day, if necessary.
Now
see the test data that will be send to Telegram.
Click "Send test data to Telegram" and go to the Telegram to check the result.
If something does not suit you - click "Back" and go back one step.
If everything suits you, click "Finish setup" to continue the setup.
On the main screen, click on the gear icon to select name of the connection and select a group for it, if necessary.
When the slider is in the position as shown in the picture - auto-update works. If you want to disable communication, click this slider.
This completes the integration setup between Webhooks with Telegram! See how easy it is!?
Now you don't have to worry, SaveMyLeads will do everything on its own!