Skip to content

The field change webhook (type Get data from remote source) calls your endpoint while a client fills in a form, and fills form fields with the values your endpoint returns. Use it to look up or check data that isn’t in the form up front, for example: the client enters a customer number, and your CRM returns the customer’s name, phone number and branch.

Cellosign’s server calls your endpoint, not the client’s browser, so your endpoint must be reachable from Cellosign. Only the fields you map are sent, together with details of the form and the client.

  1. You create a webhook of type Get data from remote source in the project.
  2. In a template, you add a LIVE connector that uses the webhook. The connector sets which field or button triggers the call, which form fields are sent, and, optionally, how the returned values are mapped to fields.
  3. When the client changes the trigger field or clicks the trigger button, the form shows a “Please wait” overlay, and Cellosign posts the request to your endpoint.
  4. Your endpoint answers with a list of field IDs and values (see Response). Cellosign writes the values into the form, and the form shows them.
  1. On the Integrations page, click Add in the WebHook card, and select the type Get data from remote source. Enter the URL of your endpoint and the other settings; see Webhooks for the settings all webhooks share. Use implicit makes no difference for this type: the webhook is called only by a LIVE connector of a template.
  2. Open the template, click the Integrations tab, click Connectors, and then click Add Live Connector.
  3. In Source, select Webhook. In Reference, select your webhook by its alias.
  4. In Trigger request on, select Field Change or Button Click, and select the Trigger Field. See When the webhook is called.
  5. Under Outgoing (Request), click Add Mapping for each field whose value your endpoint needs, and select it in Form Field. In Alias, you can enter the name your endpoint expects; when it’s empty, the field ID is sent.
  6. Optionally, turn on Use Response Mapping under Incoming (Response) to fill fields whose IDs differ from the keys your endpoint returns. See Response mapping.
  7. Click Save, and then save the template.

The settings of the connector dialog are described in Webhook connector.

Trigger request on Trigger Field can be The webhook is called
Field Change A text, number, email or phone field When the client leaves the field after changing its value.
Field Change A list (select), radio or checkbox field As soon as the client changes the value.
Button Click A button When the client clicks the button.
Button Click A table When the client clicks a row of the table.
  • The webhook works in classic forms and in Formular forms (the React or jQuery form frontend), in HTML and PDF templates, and on the agent screen. Where the frontends differ, it’s noted below.
  • If several LIVE connectors use the same trigger field, Cellosign calls all of them at the same time.
  • Values that the webhook writes into the form don’t trigger connectors again.
  • Each call is sent once. Cellosign doesn’t retry a failed call.

Cellosign sends a POST to the webhook’s URL, with the Headers and Authentication of the webhook. The body is JSON (or XML, if the webhook’s Content-type is application/xml).

Element What it holds
event.type Always WHEF_FORM_FIELD_CHANGED.
event.timestamp When the call was made: an ISO 8601 date and time in Israel time, without a time zone offset.
client.ip, client.user_agent The IP address and the browser of the client.
client.device mobile, tablet, desktop or unknown, from the browser.
session.id The ID of the form, the code in its link.
session.reference The reference of the business process: the reference given when the form was created, or one that Cellosign generated.
session.process_id, session.process_number The ID and number of the workflow process. null for a form outside a workflow.
session.transaction_number The number of the transaction, as shown in Manager Studio.
session.recipient The recipient who is filling in the form: id (the recipient’s number in the template), name (the recipient’s role, for example client) and identity (the recipient’s identity, or null).
session.labels The labels of the form, as key/value pairs.
change The field that triggered the call: id, type and value (the new value). For a button, value carries no data. For a table, value holds the cells of the clicked row.
fields One entry for each row of Outgoing (Request), in the same order: id (the Alias, or the field ID when no alias is set), type (the field type, for example text, number, select, checkbox, date) and value.

The trigger field is in fields only if you added it to Outgoing (Request). Its alias is then used in change.id too.

In Formular forms, map only fields of these types: text, text area, email, phone, number, date, list (select), radio, checkbox, table, paragraph and button. If the mapping includes another type, such as a signature, a file or a location field, the call is refused and your endpoint isn’t called.

Values are sent as text, as the client sees them: a checkbox as "true" or "false", a list or radio field as the value of the selected option, a date as displayed in the field. Text values are trimmed.

The trigger is the text field CustomerNumber, sent with the alias customer_id, and the number field LoanAmount is sent too:

