Connectors / Service / Close

Artisan IMG > Close (close)

Close

Close is an all-in-one CRM that includes calling, email automation, predictive dialers, and more.

Overview

Close is a powerful all-in-one customer relationship management service which offers a fleet of services including calling, email automation, predictive dialers, and more. It is a powerful set of tools to support and strengthen your sales teams.

Authentication

Add a Close connector step to your workflow. Click on the 'New Authentication' option now available in the right hand panel and name as appropriate.

add-auth

In order to fully authenticate with Tray.io and Close, you will need a Close 'API Key' which can be accessed by following the steps displayed below:

  1. Log into your Close account and select 'Settings' on the side panel.

select-settings
  1. Select 'API Keys' from the Integrations section of the interior side panel.

select-api-key
  1. Click the '+ New API Key' button.

click-new-api-key
  1. Give your API Key a name and click 'Create API Key'.

name-your-api-key
  1. Click the copy to clipboard button. It's worth noting that the API Key will not be displayed again. Make sure to store it safely.

copy-key-to-clipboard
  1. Paste the API Key into the Api key section of your new authentication and click the 'Add authentication' button.

paste-key-in-auth
  1. You have now successfully authenticated your Close account in the Tray platform.

Available Operations

The examples below show one or two of the available connector operations in use.

Please see the Full Operations Reference at the end of this page for details on all available operations for this connector.

Example usage - Listing contacts, Looping through the list and Getting each contact

Create a new workflow with a Manual Trigger, a Close connector, a Loop Collection and a second Close connector.

create-workflow

Select the Close connector, authenticate as above and choose the List contacts operation.

select-list-contacts

If you were to run the finished workflow, the log from a successful output would show that this operation returns a data array containing the contacts objects.

check-data-array

Then set the Loop Collection connector to Loop List and enter $.steps.close-1.data as the List in order to grab the above contacts one-by-one.

set-loop-connector

You will note from the output from List contacts that each contact object has an id output field. You can then, for each contact that is fed by the loop, grab the id and pass it into the second Close connector.

set-get-contact

The Get contact operation is chosen and $.steps.loop-1.value.id gets the id of the contact from the Loop connector to enter it as the Contact to pull the contact from Close.

Once the workflow is set up, click 'Run Workflow' and then click on the 'Debug' tab to look through all the inputs and outputs of a successful run of the workflow.

complete-workflow

In real life situations, you will likely be dealing with large numbers of records - dozens, hundreds or thousands. In this case you should make use of pagination tokens returned by the operation, and build a more complex loop as described in our pagination documentation.

All Operations

Latest version:

1.0

List contact names DDL

Lists contact names from your organisation

List user names DDL

Lists user names from your organisation

Get user

Fetch a single user

Update lead

Update an existing lead

Get lead

Retrieve a single lead

List lead names DDL

Lists lead names from your organisation

List lead contact names DDL

Lists lead specific contact names

Delete contact

Delete a contact

List users

List all the users who are members of the same organizations as you are.

List types DDL

List types for phones, emails and URLs

Create lead

Create a new lead - be aware that sending a blank request will create a blank lead

Create contact

Create a new contact

Delete lead

Delete a lead

List contacts

List contacts

Get contact

Fetch a single contact

Update contact

Update an existing contact

List leads

List leads

List lead statuses DDL

List lead statuses for your organization

Merge leads

Merge two leads - be aware the source lead will be deleted after it's merged into the destination lead. If conflicts exist the data from the destination lead will be kept and the data from the source lead will be discarded