SEP 02, 2024 | Activity Sync enhancements

Alex Pribula
Alex Pribula
  • Updated

This release includes the following features and improvements. 

Release 20240902

actvity sync.png

 

 

Activity Sync

  • Activity Sync is a way to stream everything that happens in Pendula to another source.
  • Events now include workflowContext
    • Includes the flow and experience the event relates to
  • Message events have been updated to include more information:
Old queued event (SMS) Updated queued event (SMS)
{
"messageId": "1d8e4e9c-69d8-4cd1-83fe-c13ef6870cfd",
"payload": {
"sender": "0000000000",
"recipient": "+61412345678",
"body": "Thanks for signing up, John.",
"kind": "sms"
},
"timestamp": "2024-08-28T13:38:46.210055990Z",
"workflowContext": {...},
"customContext": {},
"kind": "queued"
}
{
"messageId": "1d8e4e9c-69d8-4cd1-83fe-c13ef6870cfd",
"payload": {
"sender": "0000000000",
"recipient": "+61412345678",
"body": "Thanks for signing up, John.",
"segmentCount": 1,
"kind": "sms"
},
"timestamp": "2024-08-28T13:38:46.210055990Z",
"workflowContext": {...},
"customContext": {},
"kind": "queued"
}
Old queued event (email) Updated queued event (email)
{
"messageId": "3064433f-d939-4df9-b49b-a2fa2573bce2",
"payload": {
"sender": "me@appleseed.com",
"recipient": "john.smith@bananas.com",
"subject": "Thanks for registering with us.",
"body": "<hmtl>\n <body>\n Hello world!\n </body>\n</hmtl>",
"replyTo": "me@appleseed.com",
"kind": "email"
},
"timestamp": "2024-08-29T01:18:25.532229654Z",
"workflowContext": {},
"customContext": {},
"kind": "queued"
}
{
"messageId": "3064433f-d939-4df9-b49b-a2fa2573bce2",
"payload": {
"sender": "me@appleseed.com",
"recipient": "john.smith@bananas.com",
"subject": "Thanks for registering with us.",
"body": "<hmtl>\n <body>\n Hello world!\n </body>\n</hmtl>",
"plainTextBody": "\n \n Hello world!\n \n",
"replyTo": "me@appleseed.com",
"attachments": [
{ "filename": "welcomepack.pdf" },
{ "filename": "file2.png" }
],

"kind": "email"
},
"timestamp": "2024-08-29T01:18:25.532229654Z",
"workflowContext": {},
"customContext": {},
"kind": "queued"
}
Old inbound-matched-intent event (SMS) Updated inbound-matched-intent event (SMS)
{
"messageId": "d3703474-8c92-4ee8-acf0-5353407bbc71",
"matchedIntentKey": "optin",
"fromNumber": "+61412345678",
"timestamp": "2024-09-03T03:48:49.187411Z",
"workflowContext": {...},
"flowId": "7d39b190-71fd-4295-9a48-1285f083de95",
"customContext": {},
"kind": "inbound-matched-intent"
}
{
"messageId": "d3703474-8c92-4ee8-acf0-5353407bbc71",
"parentMessageId": "1d8e4e9c-69d8-4cd1-83fe-c13ef6870cfd",
"matchedIntentKey": "optin",
"matchedType": "Rule Match (Trigger)",
"matchedPart": "opt-in",
"body": "I'd like to opt-in",
"fromNumber": "+61412345678",
"timestamp": "2024-09-03T03:48:49.187411Z",
"workflowContext": {...},
"flowId": "7d39b190-71fd-4295-9a48-1285f083de95",
"customContext": {},
"kind": "inbound-matched-intent"
}

Improvements

  • The Outcomes tab on each node has been made more responsive
  • When duplicating a flow with a Webhook trigger the POST URL is now regenerated