Skip to main content

HelpCrunch

HelpCrunch is a chat and help desk for websites. Its webhooks report that a chat was opened, changed its status or was closed. Sent to the Flows address, they start your flows: a chat is closed — and the customer gets a thank-you or a request to rate the answer in Viber or SMS.

The catch is the phone: HelpCrunch webhooks carry no phone number, only the name, the email and the id of the customer. So a message goes only to a person AlphaFlow already knows with a phone.

Written from HelpCrunch documentation

This page is written from the public documentation of HelpCrunch and has not been checked on a live account yet.

What you need​

  • Access to Settings → Developers → Webhooks in HelpCrunch. Which plans have webhooks is not confirmed by the documentation.
  • One webhook per type of event. All of them use the same address. The body and the headers of a webhook cannot be changed.
  • A way for AlphaFlow to find the customer. Pass to HelpCrunch the id of the user on your site (userId, through User Authentication) — the same id your other systems send to AlphaFlow — or collect the email in the chat. The contact has to be known to AlphaFlow with a phone already, for example from your shop or CRM.

Step 1. Create a connection​

  1. Open Flows → Connections, press Connect a system and choose HelpCrunch.
  2. Press Copy address. It looks like https://events.alphasms.net/hooks/<TOKEN> — keep it secret.

Step 2. Set up webhooks in HelpCrunch​

  1. Open Settings → Developers → Webhooks and press Add Webhook.
  2. Event Type — chat.new, URL — the address from the cabinet. Save.
  3. Add one more webhook: Event Type — chat.closed, the same URL. Instead of it you can choose chat.status_updated: every change of the status then comes as ticket_status_changed, and the closing as ticket_closed. Do not switch on both: the closing would come twice.
  4. Switch the webhooks on with the toggle next to each one.

Step 3. Send a test​

HelpCrunch sends no test request. Open a chat as a test visitor with an email and close it from Inbox. The events appear in Flows → Connections → Event journal, and the connection shows Recognised: HelpCrunch. A visitor with neither an email nor a userId known to AlphaFlow gives no_contact — that is expected.

Events​

HelpCrunch eventAlphaFlow eventProperties
chat.newticket_createdchat_id, status, department, assignee
chat.status_updatedticket_status_changed; the status closed — ticket_closedchat_id, status, assignee
chat.closedticket_closedchat_id, closed_by, rating
  • status — new, open, pending, on-hold, closed, no communication or empty. Which status becomes ticket_closed is set by a table in the connection, and you can correct it there.
  • closed_by — customer or agent; rating — poor, average or great.
  • department and assignee — the names of the department and the agent; helpcrunch_customer_id — the id of the customer in HelpCrunch.

The contact is found only by the user id from your site (userId) and the email. There is no phone. An anonymous visitor has no userId. An event with neither an email nor a userId known to AlphaFlow is refused with no_contact; an event with an email is taken, but a message in Viber or SMS reaches the person only if AlphaFlow already knows their phone.

Support events are not among the events of the ready-made templates (see Recommended events): create the flow From scratch and choose the event as its start.

Good to know​

  • HelpCrunch counts any 2xx as delivered. After a 4xx it repeats in 1, 5, 20 and 60 minutes and in 2 hours, and after three failed events in a row it switches the webhook off. The Flows address answers 200 at once, so there is nothing to repeat.
  • HelpCrunch signs every request (x-helpcrunch-signature). Checking the signature is optional: the secret in the address is enough.
  • Without a phone the customer cannot get an SMS or a Viber message from a chat event, unless AlphaFlow knows the customer from another system.
  • The address always answers 200. Above the daily event limit the event is refused in AlphaFlow with quota_exceeded and shown in the journal; the webhook in HelpCrunch stays on.

HelpCrunch documentation​