Link Search Menu Expand Document

Reverse webhooks

Use Reverse Webhooks to trigger LinkedIn actions via Icereach.

Table of contents

  1. Set up reverse webhooks in Icereach
  2. Send reverse webhooks via Zapier
    1. Select Pipedrive
    2. Pick Webhooks by Zapier
    3. Executing direct actions
      1. For profile visits
      2. For connection requests
      3. For messages
  3. Send reverse webhooks via Postman
    1. Assigning to campaign
    2. Sending direct connection request
    3. Sending direct message
    4. Sending direct profile visit

The reversed webhooks allow you to push data directly to our system from any request executing tools like Zapier, (MAKE) Integromat, or Postman.

The CRM is the place where you store everything for your prospects. Many sales representatives have only access to it, and you want them to be only on LinkedIn. However, sometimes there might be confusion with the automation software you have set up. The best way to prevent this is to combine CRM work and automation in one.

For instance, you have a prospect in your CRM system. Instead of going between different systems, you want to execute directly an action on him, such as sending a connection request or simply assigning him to an automated flow.

By setting up the reversed webhooks, you can execute this.

We will check two cases, one via a tool like Zapier and one direct with POSTMAN.

Set up reverse webhooks in Icereach

First, in order to send a reverse webhook, you will need to create a unique API token.

Go to manage account, click on integrations, enter the name of the key, and then click on create.

image

Important here is that once the key is created, make sure to copy and save it somewhere, it won’t be possible to view it again due to security reasons.

image

The key is related to the specific LinkedIn account you have chosen, and it’s unique for each account.

If you forget your key, delete the old one and create a new one. If this happens, make sure to update the new one in all the places where you send requests.

Send reverse webhooks via Zapier

Many clients have used integrations via Zapier to export data via Icereach to their CRM. Now, we show how you can do it the other way around.

Select Pipedrive

As an example, we show how to integrate it with Pipedrive. First, go to Zapier and click on create zap. Select Pipedrive initially and select your event. We decided to pick an updated person for this test case, but you can select any other event. image

Then pick and verify the account you want. Make sure that this is the exact account in the Pipedrive from which the reverse webhook should be executed. Then click on test and review. Once you verify that everything is here, you are ready to go.

Pick Webhooks by Zapier

As a second app, choose webhooks by Zapier and select post request. image

Then click on continue button. At the URL, make sure to add https://api.icereach.com/api/inevitable/direct_actions/ and payload type-json. image

Now comes the exciting part when event needs to be executed. Initially, we will show how to assign a person to an outreach campaign. The data should look like this: image

The execution_strategy is the action you want to perform in our case adding to a campaign. The profile_url consists of the prospect linkedin url which you want to assign. You can choose it directly from the imported Pipedrive fields.

In order to have this field selectable in the Pipedrive fields, make sure to create such in it as a custom field. You can learn more at Pipedrive - custom fields. image

Second, you need to add campaign ID to which you are assigning new prospects. image

You can find your campaign IDs by going to the campaigns page in your Icereach account and by going to the specific campaign detail.

image

Additionally, you can add your own placeholders to the specific contacts, for example address, phone, email, country. We used placeholder_1 and placeholder_2 as examples. These placeholders can contain data either from the Pipedrive system or you can include your own custom details.

image

You can leave both Wrap request in array and Unflatten as No. You can leave File and Basic auth empty.

image

In order to finish the set up, the headers needs to be added. Add the rw-api-key and as its value, add the key which you have created in the Icereach. Please save this key initially when creating because you won’t be able to view it again due to safety reasons. image

At the end it should look like this: image

When the reverse webhook is executed, the prospect will be added to the campaign. As you can see from our screenshot, the prospect called Alexander Dahud has been added to our campaign. image

image

Executing direct actions

For executing direct actions such as sending connection requests, messages, or profile visits, you will need to change the data input

For profile visits

