1. Tasks
  2. Create Stub

Tasks

Create Stub

Creates a stub.

The task attaches an add_event sendaction that will reply to the stubpost with the new stub's stubref.

Basic usage

loading...

Parameters

templateuuid

required
string

The uuid of the template of which a stub will be created.


template_branch

required
string

The branch of the template of which a stub will be created.


template_context

required
string

The context of the template of which a stub will be created.


subject

string

Sets the subject of the new stub.

Default: stub created by task


data

object

Data that will be merged into the new stub's stub.data.


copy_contact_lists

boolean

If set to true, the new stub will contain the contact lists of the stub it was created from.

Result

loading...

Properties

stubref

string

The stubref of the newly created stub.


sendActionsList

array

The _add_event action that has been attached by the task.

Examples

Create a stub with data

Creates a stub of the current flow with additional starting data.

loading...