The Refiner modules allow you to monitor the completed surveys, segments, identify users, list contacts, create, update, send, retrieve, and list the conversations, people, visitors, and websites in your Refiner account.
Getting Started with Refiner¶
- A Refiner account - create an account at app.refiner.io/auth/register.
The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!
Connecting Refiner to Ibexa Connect¶
To connect your Refiner account to Ibexa Connect you need to obtain the API Key from your Refiner account and insert it in the Create a connection dialog in the Ibexa Connect module.
1. Log in to your Refiner account.
2. Click Integrations () > Get API Key. Copy the API key to your clipboard.
3. Go to Ibexa Connect and open the Refiner module's Create a connection dialog.
4. In the Connection name field, enter a name for the connection.
5. In the API Key field, enter the API key copied in step 2, and click Continue.
The connection has been established.
See setting up Refiner webhooks to add webhooks to your Refiner account.
Watch Completed Survey¶
Triggers when a survey is completed.
|Enter a name for the webhook.
Watch User Entered Segment¶
Triggers when a user has entered the segment.
|Enter a name for the webhook.
Identify a User¶
Creates a new user in Refiner or updates an already existing user.
|Select or map the User ID you want to identify.When you identify a user for the first time, a new
contact will be created in Refiner. All subsequent calls with the same user ID will update their attributes.
|Enter (map) the additional fields and the values of the user you want to identify. For example, the user's
Track an Event¶
Tracks events performed by users.
|Select or map the User ID whose event you want to track.
|Enter (map) the event name you want to track.
Make an API Call¶
Performs an arbitrary authorized API call.
Enter a path relative to
For the list of available endpoints, refer to the Refiner API Documentation.
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.
Enter the desired request headers. You don't have to add authorization headers; we already did that for you.
Enter the request query string.
Enter the body content for your API call.
Example of Use - List Responses¶
The following API call returns all the responses from your Refiner account:
Matches of the search can be found in the module's Output under Bundle > Body > items. In our example, 8 responses were returned:
Lists all contacts.
|Select or map the order in which you want to list the contacts. For example,
|Select or map the UUI ID to list the contacts associated with a specified survey.
|Select or map the Segment ID to list the responses of the contacts that match the specified segment.
|Set the maximum number of users Ibexa Connect should return during one execution cycle.
Setting Up Refiner Webhooks¶
1. In the Ibexa Connect account, open any Watch module, enter a name for the webhook, click Save, and copy the URL address to your clipboard.
2. Click OK and save the trigger.
3. Log in to your Refiner account. Click Integrations () > Webhook.
4. Enter the details as follows and click Save Webhook:
|Enter (map) a name for the webhook.
|Select the events for which you want to receive the triggers.
|Enter (map) the URL address copied in step 1.
|The Refiner can add a secret Auth-Token to secure your webhooks if you like. Your token will be added as a Bearer Token in the HTTP Auth Header.
You have successfully added the webhook.