I am trying to set up workflows to send SMS messages but nothing I have tried so far seems to work. I set up this action workflow to send an sms message to a new lead whenever one is created, but nothing actually gets sent in practice. How can I fix this? Also, the message does appear in the table in the Sms page, but it still shows as status: sending. The "To" and "To Phone Numbers" appears as blank for both successful and non-successful SMS messages, and that is something else I have to find a fix for.
Whenever I try activating the workflow, this is the log I get for it:
[2025-08-08 16:57:59] DEBUG: WorkflowManager: Start workflow [afterRecordCreated] for [Lead, 68962c97ab7d80aef].
[2025-08-08 16:57:59] DEBUG: Start workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: Condition result [1] for workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: Start actions for workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: Workflow 6894fecf2e9bddb64: Start actions.
[2025-08-08 16:57:59] DEBUG: Workflow 6894fecf2e9bddb64, createEntity, Start, cid 1, Lead 68962c97ab7d80aef
[2025-08-08 16:57:59] DEBUG: Webhook: Sms.create on record 68962c97ba32b833d.
[2025-08-08 16:57:59] DEBUG: Workflow 6894fecf2e9bddb64, createEntity, End, cid 1, Lead 68962c97ab7d80aef
[2025-08-08 16:57:59] DEBUG: Workflow 6894fecf2e9bddb64: End actions.
[2025-08-08 16:57:59] DEBUG: End running actions for workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: End workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: End workflow [afterRecordCreated] for [Lead, 68962c97ab7d80aef].
[2025-08-08 16:58:06] DEBUG: Webhook Queue: Webhook '686ec03e9497bc9a2' sent, response code: 401.
[2025-08-08 16:58:06] DEBUG: BPM: processPendingFlows (all)
[2025-08-08 16:58:06] DEBUG: BPM: processTriggeredSignals
[2025-08-08 16:58:06] DEBUG: Webhook Queue: Webhook '68700da114e0d1a8b' sent, response code: 401.
Whenever I try activating the workflow, this is the log I get for it:
[2025-08-08 16:57:59] DEBUG: WorkflowManager: Start workflow [afterRecordCreated] for [Lead, 68962c97ab7d80aef].
[2025-08-08 16:57:59] DEBUG: Start workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: Condition result [1] for workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: Start actions for workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: Workflow 6894fecf2e9bddb64: Start actions.
[2025-08-08 16:57:59] DEBUG: Workflow 6894fecf2e9bddb64, createEntity, Start, cid 1, Lead 68962c97ab7d80aef
[2025-08-08 16:57:59] DEBUG: Webhook: Sms.create on record 68962c97ba32b833d.
[2025-08-08 16:57:59] DEBUG: Workflow 6894fecf2e9bddb64, createEntity, End, cid 1, Lead 68962c97ab7d80aef
[2025-08-08 16:57:59] DEBUG: Workflow 6894fecf2e9bddb64: End actions.
[2025-08-08 16:57:59] DEBUG: End running actions for workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: End workflow rule [6894fecf2e9bddb64].
[2025-08-08 16:57:59] DEBUG: End workflow [afterRecordCreated] for [Lead, 68962c97ab7d80aef].
[2025-08-08 16:58:06] DEBUG: Webhook Queue: Webhook '686ec03e9497bc9a2' sent, response code: 401.
[2025-08-08 16:58:06] DEBUG: BPM: processPendingFlows (all)
[2025-08-08 16:58:06] DEBUG: BPM: processTriggeredSignals
[2025-08-08 16:58:06] DEBUG: Webhook Queue: Webhook '68700da114e0d1a8b' sent, response code: 401.