Skip to content

Connectors

Connectors connect the form to your data and systems. A connector can fill fields with data when the transaction is created or while the recipient fills in the form, and can send the form’s data and files to your systems when the form is submitted.

Each connector uses an integration that is already set up in the project, such as a data table, a webhook or a Salesforce connection. See What you set up where.

To see the connectors, open the template, click the Integrations tab, and click Connectors on the right.

The Connectors section with the PRESET, LIVE, SUBMIT and POST SUBMIT cards and their Add buttons

The connectors are grouped by the stage of the transaction at which they run:

Stage When the connector runs Sources you can add
PRESET When the transaction is created. In a template with several recipients, only when the first recipient’s form is created (see PRESET connectors and several recipients). Data Table, Webhook, Salesforce
LIVE While the recipient fills in the form, when a field changes or a button is clicked. Webhooks of the logged-in and form-loaded types run when the recipient opens the form. Data Table, Webhook, Salesforce, Maps
SUBMIT When the recipient submits the form. Webhooks of the session expired and session deleted types run when the transaction expires or is deleted. Webhook, Salesforce, File Storage
POST SUBMIT After the form is submitted. No sources are offered for this stage at present.
  • The Source list shows only the kinds of integration that exist in the project for the stage. Data Table needs data tables in your organization’s plan, and Maps needs maps in your plan.
  • Data Table, Webhook, Salesforce and File Storage connectors run only when that kind of integration is included in your organization’s plan.
  • A transaction gets the template’s active connectors when it is created. A connector that you add or turn on later runs only for transactions created after you save the template.

In a template with recipients (Turn workflow on in Workflow), the recipients fill in the same form one after another. The PRESET connectors run once, when the form of the first recipient is created:

  • The first recipient’s form opens with the values the connectors filled in.
  • The next recipients continue the same form. They see the values as the previous recipients left them, including the values a previous recipient changed. The PRESET connectors don’t run again, so they don’t overwrite those changes.
  • This applies when the process is started through API v3 (POST /api/v3/{project_name}/workflow/, also with wait_for_first_session: false) and from a BPMN workflow. A single form started through API v3 (/session/) runs the PRESET connectors when it is created, as before.

For example, a PRESET Data Table connector fills an image and a label from the row whose key matches the form’s key field. The first recipient gets the image of key 250. If the first recipient changes the key to 300 and submits, the second recipient sees key 300 with the image of key 250. To fill fields again when a value changes, use a LIVE connector that is triggered by that field.

If the connector finds no row and Case no match is Skip (see What happens on query result), the first form opens without these values and the process continues.

  1. In the card of the stage, click Add Preset Connector, Add Live Connector or Add Submit Connector. The dialog of the stage opens, for example LIVE Connector.
  2. Optionally, enter a Description.
  3. Select the Source and the Reference. When there is only one option, it’s selected for you.
  4. For a Salesforce connector in SUBMIT, select the Operation.
  5. Fill in the settings of the source. See the page of each source:
  6. Click Save. If the source, the reference or the operation is missing, or a required setting of a Webhook, Salesforce or Maps connector, a message tells you what to fix, for example “Reference is required”.
  7. Save the template.

To edit a connector, click its pencil icon (Edit connector). To delete it, click its trash icon, and then click Delete next to “Are you sure you want to delete this connector?”. Then save the template.

These settings are at the top of every connector:

Setting What it does
Status The switch next to the title. On by default. Turn it off to keep the connector without running it.
Description Your description, shown under the connector in the list.
Source The kind of integration: Data Table, Webhook, Salesforce, File Storage or Maps. Required (“Source is required”). Changing the source clears the reference and the source’s settings.
Reference The integration to use, from the project, by its name. Required (“Reference is required”).
Operation Shown for Data Table and Salesforce. In PRESET and LIVE, it’s always Lookup (“Auto-set to Lookup for this stage”). In SUBMIT, select Create, Delete, Update or Upload files (“Operation is required”). Changing the operation clears the field mapping.

In the LIVE stage, select when the connector runs, under Triggers: How the connector is activated:

Setting What to select
Trigger request on Button Click or Field Change. Only the options for which the template has suitable fields are listed.
Trigger Field The field that starts the connector. For Button Click, a Button or Table field: the connector runs when the recipient clicks the button or a row of the table. For Field Change, a Text, Number, Email, Telephone, List Of Values, Checkbox or Radio field. Required.

When there is only one option, it’s selected for you. A LIVE Data Table, Webhook or Salesforce connector without a trigger field doesn’t run.

A connector that looks up records (Data Table, and Salesforce for every operation except Create) has a What happens on query result section. For each case, select what Cellosign does:

Case Options
Case no match Skip, Stop execution, add log error
Case match one record Skip, Select record, Stop execution, add log error
Case more than one record Skip, Select first record, Select last record, Select multiple records (Salesforce and Data Table, in PRESET and LIVE), Stop execution, add log error
Option Meaning
Skip Do nothing. The fields are not filled, and nothing is written.
Select record, Select first record, Select last record Use this record.
Select multiple records Use all the records that were found, for example to fill the rows of a Table field.
Stop execution, add log error Stop and report an error. Enter the error text in Custom error message.

Select an option for every case (“Choose a policy for every result case”).

When a connector stops, or when the lookup itself fails, for example because the data source can’t be reached:

Stage What happens
PRESET The transaction isn’t created. Whoever creates it, for example an API request or a process, gets the error, with your Custom error message.
LIVE The fields aren’t filled.
SUBMIT The call fails and Cellosign tries again later. See Errors and retries.

In the SUBMIT stage, the File Storage source saves the files of the submitted form to the selected storage integration. Select the storage in Reference. There are no other settings. What is saved, and when, is set in the storage integration. See Storage.

Each stage shows its connectors, numbered in order. For each connector you see the description of its integration (for a webhook, its type and address), its UUID and the integration’s name, and your own description, if you entered one.

The plug icon shows the connector’s state:

Icon Meaning
Green The connector is active.
Gray The connector’s Status is off. It doesn’t run.
Orange, with red text The connector has no integration, or its integration is no longer available in the project (“Connector not available”). See Fix a connector.

Connectors marked IMPLICIT are project integrations that run for every template of the project: webhooks with Use implicit turned on, and storage integrations with Use implicit turned on. They are listed first in their stage. You can’t edit or delete them here. To change them, edit the integration in the project. See Webhooks and Storage.

When a connector’s integration was deleted from the project, or isn’t available for the stage any more, the connector shows Connector not available. This also happens after you import the template into another project or environment.

  1. Click the connector’s pencil icon. Fix Connector Source opens.
  2. Select the Source and the Reference to use instead.
  3. Click Save, and then save the template.

The connector keeps its other settings, so select the same kind of source, and then open the connector to check its settings.

A webhook connector also shows Connector not available when Use implicit is turned on for its webhook: the webhook is then listed as an implicit connector and runs for every transaction. Delete the connector.