Sequence Enrollments
The Sequence Enrollments API provides a simple interface to start and manage leads sequences. This automation is available only if you have bought our Reach product. The API allows you to
start a sequence for lead: create sequence enrollment for a given lead
stop the sequence for a lead: update the enrollment with status
finished
resume blocked sequence for a lead: update the enrollment with status
active
retrieve sequence enrollment by id
Sequence Enrollment consists of steps that are saved from the sequence when it is started for given resource (e.g. lead) and are not changed when sequence is changed.
Those steps explains what is the current progress of sequence, which steps have been completed, which are still pending as well as what is the planned execution timeline for the particular resource.
Each Step can be either an automated_email
or a task
and contains some specific attributes per type.
EnrollmentStep properties
Attribute | Description |
---|---|
position number readonly |
Zero-based step’s position in sequence for this enrollment |
delay_from_previous_step number readonly |
Time that should pass in between execution of this and previous step |
delay_from_previous_step_unit string readonly |
Unit of the time that should pass in between execution of this and previous step Possible values
|
overdue boolean readonly |
Indicates whether the step is delayed in execution. It might be because email was not sent on time or task was not completed by user on time |
action_type string readonly |
Type of the step’s action Possible values
|
action_properties object readonly |
Object containing attributes from sequence that configure this step Properites for automated email:
Properties for task:
|
action object readonly |
EnrollmentStepAction object defined in the table below |
EnrollmentStepAction properties
Attribute | Description |
---|---|
status string readonly |
Step’s action status Statuses for automated email:
Statuses for task:
|
executed_at string readonly |
Date and time when the action was executed |
estimated_execute_at string readonly |
Date and time when the action was scheduled to be executed |
failure_reason string readonly optional |
Possible values
|
task_content string readonly optional |
Task content, present only for action of type: task |
task_id number readonly optional |
Task identifier, present only for action of type: task after the task was already created (statuses: in_progress , completed ). |