Resume SendPulse bots when Zendesk handoffs are resolved

Resume WhatsApp automation after Zendesk resolves the matching support ticket while its handoff pause is still in effect.

15 stepsCustomer support

Free to start, no card required.

How it works

  1. When this happens

    Watch resolved support tickets

    Zendesk

  2. Step 1 · Code

    Set the help desk and bot references

  3. Step 2

    Check the ticket reference

    Follows the first path that matches

    • Ticket identified

      1. Step 3 · Zendesk

        Read the current Zendesk ticket

      2. Step 4 · Code

        Match the handoff and pause deadline

      3. Step 5

        Check the handoff ticket

        Follows the first path that matches

        • Resolved linked ticket

          1. Step 6 · SendPulse

            Read the WhatsApp contact

          2. Step 7 · Code

            Confirm who owns the current pause

          3. Step 8

            Check for an active handoff pause

            Follows the first path that matches

            • This ticket still owns the pause

              1. Step 9 · Zendesk

                Recheck the resolved ticket

              2. Step 10 · Code

                Check for ticket updates

              3. Step 11

                Check for a reopened ticket

                Follows the first path that matches

                • Ticket still resolved

                  1. Step 12 · SendPulse

                    Resume the contact’s WhatsApp bot

                  2. Step 13 · SendPulse

                    Read back the automation pause

                  3. Step 14 · Code

                    Verify that the pause was released

                • Otherwise

                  Nothing happens

            • Otherwise

              Nothing happens

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

In Zendesk notify the updated-ticket webhook on resolution and set the responsible group, the SendPulse WhatsApp bot ID and a staff-only text field for the pause deadline. Have one handoff per contact record the same ISO deadline as the pause, use sendpulse:BOT_ID:CONTACT_ID as the ticket external ID and set zendesk_ticket_id on the SendPulse contact. Manage these pauses only from this handoff and finish any open SendPulse agent chat before resolving the ticket.

Accounts to connect

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template