Automations (developers)


Last Update één jaar geleden

Automations are used to automatically gather feedback and reviews from Contacts. You can create your automations here. If you need help, see our instructions.

Automation object


id string

Unique identifier for the object.

name string

User given automation name

type string

Type of automation. Allowed values: customer, employee

status string

Status of the automation. Allowed values: active, draft

created_at ISO 8601 with timezone

Time automation was created.

updated_at ISO 8601 with timezone

Time of last update performed on the automation object.

Getting automations


Triggering an Automation for a Contact

Automations can have triggers like "Contact added to a list", "Contact answered a survey" or using this endpoint to manually trigger an automation for a Contact.

Body attributes:

email string (required)

Contact email address. Requires a valid email.

field_YOURFIELDNAME string (optional)

Any number of custom fields can be added. Custom fields need to be added to Trustmary before they can be used.



action string

TRIGGER_AUTOMATION is returned if the triggering was successful.

Still need help? Message Us