integrations/.
All of them ask for two things: the API address of your installation, without
/v1, and an API token with the write ability (Settings → API tokens). The connection test calls GET /v1/me.
n8n
Lekalao (actions): add or update a subscriber — never a duplicate —, tag, unsubscribe; record an event; send a transactional e-mail. Lekalao Trigger: someone subscribed, confirmed, unsubscribed, was tagged; a campaign was sent; an e-mail bounced; someone complained — for every list or for one. Switching a workflow on registers a webhook in your team; switching it off removes it. Every call is signed, and a call whose signature does not match starts nothing.dist in ~/.n8n/custom.
Zapier
Triggers: new subscriber, subscription confirmed, unsubscribed, tag added, e-mail bounced, campaign sent. Actions: add or update a subscriber, record an event, send a transactional e-mail. Each user gives the address of their Lekalao, so one app serves the cloud and every self-hosted installation that can be reached from the internet.Make
- To start a scenario: a Webhooks → Custom webhook module; paste its address into Settings → Outgoing webhooks → Add, with the events you want. To check the signature, add a filter comparing the
X-Lekalao-Signatureheader withsha256(body; secret). - To act in Lekalao: an HTTP → Make a request module with
Authorization: Bearer <token>— for instancePOST /v1/lists/{list}/subscriberswith{"email": "…"}, orPOST /v1/events. AddIdempotency-Key: {{uuid}}: a scenario that is replayed does not subscribe twice.
WordPress and WooCommerce
Uploadintegrations/wordpress/lekalao to wp-content/plugins/, activate it, then Settings → Lekalao: the API address, the token, the list.
- A form anywhere:
[lekalao_form], or[lekalao_form list="…" names="yes" button="Subscribe"]. The form posts to your own site, which speaks to Lekalao: the token never reaches a visitor’s browser. - At checkout: a box to subscribe, whose wording is yours.
- Orders: a paid order is sent as the event
order, with its amount — counted as revenue of the e-mail that earned it — and the order number as reference, so it counts once. - Abandoned baskets: a basket nobody touched for an hour, whose owner is known (a signed-in customer, or the address typed at checkout), is sent as
cart.abandonedwith its items, its total and a link back.