Cannot activate workflows when an sms message is recieved

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samis
    Junior Member
    • Jul 2025
    • 5

    #1

    Cannot activate workflows when an sms message is recieved

    I created 2 workflows for opt in and opt out that should activate when a message containing the words "START" or "STOP" is received, but I cannot get this to work. The condition always comes back as false. I tried to make a simple workflow that will send a text message back to a phone number in general, but still no luck. This is the error message I get when I try to activate the workflow:

    [2025-08-15 15:13:08] INFO: Message received: 1755270787917gm5rlhrawdaxi2jx
    [2025-08-15 15:13:08] DEBUG: WorkflowManager: Start workflow [afterRecordCreated] for [Sms, 689f4e84e1b4db4a1].
    [2025-08-15 15:13:08] DEBUG: Start workflow rule [689e4f255216a07ab].
    [2025-08-15 15:13:08] DEBUG: Condition result [1] for workflow rule [689e4f255216a07ab].
    [2025-08-15 15:13:08] DEBUG: Start actions for workflow rule [689e4f255216a07ab].
    [2025-08-15 15:13:08] DEBUG: Workflow 689e4f255216a07ab: Start actions.
    [2025-08-15 15:13:08] DEBUG: Workflow 689e4f255216a07ab, executeFormula, Start, cid 0, Sms 689f4e84e1b4db4a1
    [2025-08-15 15:13:08] NOTICE: E_USER_DEPRECATED: Accessing related records with Entity::get is deprecated. Use `$entityManager->getRelation(...)->find()`.
    [2025-08-15 15:13:08] DEBUG: WorkflowManager: Start workflow [afterRecordCreated] for [Sms, 689f4e84e99f8c7c3].
    [2025-08-15 15:13:08] DEBUG: Start workflow rule [689e4f255216a07ab].
    [2025-08-15 15:13:08] DEBUG: Condition result [0] for workflow rule [689e4f255216a07ab].
    [2025-08-15 15:13:08] DEBUG: End workflow rule [689e4f255216a07ab].
    [2025-08-15 15:13:08] DEBUG: End workflow [afterRecordCreated] for [Sms, 689f4e84e99f8c7c3].
    [2025-08-15 15:13:08] DEBUG: Webhook: Sms.create on record 689f4e84e99f8c7c3.
    [2025-08-15 15:13:08] ERROR: Formula function: ext\sms\send, Error while sending SMS. Message: No recipient phone number..
    [2025-08-15 15:13:08] DEBUG: Webhook: Sms.update on record 689f4e84e99f8c7c3.
    [2025-08-15 15:13:08] DEBUG: Workflow 689e4f255216a07ab, executeFormula, End, cid 0, Sms 689f4e84e1b4db4a1
    [2025-08-15 15:13:08] DEBUG: Workflow 689e4f255216a07ab: End actions.
    [2025-08-15 15:13:08] DEBUG: End running actions for workflow rule [689e4f255216a07ab].
    [2025-08-15 15:13:08] DEBUG: End workflow rule [689e4f255216a07ab].
    [2025-08-15 15:13:08] DEBUG: End workflow [afterRecordCreated] for [Sms, 689f4e84e1b4db4a1].
    [2025-08-15 15:13:08] DEBUG: Webhook: Sms.create on record 689f4e84e1b4db4a1.
    Attached Files
Working...