telaHuddle shows what happens in your websites and apps where your team already works: a new paid order, a failed payment, stock running out, a website that stops answering. Warnings and critical events also open an incident in Operations, so nothing gets lost.
What you can connect
There are three ways to connect, and one workspace can use all of them.
| Your website or app | How it connects | What you do |
|---|---|---|
| WordPress & WooCommerce, Shopify, Wix, Magento, Joomla or Drupal | Through the website's existing telaPilot connection | Switch it on in telaPilot. No keys to copy and no developer needed. |
| WHMCS | Through the telaHuddle addon | Paste a setup code into the addon. |
| Your own app, or any other website or service | Directly to telaHuddle, signed with its own key | Add a connection in telaHuddle and send events from your server. |
Switch on events for a website connected to telaPilot
Use this for any website that already has the telaPilot chat widget connected through its plugin, app or module.
- Update the website's telaPilot connector to the release in the table below, or later.
- In telaPilot, open Team management → Connections, choose the website and open its telaHuddle tab.
- Turn on Send events to telaHuddle. telaHuddle must be on for your workspace (Team management → Apps).
- In telaHuddle, open Tools → Infrastructure. The website appears under Connections as soon as its first event arrives. Open Name and alerts on it to choose the space its events go to and who is assigned to its incidents.
| Platform | Release | What it sends |
|---|---|---|
| WordPress & WooCommerce | 0.17.0 | Paid, on-hold, cancelled and refunded orders, failed payments, low and out-of-stock products, daily website health. |
| Magento / Adobe Commerce | 0.6.2 | Paid, on-hold, cancelled and refunded orders, low and out-of-stock products, daily website health. Run setup:upgrade once after updating. |
| Shopify | 0.5.2 | Paid, cancelled and refunded orders through Shopify webhooks. Add read_orders and the webhooks block to shopify.app.toml, then run shopify app deploy. |
| Wix | 0.5.3 | Paid, refunded and cancelled Wix eCommerce orders. Copy the new backend files, merging events.js and jobs.config if you already have them. |
| Drupal | 0.5.2 | Paid and cancelled Drupal Commerce orders, daily website health with waiting updates. Keep cron running. |
| Joomla | 0.5.2 | Daily website health: Joomla version and waiting updates. |
Events wait in a small queue on the website and are sent in the background, so checkout is never slowed down. While the switch is off, the website sends nothing. Customer verification carries over unchanged when you update a connector.
Connect WHMCS
- In telaHuddle, open Tools → Infrastructure, select Add a connection and choose WHMCS installation.
- Download the telaHuddle addon from the link shown, unzip it in your WHMCS folder and activate it under System Settings → Addon Modules.
- In WHMCS, open Addons → telaHuddle, paste the setup code and select Connect. The code is shown once, so copy it straight away.
WHMCS then sends failed provisioning, domain and billing actions to WHMCS alerts, and checks the servers you tick in the addon's Servers tab.
Where events appear
| Place | What you see |
|---|---|
| Tools → Infrastructure → Activity | Every event as it arrives, with the website or app it came from. |
| Tools → Needs attention and Incidents | An incident for each warning or critical event. Repeats of the same problem add to the open incident instead of opening another. |
| A space | Each event as a post, when the connection has a space chosen under Name and alerts. |
| Infrastructure → Connections | Each website or app, what it runs on, when its last event arrived and its health. |
Website health
Give a connection its website address (websites connected through telaPilot get it automatically) and telaHuddle checks it from outside every five minutes. Each connection in Infrastructure → Connections then shows whether the website answers, how fast, and when its SSL certificate runs out.
- Not answering: after two failed checks in a row, a critical event opens an incident; when the website answers again you're told how long it was down.
- SSL certificate: reminders 14, 7, 3 and 1 days before it runs out, and a critical event if it has.
- Updates waiting: WordPress & WooCommerce, Magento, Drupal and Joomla report once a day their version and how many updates are waiting. This is shown on the connection and never posted.
These events work like any other: they can trigger your event rules.
Act on events with rules
In telaHuddle, open Tools → Infrastructure → Event rules (also linked from Automation). Managers can add up to 50 rules. Each rule says which events it is for and what to do with them.
| Part of the rule | Choices |
|---|---|
| From | Any connected app or website, or one of them. |
| Kinds of event | Leave empty for all, or list them with commas, for example payment.failed, order. (order. means every order event). |
| How serious | Any event, warnings and critical, or critical only. |
| Do this | Post it in a space; open an escalation in a space, with an owner if you like (urgent for critical events, high for warnings); add a to-do for someone, which appears in their Planner; or send it to a webhook. |
Each event is handled once per rule. If a space, person or webhook isn't ready, the rule tries again for a few hours and shows what happened on the rule (for example The webhook answered 410). Switching a rule off or deleting it never changes what it already did.
Connect your own app
This part is for a developer. Use it for a custom app, or for a website that isn't connected to telaPilot.
- In telaHuddle, open Tools → Infrastructure and select Add a connection.
- Choose App or website, pick what it runs on (or Custom app), give it a name and choose the space its events go to. Add the website address if you want it checked.
- Copy the event address, connection ID and signing key. The signing key is shown once: keep it in your server's settings or secrets manager, never in a web page or mobile app.
- Send a test event (below). The connection shows Last event when it arrives.
The event format
Send one event per request as JSON, up to 8 KB, with a POST to the event address.
| Field | Required | What it holds |
|---|---|---|
| event_id | Yes | Your unique ID for this event, up to 96 characters: letters, digits and . _ : - (starting with a letter or digit). Sending the same ID again is safe: telaHuddle keeps the first one. |
| type | Yes | What happened, in lowercase with dots, for example payment.failed, order.paid or backup.failed (up to 32 characters). Use connection.test to check the connection. |
| severity | Yes | info, warning or critical. Warnings and critical events open an incident; repeats of the same type and reference add to the open incident instead of opening another. |
| title | Yes | One line people read, up to 160 characters. |
| occurred_at | Yes | When it happened, as Unix seconds. |
| reference | No | The order, invoice, ticket or server it is about (same characters as event_id). |
| url | No | An https link to open it in your app. |
| customer | No | name and/or email of the customer involved. |
| details | No | Up to 10 short facts, for example amount and currency. Keys are lowercase letters, digits and underscores; values are text (up to 200 characters), numbers or true/false. |
{
"event_id": "order-1042-payment-failed",
"type": "payment.failed",
"severity": "warning",
"title": "Payment failed for order 1042",
"occurred_at": 1795737600,
"reference": "1042",
"url": "https://shop.example.com/admin/orders/1042",
"customer": {
"name": "Ada Bello",
"email": "ada@example.com"
},
"details": {
"amount": "45.00",
"currency": "USD"
}
}Sign each request
Every request carries two headers. X-TelaHuddle-Timestamp is the current time in Unix seconds (it must be within five minutes of telaHuddle's clock). X-TelaHuddle-Signature is sha256= followed by the HMAC-SHA256 of these five lines joined with a newline: v2, app, the connection ID, the timestamp and the exact request body. The key is the signing key read as hexadecimal bytes.
v2
app
<connection ID>
<timestamp>
<request body>The examples below read the event address, connection ID and signing key from the environment variables TELAHUDDLE_EVENT_ADDRESS, TELAHUDDLE_CONNECTION_ID and TELAHUDDLE_SIGNING_KEY.
Test from a terminal
#!/usr/bin/env bash
# Send a test event to telaHuddle from a terminal (needs curl and openssl).
set -euo pipefail
: "${TELAHUDDLE_EVENT_ADDRESS:?}" "${TELAHUDDLE_CONNECTION_ID:?}" "${TELAHUDDLE_SIGNING_KEY:?}"
timestamp=$(date +%s)
body=$(printf '{"event_id":"test-%s","type":"connection.test","occurred_at":%s}' "$timestamp" "$timestamp")
signature=$(printf 'v2\napp\n%s\n%s\n%s' "$TELAHUDDLE_CONNECTION_ID" "$timestamp" "$body" \
| openssl dgst -sha256 -mac HMAC -macopt "hexkey:$TELAHUDDLE_SIGNING_KEY" | sed 's/^.* //')
curl -sS -X POST "$TELAHUDDLE_EVENT_ADDRESS" -H 'Content-Type: application/json' \
-H "X-TelaHuddle-Timestamp: $timestamp" -H "X-TelaHuddle-Signature: sha256=$signature" --data "$body"
echoPHP
<?php
// Send one event to telaHuddle. Keep the signing key in your server's settings, never in a web page.
$address = getenv('TELAHUDDLE_EVENT_ADDRESS'); // https://huddle.telapilot.com/api/apps/<connection ID>/events
$id = getenv('TELAHUDDLE_CONNECTION_ID');
$key = getenv('TELAHUDDLE_SIGNING_KEY');
$body = json_encode([
'event_id' => 'order-1042-payment-failed',
'type' => 'payment.failed',
'severity' => 'warning',
'title' => 'Payment failed for order 1042',
'occurred_at' => time(),
'reference' => '1042',
'customer' => ['name' => 'Ada Bello', 'email' => 'ada@example.com'],
'details' => ['amount' => '45.00', 'currency' => 'USD'],
], JSON_UNESCAPED_SLASHES | JSON_THROW_ON_ERROR);
$timestamp = (string) time();
$signature = 'sha256='.hash_hmac('sha256', "v2\napp\n{$id}\n{$timestamp}\n{$body}", hex2bin($key));
$curl = curl_init($address);
curl_setopt_array($curl, [
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => $body,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => ['Content-Type: application/json', 'X-TelaHuddle-Timestamp: '.$timestamp, 'X-TelaHuddle-Signature: '.$signature],
]);
$reply = curl_exec($curl);
$status = curl_getinfo($curl, CURLINFO_RESPONSE_CODE);
curl_close($curl);
echo $status, ' ', $reply, PHP_EOL; // 201 = received, 200 = already receivedNode.js
// Send one event to telaHuddle (Node.js 18 or later). Keep the signing key on your server.
import { createHmac } from 'node:crypto';
const address = process.env.TELAHUDDLE_EVENT_ADDRESS; // https://huddle.telapilot.com/api/apps/<connection ID>/events
const id = process.env.TELAHUDDLE_CONNECTION_ID;
const key = Buffer.from(process.env.TELAHUDDLE_SIGNING_KEY, 'hex');
const body = JSON.stringify({
event_id: 'order-1042-payment-failed',
type: 'payment.failed',
severity: 'warning',
title: 'Payment failed for order 1042',
occurred_at: Math.floor(Date.now() / 1000),
reference: '1042',
customer: { name: 'Ada Bello', email: 'ada@example.com' },
details: { amount: '45.00', currency: 'USD' },
});
const timestamp = String(Math.floor(Date.now() / 1000));
const signature = 'sha256=' + createHmac('sha256', key).update(`v2\napp\n${id}\n${timestamp}\n${body}`).digest('hex');
const reply = await fetch(address, {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'X-TelaHuddle-Timestamp': timestamp, 'X-TelaHuddle-Signature': signature },
body,
});
console.log(reply.status, await reply.text()); // 201 = received, 200 = already receivedPython
# Send one event to telaHuddle (Python 3). Keep the signing key on your server.
import hashlib, hmac, json, os, time, urllib.request
address = os.environ["TELAHUDDLE_EVENT_ADDRESS"] # https://huddle.telapilot.com/api/apps/<connection ID>/events
connection_id = os.environ["TELAHUDDLE_CONNECTION_ID"]
key = bytes.fromhex(os.environ["TELAHUDDLE_SIGNING_KEY"])
body = json.dumps({
"event_id": "order-1042-payment-failed",
"type": "payment.failed",
"severity": "warning",
"title": "Payment failed for order 1042",
"occurred_at": int(time.time()),
"reference": "1042",
"customer": {"name": "Ada Bello", "email": "ada@example.com"},
"details": {"amount": "45.00", "currency": "USD"},
}, separators=(",", ":"))
timestamp = str(int(time.time()))
message = f"v2\napp\n{connection_id}\n{timestamp}\n{body}".encode()
signature = "sha256=" + hmac.new(key, message, hashlib.sha256).hexdigest()
request = urllib.request.Request(address, data=body.encode(), method="POST", headers={
"Content-Type": "application/json", "X-TelaHuddle-Timestamp": timestamp, "X-TelaHuddle-Signature": signature})
with urllib.request.urlopen(request, timeout=10) as reply:
print(reply.status, reply.read().decode()) # 201 = received, 200 = already receivedReplies
| Reply | Meaning | What to do |
|---|---|---|
| 201 | Received. | Nothing. |
| 200 | Already received (same event_id). | Nothing: it is safe to resend after a timeout. |
| 401 | The signature, connection ID or timestamp is wrong, or the connection was removed. | Check the key and your server's clock. Don't retry unchanged. |
| 413 or 422 | The event is too large or a field is invalid. The reply says which. | Fix the event. Don't retry unchanged. |
| 429 or 5xx | Too many requests, or telaHuddle is busy. | Retry later with the same event_id, waiting longer each time. |
Webhooks from telaHuddle
A webhook rule sends each matching event as JSON to a public https address, with rule, source, event and delivery_id. Its signing key is shown once when you save the rule, and New signing key makes another. Check each request the same way as above, with rule instead of app and the rule ID instead of the connection ID, and answer with any 2xx status.
v2
rule
<rule ID>
<X-TelaHuddle-Timestamp>
<request body>Remove a connection
Open the connection in Infrastructure → Connections and select Retire this connection. telaHuddle stops accepting anything from it straight away. Past activity and incidents stay. For a website connected through telaPilot, turn off Send events to telaHuddle in telaPilot first, or its next event adds it again.
Common questions
Do I need a developer?
Not for WordPress & WooCommerce, Shopify, Wix, Magento, Joomla, Drupal or WHMCS. Only your own app needs one.
The website is switched on but nothing arrives
Check that its connector is on the release in the table above, and look at the telaHuddle tab in telaPilot: it shows when the last event went through and says what is wrong if one is waiting. Open telaHuddle once from telaPilot if your workspace has never opened it.
Can one workspace connect several websites?
Yes. Each website or app is its own connection, with its own space and its own person for incidents.