Skip to content

Contacts and segments

A contact is one phone number or SIP identifier plus any data you know about the person; a segment is a named group of contacts that an automation calls as one.

Scenarios read contact data as {{contact.<field>}} variables, for example {{contact.first_name}}. See Variables.

Audience → Contacts lists everyone the account knows: number, segments and when the contact was created. Search by number, filter, or Download the list.

Contacts (real numbers blurred)

  1. Click + Add contact.
  2. Type the Number with its country code, or a SIP identifier. Numbers without + or 00 use the account country. A number the account already holds is refused: edit the existing contact instead.
  3. In Data, type JSON with anything you know, for example {"first_name": "Demo", "order_id": "A-1001"}.
  4. Click Save.

Add contact

The contact page shows the number of calls, its segments, the creation date, the Contact data as key/value rows (+ Add or Edit as JSON) and every call to this number. ⋯ → Delete removes the contact.

Scenarios can update contact data during a call. For example, a support scenario can write contact.complaint_id when it opens a ticket, so the next call already knows it.

Contact page

Audience → Segments lists your segments. All contacts is created automatically, contains everyone in the account and is kept up to date for you.

Segments

  1. Click + New segment, type a name and click Create. You add contacts on the next screen.
  2. Add contacts in either way:
    • Add by hand: type a number, optionally click + data to add parameters (or Edit as JSON), and click Add. Repeat for more numbers.
    • Upload file: choose Phone numbers or SIP identifiers, drop a .csv or .xlsx file up to 20 MB (one column holds the number; the rest become contact data) and click Upload. Turn on File contains local phone numbers and pick the country if numbers lack a country code.
  3. New rows wait in a list marked new or update (the number already exists and its data will be updated). Click Add N to segment to commit them, or Discard.

New segment

Adding contacts by hand: rows waiting to be added

Upload contacts from a file

The segment page lists its contacts with the date each joined. History shows every list added (by hand or by file), with rows added and rows not added. ⋯ offers Rename and Delete; Open full view and Open in Contacts open the same contacts in a larger view.

A segment with two demo contacts

Segment history

LimitDefaultCan be raised by the tenant to
Contacts per account100,000200,000
Data fields per contact30100
Size of one value or array item100 bytes1,000 bytes
Items in one array100500
  • Array items are plain values only (no objects inside arrays).
  • A data field holds one type across all contacts of the account: text, number, true/false, array or object. The first value written decides the type.
  • Setting a value to null removes the field from the contact.
  • A file row with a value that breaks a limit or has the wrong type is not added; the segment’s History shows rows not added.

A number cannot be taken out of a published segment, in the console or through the API. Removing the list that added it keeps its contacts in the segment, and a published row cannot be removed.

You can delete the contact itself (contact page → ⋯ → Delete), but not while a live automation holds the segment, even a stopped or done one. To get the number out:

  1. Archive the automation that holds the segment (cannot be undone).
  2. Delete the contact. This deletes its data too and cannot be undone.
  3. Create a new automation on the segment.

Or build a new segment without that number and call it instead.

Check every number in it. Segments are what automations call: see Automations.