In this tutorial we will connect Friendly with Pipedrive by using n8n. If you want to push someone into Pipedrive, you can do it by (Push to integration) Campaign action in Friendly.

If you would like to have your contacts updated in Pipedrive, you can add an additional webhook to Pipedrive for updating contacts.

<aside> 💡 I will go step by step in this tutorial, but you can also take the shortcut by copy paste-ing the code at the end of this tutorial to your Friendly Connect / N8N.

</aside>

0. Preparations

Have your pipedrive credentials ready for N8N

1. Set up a webhook trigger in N8N

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c265e35e-4eb2-4d1d-aa33-2c708d0c9630/Untitled.png

Choose the webhook trigger and open the node.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d1de5899-cf29-43b5-be31-4e7005f8fcf4/Untitled.png

Click on webhook URL to reveal the URL. Select the POST method.

2. Create the webhook in Friendly

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/cdfb4e09-1d41-40d8-acec-b84338d0eec2/Untitled.png

Go to the webhooks in Friendly by clicking on the gear sign and choose webhooks.

Click on New.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/92e3d656-070d-402a-85f0-ef873d91ce2c/Untitled.png

Before you click on 'Send Test Payload', you have to make N8N listen. Click on the Execute Node button to start listening. Now you can Send the Payload in Friendly.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/ab8e563b-7de5-4b52-b0b1-c88c22004e31/Untitled.png

3. Search for the Pipedrive contact id

Now Friendly sends an example contact update event which will look like this:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/ec78145a-cf66-4669-96a3-7b08e7ddd3eb/Untitled.png