Skip to main content
Documentation: Integrations and webhooks

Connect

Integrations and webhooks

Connect Repliq with your tools: Google Business Profile, automatic requests from your store or bookings, and signed webhooks to notify your systems.

Google Business Profile

It is the main connection: Repliq reads your reviews and publishes your replies through Google’s official access (OAuth). You can disconnect it at any time under Locations or remove access from your Google account.

Automatic requests (inbound webhook)

Under Integrations, create a private link for your tool (Shopify, WooCommerce, Stripe, Square, Calendly, HubSpot, Zapier, Make, n8n or custom) and paste it there as a webhook. When a delivered order, a payment or an appointment arrives, Repliq reads the customer’s name and email or phone and sends them the review request, applying unsubscribes, duplicates and your plan’s limit.

Outbound webhooks

Repliq can notify your system (or Zapier, Make, n8n) with a JSON POST to a public https URL when one of these events happens:

EventWhen
review.createdA new review arrives.
review.negativeA 1 or 2 star review arrives.
review.publishedA reply is published on Google.

Every delivery carries the X-Repliq-Event, X-Repliq-Delivery (a unique id, useful to avoid processing twice) and X-Repliq-Signature headers, the latter in the t=<timestamp>,v1=<signature> format. The signature is an HMAC-SHA256, with the secret shown when you create the webhook, over <timestamp>.<body>.

javascript
import crypto from 'node:crypto';

// rawBody: the exact body received (string), never re-serialised.
export function verifyRepliqSignature(rawBody, header, secret) {
  const parts = Object.fromEntries(header.split(',').map((p) => p.split('=')));
  const expected = crypto.createHmac('sha256', secret)
    .update(`${parts.t}.${rawBody}`)
    .digest('hex');
  const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) < 300;
  return fresh && parts.v1?.length === expected.length
    && crypto.timingSafeEqual(Buffer.from(parts.v1), Buffer.from(expected));
}
  • Answer with a 2xx code to confirm the delivery.
  • If it fails, Repliq retries with growing waits (1, 2, 4… minutes, up to 6 hours), at most 8 times.
  • After 25 failures in a row the webhook is turned off; create it again under Integrations once your system is ready.
  • For security, private addresses and ports other than 443 are not accepted.

AI assistants

Claude, ChatGPT and any MCP client connect through Repliq’s MCP server. See AI assistants.

Updated on

Can’t find what you need?

Check the frequently asked questions or write to us and we will help.

Frequently asked questions