A webhook is a feature that allows you to transfer data from your MVP to external services by automatically sending HTTP requests (webhooks).

General Settings tab, field descriptions:
1) Name - Enter the internal name of the "Webhook" block. This will be displayed only to you in the block diagram within the MVP system when setting up the business process. By default, the block will be named " Webhook ."
2) Delay - set the delay for sending the webhook to an external service.
3) State - select one of the states that will be applied to the block:
- Wait - the system pauses the script and waits for the lead's response before proceeding to the next step. Use this mode if you need to get a response from the user before continuing.
- Skip - the script will automatically move to the next block without waiting for a response from the lead.
- Block - stops further interaction with the lead. Use this to block access to a script or end the conversation.
- Manual - the system executes the block action and switches the transaction to manual mode.

Webhook tab, field descriptions:
1) Request type - select the request type.
2) External postback link - add a link, specifying the required macros. This link will be used to send a webhook to an external service. Example of sending a webhook:
https://domen.com/postback?telegram_name={first_name}&telegram_username={username}&geo={params__geo}In this webhook, we pass parameters in the following format:
telegram_name={first_name} - Telegram username
telegram_username={username} - Telegram username
{params__PASSHEREANYVALUEFROMPARAMS} - you can pass any value from the parameters we're recording. Example: geo={params__geo} - lead's GEO
You can also:
- pass any spot variables
- When using the {offer} macro, a link to one of the offers is randomly inserted
- When using macros from the "Deals" section (for example, {link1}), a link to a specific offer is inserted
After completing the settings, click the “ Save ” button.