TriggerConfig
What starts a run of the journey for a contact.
Properties
- Name
type- Type
- enum
contact_created: a contact is created.contact_updated: a contact changes.event: an event is recorded for a contact, including conversations starting and ending.instagram_comment: someone comments on Instagram media ofinboxId.One of: contact_created, contact_updated, event, instagram_comment- Name
inboxId- Type
- string
Instagram inbox to watch. Required forinstagram_commentand used only by it.- Name
mediaTypes- Type
- array<enum>
Instagram media types to watch. Omit to watch posts, reels and stories.- Name
mediaSelection- Type
- enum
all(the default) watches every matching media;specificwatches onlymediaIds.One of: all, specific- Name
mediaIds- Type
- array<string>
Instagram media to watch. Required whenmediaSelectionisspecific, and not allowed otherwise.- Name
conditions- Type
- object
Filters forcontact_updatedandeventtriggers.instagram_commentdoesn't accept them.
Used by
- GETList journeys/journeys
- POSTCreate journey/journeys
- GETGet journey/journeys/{id}
- PATCHUpdate journey/journeys/{id}
- POSTPublish journey/journeys/{id}:publish
- POSTActivate journey/journeys/{id}:activate
- POSTPause journey/journeys/{id}:pause
- GETList journey versions/journeys/{id}/versions
- GETGet journey version/journeys/versions/{versionId}