{
"event": {
"type": "WHEF_FORM_FIELD_CHANGED",
"timestamp": "2026-11-25T10:42:17.318204"
},
"client": {
"ip": "203.0.113.24",
"user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_1 like Mac OS X)",
"device": "mobile"
},
"session": {
"id": "Qx7Lm2Pa9T",
"reference": "3f0c2a8e-5b1d-4c7e-9a64-0d2b7e9c1f55",
"process_id": "3f0c2a8e-5b1d-4c7e-9a64-0d2b7e9c1f55",
"process_number": 412,
"transaction_number": 1873,
"recipient": {
"id": 1,
"name": "client",
"identity": "TW-100245"
},
"labels": {
"BRANCH": "North"
}
},
"change": {
"id": "customer_id",
"type": "text",
"value": "TW-100245"
},
"fields": [
{"id": "customer_id", "type": "text", "value": "TW-100245"},
{"id": "LoanAmount", "type": "number", "value": "250000"}
]
}

Return HTTP 200 with a JSON object that has a data array. Each entry names a field and the value to write into it:

{
"data": [
{"id": "FullName", "value": "Noa Sample"},
{"id": "Phone", "value": "050-0000000"},
{"id": "Branch", "value": "North"}
]
}
Property Rules
data Required. An array; send [] to change nothing.
data[].id Required. The ID of a field in the template, or, with Response mapping, one of its aliases. An entry whose id matches nothing is ignored.
data[].value Required. A string, a number or null. "" or null clears the field. true, false, arrays and objects make the whole response invalid.
data[].type Optional. Cellosign doesn’t use it.

Return each value in the format the field uses: "true" or "false" for a checkbox, the value of an option for a list or radio field, a date as the field displays it. For a table, return the rows as a JSON string of an array of rows, each row an array of cell texts in column order, for example "[[\"A-100\",\"Open\"],[\"A-101\",\"Closed\"]]".

The response can only set field values. It can’t change the options of a list, show your own message to the client, or stop the client from continuing.

If the webhook’s Accept is XML, return the same structure inside a <result> element.

Cellosign matches each id in the response to a form field before it writes the value. How it matches depends on Use Response Mapping in the connector.

Each id must be the ID of a form field. The value is written to that field; any other id is ignored.

Aliases from Outgoing (Request) are not mapped back. If you send CustomerNumber as customer_id and your endpoint returns customer_id, no field is filled. Return CustomerNumber, or map customer_id with Response Mapping.

Add a row for each key your endpoint returns: the key in Alias, and the field to fill in Form Control. Cellosign then matches each id in this order:

  1. Alias: if the id is an alias in the Response Mapping, the value is written to every field mapped from it.
  2. Field ID: otherwise, if the id is the ID of a form field, the value is written to that field.
  3. Otherwise the entry is ignored.
  • One alias can fill several fields: add a row for each field with the same alias.
  • Each field can be filled by one row only. A field that is already selected in another row is greyed out in Form Control.
  • An alias takes precedence over a field with the same ID. If X is mapped to Y, a returned X fills Y only, not the field X. To fill both, also add the row X → X.
  • Don’t return both a mapped alias and the ID of one of its fields: only the first of them in data is used.
  • If a mapped field is later removed from the template, its rows are skipped.

For example, with the rows customer_name → FullName and customer_name → SignerName, the response {"data": [{"id": "customer_name", "value": "Noa Sample"}]} fills both fields.

Response Mapping is off by default, and connectors created before it existed work as before.

  • Cellosign waits for your answer for the webhook’s Timeout (30 seconds by default).
  • The form shows the “Please wait” overlay while it waits: a React form for up to 60 seconds, a classic or jQuery form for up to 20 seconds. Answer within a few seconds, and set the Timeout lower than the time the form waits.
  • These make the call fail: a timeout or a connection error, any status other than 200, a body that isn’t valid JSON (or XML), a body without a valid data array, or a body with an error property, for example {"error": "Customer not found"}.

When a call fails, no field changes. In a classic or jQuery form, the client sees the message “An error occurred while loading data, please try again or contact a representative” (in the form’s language). In a React form, the overlay closes without a message. Your error text is never shown to the client.

  1. Save the webhook, open it again on the Integrations page, and click Test. Cellosign sends the Request body example to your URL.
  2. Check the result: Check Result Content shows your response, and Check Result Parsed Data shows the data array as Cellosign read it, or null if the response isn’t valid. “Webhook test successful” only means that your endpoint answered with a 2xx status.
  3. Then test with a form: create a test transaction of the template, change the trigger field, and check that the fields are filled.