Skip to content

CallRail

The CallRail modules allow you to watch the pre-calls, modified calls, SMS, users, trackers, companies, and calls in your CallRail account.

Getting Started with CallRail

Prerequisites

  • A CallRail account

In order to use CallRail with Ibexa Connect, it is necessary to have a CallRail account. If you do not have one, you can create a CallRail account at callrail.com.

Note

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

Connecting CallRail to Ibexa Connect

To connect your CallRail account to Ibexa Connect you need to obtain the API Key from your CallRail account and insert it in the Create a connection dialog in the Ibexa Connect module.

  1. Log in to your CallRail account.

  2. Click Your Account Name > My Profile > API Keys > Create API V3 Key.

    61d5a9d277e84.gif

  3. Copy the API Key to your clipboard.

    61d5a9d50664b.png

  4. Go to Ibexa Connect and open the CallRail module's Create a connection dialog.

    61d5a9d64403e.gif

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

  6. In the API Key field, enter the API Key copied in step 3.

  7. In the Account ID field, enter your 9-digit account ID without any special characters. You can find the Account ID when you click Your Account Name. For example, 713863719.

    61d5a9d86922e.png

  8. Click Continue.

The connection has been established.

Triggers

See the Setting Up the CallRail Webhooks to add the webhook in your CallRail account.

Watch Pre-Call

Triggers when an inbound phone call is received by CallRail.

Webhook Name Enter a name for the webhook.

Watch Modified Call

Triggers when a call has changed after it's ended.

Webhook Name Enter a name for the webhook.

Watch SMS Received

Triggers when an SMS message is received.

Webhook Name Enter a name for the webhook.

Watch SMS Sent

Triggers when an SMS message is sent.

Webhook Name Enter a name for the webhook.

Watch Trackers

Triggers when a new tracker is created.

Limit Set the maximum number of trackers Ibexa Connect should return during one scenario execution cycle.

Watch Companies

Triggers when a new company is created.

Limit Set the maximum number of companies Ibexa Connect should return during one scenario execution cycle.

Watch Users

Triggers when a new user is created.

Limit Set the maximum number of users Ibexa Connect should return during one scenario execution cycle.

Other

Make an API Call

Performs an arbitrary authorized API call.

URL

Enter a path relative to https://api.callrail.com/. For example: /v3/a/<Account_ID>/companies.json

For the list of available endpoints, refer to the CallRail 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.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

Example of Use - List Companies

The following API call returns all the companies from your CallRail account:

URL

/v3/a/Account_ID/companies.json

Method

GET

61d5a9d9884c7.png

Matches of the search can be found in the module's Output under Bundle > Body > companies.

In our example, 5 companies were returned:

61d5a9da9bed8.png

Watch Calls

Triggers when an inbound phone call is received or a call has changed after it's ended.

Webhook Name Enter a name for the webhook.
Company ID Select the Company ID whose call you want to watch.

Setting Up the CallRail Webhooks

  1. Open any Watch module, enter the details as provided in the respective module, click Save and copy the URL address to your clipboard.

    61d5a9dbe5fb0.gif

  2. Log in to your CallRail account. Click Settings > Manage > Add Integration > Webhooks.

  3. Select the company for which you add the trigger.

    61d5a9de4e6cc.gif

  4. In the required event field, add the URL address copied in step 1, and click Update.

    61d5a9e1adcf9.gif

You have successfully added the webhook.

61d5a9e47bb2f.png