If Expandi uses webhooks for sending data to somewhere outside of the system a reversed webhook would be the equivalent of sending data from outside of the system to the system. Reversed webhook actions are the closest to the publicly available API we have.

With the reversed webhook you can either add people to the campaign or pause and resume them in the campaign.

How to add people to a campaign using a reversed webhook?

  1. First of all, you need to create a campaign within Expandi by clicking on a Campaign in the sidebar menu and selecting Add Campaign or use an already existing campaign

  2. Then select the campaign and go to the Integrations tab and copy the URL to use

  3. This URL is where you should push your data to. Here is an example with Postman (web.postman.co). Open a new tab on your browser and go to web.postman.co and create a free account there

  4. Once you are in, press on Workspaces and select Create A New Workspace

  5. Press on the + symbol, like in the screenshot below and the Untitled Request tab will appear

  6. To create the integration click on GET and select POST, then paste the URL that you copied from the campaign to the text field next to POST

  7. Once it's done, press on Body and select Raw, then change the Text option to JSON

  8. Enter the bracket { next to the number one and press Enter, in the second line enter "profile_link": "the profile link of the lead you wish to add to the campaign" and press SEND

  9. Once it's done, you will see the message that the lead was added to the campaign, just like the one below

Now if you go to your campaign, People tab, you will see the lead you added via a reversed webhook there

How to pause/resume leads in the campaign via a reversed webhook?

In Expandi you can pause or resume a person in a campaign without logging in to your Expandi account. This can be very helpful if you mainly manage your CRM and would like to perform actions without logging into our system.

The actions can be done using the Integrations tab in a certain campaign. You can find it by going to Expandi, pressing on Campaigns on the sidebar, opening the campaign you would like to pause or resume a person from outside of Expandi and going to the Integrations tab.

Under the Campaign contact actions, you will see 2 URLS - one for pausing and one for resuming a person

However, it is important to specify that each person, each LinkedIn account has their own campaign contact ID, which can be found in the content of the Webhook on Expandi. Note that this section will be available only for people that are in an active campaign at the time of firing the webhook.

Once you open a specific webhook that is firing for this campaign you are working on, you can click on the History of the webhook to find the campaign ID under the campaign_instance_contact section

In there you can also find the full link to resume this specific person. All you need to do is open it in a browser and the corresponding action will be performed for the lead once the reversed webhook is created.

To create a reversed webhook for pausing or resuming the lead with the link taken from the webhook history (as displayed above) you need to:

  1. Open Zapier.com

  2. Create an account on Zapier or login to the existing one

  3. Open the Zap/webhook you created for one of your campaigns before and go to the second part of the process, which is Webhooks by Zapier

  4. There you need to select GET for the event and press Continue

  5. Then add the URL for pausing or resuming the lead in the campaign

  6. Select “YES” in the “Send as JSON” part

  7. Make the JSON key: json

  8. Once everything is filled up, press Continue and Test the action

Now, using the specific URL you will be able to perform both actions without logging in to your Expandi account. Simply copy and paste the link into your browser tab, so the action can be performed on your account.

Please keep in mind that each URL is different for every person in your campaign (since the campaign contact id is unique per person), so they have to be taken from the webhook history for each LinkedIn account.

If you have any more questions, please contact customer support.

Did this answer your question?