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.
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
- Open
Flows → Connections, press Connect a system and choose HelpCrunch. - Press Copy address. It looks like
https://events.alphasms.net/hooks/<TOKEN>— keep it secret.
Step 2. Set up webhooks in HelpCrunch
- Open Settings → Developers → Webhooks and press Add Webhook.
- Event Type —
chat.new, URL — the address from the cabinet. Save. - Add one more webhook: Event Type —
chat.closed, the same URL. Instead of it you can choosechat.status_updated: every change of the status then comes asticket_status_changed, and the closing asticket_closed. Do not switch on both: the closing would come twice. - 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 event | AlphaFlow event | Properties |
|---|---|---|
chat.new | ticket_created | chat_id, status, department, assignee |
chat.status_updated | ticket_status_changed; the status closed — ticket_closed | chat_id, status, assignee |
chat.closed | ticket_closed | chat_id, closed_by, rating |
status—new,open,pending,on-hold,closed,no communicationorempty. Which status becomesticket_closedis set by a table in the connection, and you can correct it there.closed_by—customeroragent;rating—poor,averageorgreat.departmentandassignee— 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
2xxas delivered. After a4xxit 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 answers200at 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 withquota_exceededand shown in the journal; the webhook in HelpCrunch stays on.