Integrations and customer context
See what your other tools know about a customer right next to their ticket, and act on it without switching tabs.
The customer sidebar
Every ticket’s side panel shows the customer and their organisation: a health score for each, their ratings, whether the tone of their tickets is getting better or worse, and the organisation’s other requests. Below that, one card per connected app. Cards load in the background, are kept for a minute per customer, and a slow or failing app only shows a short message: the rest of the ticket keeps working. Press the refresh button on a card to look again.
Stripe
In Settings, Integrations, paste a Stripe restricted key (it starts with rk_live_ or rk_test_). Give it read access to Customers, Subscriptions, Invoices and Charges, and write access to Refunds only if agents should refund. HelpBat finds the Stripe customer by the requester’s email and shows their subscriptions, last invoices and payment status, with an Open in Stripe link.
Refund last charge refunds the customer’s latest charge that is not refunded yet, in full. It needs the refund permission, asks for confirmation, and is refused when the last charge changed since the card loaded. Each refund is added to the ticket as an internal note and recorded in the audit log, and Stripe gets an idempotency key so a double click never refunds twice.
Shopify
Create a custom app in your Shopify admin with the read_customers and read_orders scopes (add write_orders if agents should cancel orders), then enter your shop domain (yourshop.myshopify.com) and the Admin API access token. The card shows the customer’s total spent, their last orders with payment and fulfilment status, and tracking links.
Cancel on an open order needs the cancel orders permission and a confirmation. Only the customer’s own recent orders that have not shipped can be cancelled. Refunds and restocking follow your shop’s settings. Each cancellation is noted on the ticket and in the audit log.
Custom data cards
Show anything from your own systems: plan, account owner, usage, open invoices. Add a card with a name and an https URL (port 443 or 8443). For each ticket HelpBat sends a POST with JSON:
{ "email": "[email protected]", "name": "Ana", "customerId": "...", "ticket": { "number": 42, "subject": "..." }, "workspace": "..." }
Answer within 8 seconds with up to 20 fields:
{ "title": "CRM", "fields": [ { "label": "Plan", "value": "Gold" }, { "label": "Owner", "value": "Sam", "url": "https://crm.example.com/accounts/1" } ] }
A flat object such as { "Plan": "Gold" } works too. Values are shown as text; links must be https.
Check the signature
Every request carries HelpBat-Signature: t=<unix time>,v1=<signature>, where the signature is the hex HMAC SHA-256 of <t>.<raw body> under your workspace’s card signing secret. The secret is shown once when you create it; make a new one from the same page at any time. Refuse requests with a wrong signature or a time more than five minutes old.
const [t, v1] = header.split(',').map((p) => p.split('=')[1]);
const ok = crypto.timingSafeEqual(Buffer.from(v1), Buffer.from(crypto.createHmac('sha256', secret).update(`${t}.${rawBody}`).digest('hex')));
Permissions
- See data from connected apps: agents, supervisors and admins.
- Refund charges in Stripe and Cancel orders in Shopify: supervisors and admins.
- Connect apps and custom data cards: admins.
Custom roles can mix these on Business and Enterprise.
Security
- Keys and tokens are encrypted at rest and never shown again or written to logs; settings show only the last characters.
- Requests go only to
api.stripe.com, to your*.myshopify.comshop, and to public https addresses for custom cards. Private and internal addresses are refused, redirects are not followed, and answers are size and time limited. - Lookups and money moving actions are rate limited per person, and every workspace only ever sees its own connections.
Customer health
Each organisation and customer gets a score from 0 to 100 from the last 90 days of tickets. It starts at 100 and loses points for rising ticket volume, reopened tickets, a negative tone, bad ratings and missed SLA targets, each with a plain reason. 70 and above is healthy, 40 to 69 is worth watching, under 40 is at risk. Reports lists the accounts at risk with their reasons. In triggers and automations, the conditions Organisation health and Customer health let you act on it, for example tag and route tickets from an account under 50 to your success team.