Connect EVORIV to n8n: HTTP Request node, webhooks and four workflow recipes
n8n has no official EVORIV node yet. Its HTTP Request node, Webhook node and Code node are enough: write to EVORIV with an API key, react to EVORIV's signed webhooks, and build the workflows an installation company or a sales team needs.
In short
Create an API key in EVORIV (Settings, Developers), store it in n8n as a Header Auth credential (Authorization: Bearer evapi_...) and use it in HTTP Request nodes. For events, add a Webhook node with Raw Body on, register its production URL as a webhook in EVORIV, and check the EVORIV-Signature header in a Code node before the rest of the workflow runs.
What you can automate
- A new service request from the customer portal or the office posts a message in your team chat.
- A signed work report is saved to Google Drive or mailed to your bookkeeping.
- A form on your website creates a lead in EVORIV, never twice.
- Every morning the office gets the maintenance visits that are due.
- An accepted quote starts the order in another system (event quote.accepted).
There is no official EVORIV node in n8n yet. Everything here uses n8n's own HTTP Request, Webhook, Code and Schedule nodes.
1. Call EVORIV from n8n
Create an API key in EVORIV under Settings, Developers: read only for a workflow that only reads, read and write when it creates leads. In n8n, add a Header Auth credential and use it in each HTTP Request node. n8n calls from its server, so EVORIV's rule that browser requests are refused does not get in the way.
Credential type: Header Auth
Name: Authorization
Value: Bearer evapi_...
HTTP Request node
Method: GET
URL: https://api.evoriv.com/api/dev/v1/record-types
Authentication: Generic Credential Type > Header Auth > (the credential above)2. Receive EVORIV webhooks and check the signature
Add a Webhook node with method POST and switch on Raw Body in its options. Register its production URL in EVORIV under Settings, Developers, Webhooks and pick the events. Store the signing secret, for example as the environment variable EVORIV_WEBHOOK_SECRET.
Put this Code node right after the Webhook node. A delivery whose signature does not match stops the workflow there.
// n8n Code node ("Run Once for All Items"), right after a Webhook node with the
// option "Raw Body" switched on. Self-hosted n8n: allow the crypto module with
// NODE_FUNCTION_ALLOW_BUILTIN=crypto. Check the field names in your n8n version.
const crypto = require("crypto");
const SECRET = $env.EVORIV_WEBHOOK_SECRET; // whsec_..., the whole string (or paste it here)
const header = String($input.first().json.headers["evoriv-signature"] ?? "");
const raw = await this.helpers.getBinaryDataBuffer(0, "data"); // the exact bytes EVORIV signed
const parts = Object.fromEntries(header.split(",").map((p) => p.trim().split("=")));
const t = Number(parts.t);
if (!Number.isInteger(t) || Math.abs(Date.now() / 1000 - t) > 300) throw new Error("Old or missing timestamp");
const expected = crypto.createHmac("sha256", SECRET).update(t + ".").update(raw).digest("hex");
if (!/^[0-9a-f]{64}$/.test(parts.v1 ?? "") || !crypto.timingSafeEqual(Buffer.from(expected, "hex"), Buffer.from(parts.v1, "hex"))) {
throw new Error("Invalid EVORIV signature");
}
return [{ json: JSON.parse(raw.toString("utf8")) }]; // { id, event, data: { ... } }EVORIV waits up to 8 seconds for an answer; set the Webhook node to respond immediately. A failed delivery is retried up to 6 times, and the same delivery id comes back on every retry.
Recipe 1: new service request to Slack or Teams
1. Webhook node POST, Raw Body on. Its production URL goes into EVORIV:
Settings, Developers, Webhooks, event service_request.created
2. Code node the signature check above
3. HTTP Request node GET https://api.evoriv.com/api/dev/v1/service-requests/{{ $json.data.serviceRequestId }}
4. Slack or Microsoft Teams node
New service request {{ $json.data.number }}: {{ $json.data.title }}
Customer: {{ $json.data.customer.name }} {{ $json.data.url }}Recipe 2: signed work report to Drive or bookkeeping
EVORIV does not invoice: this hands the signed work report to the system that does.
1. Webhook node POST, Raw Body on; EVORIV event work_report.signed
2. Code node the signature check above
3. HTTP Request node GET https://api.evoriv.com/api/dev/v1/work-orders/{{ $json.data.workOrderId }}/work-report/pdf
Response: File (binary property "data")
4. Google Drive node upload the file to the folder Work reports
or Send Email node to your bookkeeping address, with the PDF attachedRecipe 3: website form to an EVORIV lead, once
The Idempotency-Key makes a retried execution return the first lead instead of creating a second one.
1. Form Trigger node (or a Webhook node your site posts to)
2. HTTP Request node POST https://api.evoriv.com/api/dev/v1/record-types/sales.lead/records
Headers Idempotency-Key: site-form-{{ $execution.id }}
Body (JSON) { "fields": {
"sales.lead_last_name": "{{ $json['Last name'] }}",
"sales.lead_company_name": "{{ $json.Company }}",
"sales.lead_email": "{{ $json.Email }}",
"sales.lead_source": "website form",
"sales.lead_status": "new" } }Recipe 4: daily overview of maintenance due
1. Schedule Trigger every working day at 07:00
2. HTTP Request node GET https://api.evoriv.com/api/dev/v1/maintenance/due
(a key of someone with the Operations office role)
3. Code node const visits = $json.data.visits;
return [{ json: { text: visits.map((v) =>
`${v.dueOn} ${v.customer ?? ""} ${v.name}${v.overdue ? " (overdue)" : ""}`).join("\n") } }];
4. Send Email or Slack node with {{ $json.text }}