Channels¶
The Channels modules allow you to create, update, retrieve, list, and delete the contacts in your Channels account.
Getting Started with Channels¶
Prerequisites
- A Channels account
In order to use Channels with Ibexa Connect, it is necessary to have a Channels account. If you do not have one, you can create a Channels account at channels.app.
Note
The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!
Connecting Channels to Ibexa Connect¶
To connect your Channels account to Ibexa Connect you need to obtain the API Key from your Channels account and insert it in the Create a connection dialog in the Ibexa Connect module.
-
Log in to your Channel account.
-
Click Integrations > API Key > Generate.
-
Copy the Channel name and API Key to a safe place.
-
Go to Ibexa Connect and open the Channel module's Create a connection dialog.
-
In the Connection name field, enter a name for the connection.
-
In the API Key and Account field, enter the API key and account details copied in step 3 and click Continue.
The connection has been established.
Contacts¶
List Contacts¶
Gets a list of all contacts.
Limit | Set the maximum number of contacts Ibexa Connect should return during one scenario execution cycle. |
Get a Contact¶
Gets a specific contact by ID.
Create a Contact¶
Creates a new contact.
First Name | Enter the contact's first name. |
Last Name | Enter the contact's last name. |
Email Name | Enter the contact's email address. |
Company Name | Enter the company name to which the contact belongs to. |
External Link | Enter the external link for contact. For example, company website link . |
Tag Names | Enter the tags for the contact. For example, new , prospect . |
MSISDN | Enter the contact's phone number with the country code. For example, +15162593419 . |
Force New Entity | Select whether you want to enforce a new entity for the contact. |
Existing Contact ID | Select the existing whose details to be overridden with this new contact. |
Update a Contact¶
Updates contact.
Contact ID | Select the Contact ID whose details you want to update. |
First Name | Enter the contact's first name. |
Last Name | Enter the contact's last name. |
Email Name | Enter the contact's email address. |
Company Name | Enter the company name to which the contact belongs to. |
External Link | Enter the external link for contact. For example, company website link . |
Tag Names | Enter the tags for the contact. For example, new , prospect . |
MSISDN | Enter the contact's phone number with the country code. For example, +15162593419 . |
Force New Entity | Select whether you want to enforce a new entity for the contact. |
Existing Contact ID | Select the existing whose details to be overridden with this new contact. |
Delete a Contact¶
Deletes a contact.
Contact ID | Select the Contact ID you want to delete. |
Calls¶
See the Setting Up the Channel Webhooks to add webhooks in your Channel account.
Watch Incoming Call Status¶
Triggers to watch incoming call status.
Watch Answered Calls (Deprecated)¶
Triggers when a call is saved as successful.
Other¶
Make an API Call¶
Performs an arbitrary authorized API call.
URL |
Enter a path relative to | For the list of available endpoints, refer to the Channels 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 - Get All Contacts¶
The following API call returns all the contacts from your Channels account:
URL:
/v1/contacts
Method:
GET
Matches of the search can be found in the module's Output under Bundle > Body > data.
In our example, 3 contacts were returned:
Setting Up the Channel Webhooks¶
-
Open any Watch module, enter a name for the webhook, click Save, and copy the URL address to your clipboard.
-
Log in to your Channel account.
-
Click Integrations > Webhooks.
-
Select the events you want to watch, enter a name for the webhook, and enter the webhook URL address copied in step1. Click Save.
You have successfully added the webhooks.
You can now execute the scenario in Ibexa Connect and will receive triggers for specified webhook events. nter a name for the webhook, click Save, and copy the URL address to your clipboard.
-
Log in to your Channel account.
-
Click Integrations > Webhooks.
-
Select the events you want to watch, enter a name for the webhook, and enter the webhook URL address copied in step1. Click Save.
You have successfully added the webhooks.
1 |
|
You can now execute the scenario in Ibexa Connect and will receive triggers for specified webhook events.