The Webhook function allows you to send data from XQuiz to external tools automatically, as soon as the user passes through a specific stage of the funnel.
It’s ideal for integrations with CRMs, custom automations, proprietary systems, analytics platforms, among others.How to configure
Name: Define a name to identify your webhook.
Token: Authentication code (used by some tools to validate sending).
Method: Currently the only available method is POST, which sends data in the request body.
Webhook URL: Address where the information will be sent.
Advanced options
Send Events: Enable this option if you want to send data about user actions (such as page accessed, click, etc.).
Send Variables: You can select custom variables (such as name, email, result, responses) to be sent in the webhook body.
Connection in FlowJust like with other functions, you need to connect a button or previous action to the Webhook function, so it’s triggered at the right moment.When to use
Send leads to custom automations.
Integrate with platforms that don’t have direct integration with XQuiz.
Notify external systems in real-time about user actions.
In addition to sending events, the Webhook function allows you to transmit custom variables that you collect throughout the funnel, such as name, email, result, responses, and other data defined by you.What are variables?Variables are information you store from user interactions.Examples:
name
email
final_result
question1_answer
These variables can be reused in other parts of the funnel and also sent externally via Webhook.How to use variables in Webhook:
Create variables throughout the funnel (using the Variable function).
Go to the Webhook function.
Select the variables you want to include in the sending.
XQuiz will build a POST request, containing the selected variables in the sending body in JSON format.
Sending example:If you mark the name and email variables, the Webhook will send: