Skip to content

InteractionMessageStartConfig

An automation action ($type is interaction-message) that posts a message into a running interaction, for example to wake it or move it on when something happens. It starts no new run.

Kind: an object, used in requests and responses. In a request it is called InteractionMessageStartConfigInput.

FieldTypeRequiredDescription
interactionProcessIduuid | nullThe id of the interaction run to post to. Give this or interactionProcessIdFromEvent.
interactionProcessIdFromEventstring | nullA JSONPath expression that picks the interaction run’s id out of the change that fired a message trigger, such as $.item.id. Give this or interactionProcessId. It cannot be used with a manual trigger.
messagestringyesThe message to post. Constraints: required (empty or whitespace-only strings are rejected).
senderTypestringThe author name the message is recorded under. System by default.
versionVersionReference| nullThe app, interaction or capsule to start, and the version of it. Required for those three; left out for codepipeline (named by name) and interaction-message (which names a run).
{
"interactionProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"interactionProcessIdFromEvent": "...",
"message": "...",
"senderType": "...",
"version": {
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"version": 0
}
}

Every field is present in a response; empty ones are null.

FieldTypeDescription
interactionProcessIduuid | nullThe id of the interaction run to post to. Give this or interactionProcessIdFromEvent.
interactionProcessIdFromEventstring | nullA JSONPath expression that picks the interaction run’s id out of the change that fired a message trigger, such as $.item.id. Give this or interactionProcessId. It cannot be used with a manual trigger.
messagestringThe message to post. Constraints: required (empty or whitespace-only strings are rejected).
senderTypestringThe author name the message is recorded under. System by default.
versionVersionReference| nullThe app, interaction or capsule to start, and the version of it. Required for those three; left out for codepipeline (named by name) and interaction-message (which names a run).
{
"interactionProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"interactionProcessIdFromEvent": "...",
"message": "...",
"senderType": "...",
"version": {
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"version": 0
}
}