In order to execute a direct profile visit, the request data should look like this:

image

For connection requests

In order to execute direct connection request the request data should look like: image

You can also import your own placeholders, which can be used later on. Additionally, you can use placeholders from Pipedrive inside of your template message. For instance: image

Also you can place placeholders in the template that you added to the Icereach similar to placeholder_1. However in this case you need to add your placeholder within two double-braces as {{placeholder_1}} . Make sure that it will be inside of the {{ }} . Keep in mind that the keys in the placeholders must be written with lower case in order to use them in the template. If you add Placeholder_1 this won’t be replaced.

For messages

In order to execute a direct message, the request data should look like this:

image

Similar to the request, you can upload any placeholder you want and add them to the template. Additionally, you can use placeholders from Pipedrive inside of your template message. For instance: image

For any custom placeholder in the template you need to add them in a lower case and within {{ }} . For instance: Hey {{first_name}}, glad to connect.

Send reverse webhooks via Postman

You can send direct HTTP requests from tools such as Postman.

First, download Postman and sign in. Then click on Import.

image

Assigning to campaign

Once the pop up is open, select raw text and add input like this:

curl --request POST \
  --url https://stage.api.icereach.com/api/inevitable/direct_actions/ \
  --header 'Content-Type: application/json' \
  --header 'rw-api-key: REPLACE_WITH_YOUR_API_KEY' \
  --data '{
  "execution_strategy": "LinkedInAddToCampaignStrategy",
    "profile_url": "https://www.linkedin.com/in/PERSON_IDENTIFIER/",
    "campaign": 90,
    "placeholder_1": "This is my first custom placeholder",
    "first_name": "Liz",
    "last_name": "Ross"
}'

image

The placeholder values for the prospect can be used in the sequence messages.

Click on continue and then send. This will assign the prospect to the campaign. image

Sending direct connection request

Once the pop up is open, select raw text and add input like this:

curl --request POST \
  --url https://stage.api.icereach.com/api/inevitable/direct_actions/ \
  --header 'Content-Type: application/json' \
  --header 'rw-api-key: REPLACE_WITH_YOUR_API_KEY' \
  --data '{
    "execution_strategy": "LinkedInConnectionRequestStrategy",
    "profile_url": "https://www.linkedin.com/in/PERSON_IDENTIFIER/",
    "placeholder_1": "This is my first custom placeholder",
    "template": "Insert connection request note here."
}'

image

Then click send, and the postman will send a direct request to Icereach which will perform a connection request. In the template, you need to write the connection node you want to send. You can add placeholders to it, but they need to be inside {{ }} .

Sending direct message

Once the pop up is open, select raw text and add input like this:

curl --request POST \
  --url https://stage.api.icereach.com/api/inevitable/direct_actions/ \
  --header 'Content-Type: application/json' \
  --header 'rw-api-key: REPLACE_WITH_YOUR_API_KEY' \
  --data '{
    "execution_strategy": "LinkedInMessageStrategy",
    "profile_url": "https://www.linkedin.com/in/PERSON_IDENTIFIER/",
    "placeholder_1": "This is my first custom placeholder",
    "template": "Insert connection request note here."
}'

image

Then click send, and the postman will send a direct request to Icereach which will perform a direct message. In the template, you need to write the message you want to send. You can placeholders to it, but they need to be inside {{ }} .

Sending direct profile visit

Once the pop up is open, select raw text and add input like this:

curl --request POST \
  --url https://stage.api.icereach.com/api/inevitable/direct_actions/ \
  --header 'Content-Type: application/json' \
  --header 'rw-api-key: REPLACE_WITH_YOUR_API_KEY' \
  --data '{
    "execution_strategy": "LinkedInViewProfileStrategy",
    "profile_url": "https://www.linkedin.com/in/PERSON_IDENTIFIER/"
}'

image

Then click send, and the postman will send a direct request to Icereach which will perform a direct profile visit.