Inbox Message Status Webhook Events
Overview
Welkin automations can now trigger webhook actions when the delivery status of an outbound SMS or email message is updated by the carrier or email provider. This lets you notify external systems — billing platforms, CRMs, or monitoring tools — in real time when a message is delivered, failed, or encounters an error.
Trigger Event Subtypes
Two new event subtypes are available when configuring an automation with an Inbox Message entity:
INBOX_SMS_STATUS_MESSAGE_UPDATED
Fires when the delivery status of an outbound SMS message changes (e.g., delivered, failed)
INBOX_EMAIL_STATUS_MESSAGE_UPDATED
Fires when the delivery status of an outbound email message changes
To use these, create or edit an automation in Designer:
Set Trigger Type to Event
Set Event Entity to Inbox Message
Set Event Subtype to
INBOX_SMS_STATUS_MESSAGE_UPDATEDorINBOX_EMAIL_STATUS_MESSAGE_UPDATEDAdd a Webhook action and select your configured webhook
Webhook Payload Fields
When a webhook action fires in response to one of these events, the outbound payload automatically includes three additional predefined fields alongside the standard fields (patientId, tenantName, instanceName, eventEntity, eventSubtype, etc.):
messageId
UUID
The unique identifier of the inbox message whose status changed
messageStatus
string
The delivery status reported by the carrier or email provider (e.g., DELIVERED, FAILED)
errorCode
string
The error code returned by the provider when delivery failed (e.g., 30007). Omitted when delivery succeeded
Example payload (SMS failure)
Example payload (email delivery)
Custom Field Name Conflicts
If your webhook payload configuration includes a custom field whose name matches one of the predefined field names above (for example, a custom field named messageStatus), the custom value takes precedence. The predefined value is used only when no custom field with the same name is present.
Related Topics
Automations — creating and managing automations in Designer
Communication Center — inbox and messaging in the Care Portal
Webhook Configuration — setting up webhook endpoints in Admin
Last updated
Was this helpful?