Sequences

Create sequence with steps

Creates a sequence together with its settings, schedule and whole step tree in one request, instead of creating each node separately. Steps in a list run one after another. A condition must be the last step of its list; the steps that follow it go in its branches, keyed by branch name (e.g. "yes", "no"). A branch that is left out or empty ends the sequence on that path. Steps are validated with the same rules as the single node endpoints. If anything is invalid, nothing is created. The schedule works like the schedule endpoint: a day that is left out is disabled, so list every sending day. Without a schedule the sequence sends Monday to Friday 8 to 18. Required follow-up conditions (e.g. "request accepted within days" after a LinkedIn connection request) are not added automatically; include them in the tree.

post/multichannel/workspaces/{workspaceID}/sequences/tree

Request

  • Base URL
    https://multichannel-api.salesforge.ai/public
  • Auth
    API key in header Authorization

Path parameters

workspaceIDstring required

Workspace ID

Request body

object required
OR

Example request

{
  "settings": {
    "taskPriorityPolicy": "new_contacts"
  },
  "steps": [
    {
      "actionId": 3,
      "ref": "intro-email",
      "type": "action",
      "variants": [
        {
          "exposureInPercentage": 100,
          "isEnabled": true,
          "metadata": {
            "message": "Hi, are you the right person to talk to about outbound?",
            "name": "Variant A",
            "subject": "Quick question"
          }
        }
      ],
      "waitInMinutes": 1440
    }
  ],
  "timezone": "America/New_York"
}

Response

Created

Example response

{
  "sequence": {
    "settings": {
      "taskPriorityPolicy": "new_contacts"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.