All Collections
Zapier
How to create LiveChat custom events in SalesWings with Zapier
How to create LiveChat custom events in SalesWings with Zapier

This article explains how you can create SalesWings custom events from LiveChat activities using Zapier.

Pauline from SalesWings avatar
Written by Pauline from SalesWings
Updated over a week ago

In this guide, we will show you how to track LiveChat events in SalesWings using Zapier.

First, make sure Zapier and SalesWings are connected. Here's how to do so.

Once connected, go to Zapier and click on "Create Zap".

Here is the zap you want to create:

  1. Build the trigger

Look for the LiveChat app and select the trigger event you want to track. In this case, we want to create an event when a new chat is initiated

Next, you need to select the LiveChat account you want to connect. You can click on "Manage connected accounts" if you need to add a new account.

You can now test this trigger and move on to the next action.

2. Build the Action

Choose the app "Webhooks by Zapier" and select Custom Request for the action event.

Set up the below action:

{
"p": "XX",
"url": "https://to.go.saleswingsapp.com/",
"email":"1. Visitor email:example@email.com",
"kind":"Started",
"data": "LiveChat",
"e":"post-event"
}

🛑p: Replace XXX by your SalesWings project ID. Go to your SalesWings account settings, and get the project ID. The project ID (pid) can be found within your tracking script, inside the quotation marks. It's a combination of letters, numbers and characters.

  • email: Replace by the variable from LiveChat for visitor email

  • Kind: Started (Note: you can customize this custom event name)

  • Data: LiveChat (Note: you can customize this custom event name)

  • e: post-event

It should like like the below:

Test your zap, now you can save it.

In your SalesWings cockpit, the names you set up for "KIND" and "DATA" will show as a custom event under the lead Intent history.

We recommend you set up a tag and/or a score for such action. Here's how to do it:

The tag will then show for all prospects who meet this condition:

You can also consider giving point for this activity. This can be done by setting up below rule in your SalesWings settings:


Congratulations, you are now done!
Don't hesitate to schedule a Training Call with us!

Did this answer your question?