n8n

You can easily connect Convertful with n8n and send data to services n8n provides a connection with. Just follow the guide below: 

1. In n8n, create a new workflow, then click on the "Add first step" button.

1.png

2.  In the panel that opens, search for "Webhook" and select it.

2.png

3. In the new window that opens, under "HTTP Method" select "POST", and make sure "Test URL" is enabled. 

Copy the webhook URL.

3.png

4. In Convertful, create your widget and for your button's on submit action, select "Send webhook".

  • Paste the copied webhook URL into the field. 
  • Select "use POST" and set up the "Variables" as required.

4.png

5. Return to n8n Workflow and click  "Listen for test event" button and the "Listening for test event" pop-up will appear.

5.png

6.png

6. Return to the Convertful widget and click the "Validate URL" button. 

9.png

If the URL is specified correctly, you should receive a success message confirmation.

8.png

7. Return to n8n Workflow and you will see the data that was sent via the webhook. 

Change the "Test URL" to "Production URL" and copy the Production URL.

10.png

8. Return to the Convertful widget and replace the Test URL with the Production URL.

11.png


9. Go back to the Workflow in n8n and close the popup. 

Click on the "+" icon  and select what action you want to perform with the received data. 

For example, you can add conditions and then apply a specific action, or directly send the data to another service, such as email. Below is an example of a setup for sending data to email. Find Gmail in the right panel or Send Email if you use a different email client.

12.png

Select "Send a message".

13.png

In the window that opens, set up a Gmail account, customize the recipient's email address, and write the message body, adding the received data to it by dragging it from the left side.

14.png

Close this window, now save the changes and activate the Workflow.

15.png