Sonar

The Sonar modules allow you to monitor, create, update, retrieve, close, and delete the customers, monitor, and send the messages and campaigns.

Getting Started with Sonar

Prerequisites

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Sonar to Integromat

To connect your Sonar account to Integromat you need to obtain the private token from your Sonar account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your Sonar account.

2. Click the left menu icon () > Company Settings.

3. Copy the Private Token to your clipboard.

4. Go to Integromat and open the Sonar module's Create a connection dialog.

5. In the Connection name field, enter a name for the connection.

6. In the Private Token field, enter the token copied in step 3.

7. (Optional) Select the Sandbox checkbox if you are using a sandbox account, and click Continue.

The connection has been established.

Customers

Watch New Customer

Triggers when a new customer has been created.

You do not have to add the webhooks in the Sonar as it is automatically done for you once you add and save an instant trigger module to your scenario.
Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Sonar account.

Watch Customer State Changed

Triggers when the state of the customer has changed.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Sonar account.

Get a Customer

Gets a customer.

ConnectionEstablish a connection to your Sonar account.
Phone NumberEnter (map) the phone number of the customer whose details you want to retrieve. For example, +13105551234.

Create / Update a Customer

Creates/updates a customer.

ConnectionEstablish a connection to your Sonar account.
Phone NumberEnter (map) the phone number of the customer whose property you want to delete.
First NameEnter (map) the customer's first name.
Last NameEnter (map) the customer's last name.
Email AddressEnter (map) the customer's email address.
PropertiesAdd the properties for the customer:
Property Name
Enter (map) the property name. For example, the customer's company name.
Type
Select or map the data type. For example, text or a number.
Value
Enter (map) the property value. For example, company name.
Picture URLEnter (map) the URL address to the customer profile picture.
SubscribedSelect whether the customer is subscribed to receive the API messages and mass messages.
User EmailEnter (map) the email address of the user who is assigned to the customer.
ZIP CodeEnter (map) the customer area ZIP code. For example, 90210.
TimezoneSelect or map the customer's timezone.

Unassign Agent from a Customer

Unassigns an agent from a customer.

ConnectionEstablish a connection to your Sonar account.
Phone NumberEnter (map) the phone number of the customer whose agent you want to unassign from the customer. For example, +13105551234.

Close a Customer

Closes a customer.

ConnectionEstablish a connection to your Sonar account.
Phone NumberEnter (map) the phone number of the customer you want to close. For example, +13105551234.

Delete a Customer Property

Deletes a customer property.

ConnectionEstablish a connection to your Sonar account.
Phone NumberEnter (map) the phone number of the customer whose property you want to delete. For example, +13105551234.
Property NameEnter (map) the property name you want to delete.

Messages

You do not have to add the webhooks in the Sonar as it is automatically done for you once you add and save an instant trigger module to your scenario.

Watch Tag Added to a Message

Triggers when the tag has been added to the message.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Sonar account.

Watch Tags Removed from a Message

Triggers when the tag has been removed from the message.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Sonar account.

Watch New Outbound Message

Triggers when getting the outbound message.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Sonar account.

Watch New Assigned Message

Triggers when getting the new assigned message.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Sonar account.

Watch New Unassigned Message

Triggers when getting the new unassigned message.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Sonar account.

Send a Message

Sends a message.

ConnectionEstablish a connection to your Sonar account.
Phone NumberEnter (map) the phone number to which you want to send the message.
TextEnter (map) the message text.
Media URLEnter (map) the URL address of the image or video you want to attach to the message.
Tag NamesAdd the tags applicable to the message.

Append Tag to an Existing Message

Appends tag to an existing message.

ConnectionEstablish a connection to your Sonar account.
External Message IDEnter (map) the External Message ID to which you append the tag. You can get this value only from the Webhook payload.
Tag NameSelect or map the tag you want to append to the message. For example, bug.

Campaigns

Send a Campaign

Sends a campaign.

ConnectionEstablish a connection to your Sonar account.
Campaign IDEnter (map) the Campaign ID you want to send. For example, test_campaign_CxkoWx. The Campaign ID or slug can be found in the Define tab of the specific campaign you want to send. 
ToEnter (map) the phone number of the customer to whom you want 
Send atEnter (map) the date and time when you want to send the campaign. See the list of supported date and time formats.

Other

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your Sonar account.
URL

Enter a path relative to https://sandbox.sendsonar.com/api For example: /v1/webhooks

For the list of available endpoints, refer to the Sonar API Documentation.

Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Webhooks

The following API call returns all the webhooks from your Sonar account:

URL:
/v1/webhooks

Method:
GET

Matches of the search can be found in the module's Output under Bundle > Body
In our example, 19 webhooks were returned:


Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.