Skip to content
Certnest
n8nVia webhook
  • API

Issue certificates and badges from n8n

Issue from an n8n workflow with the HTTP Request node, and react to signed webhooks.

When n8n

A self-hosted LMS posts a completion to n8n

Then Certnest

An HTTP Request node issues the certificate

Every credential is signed and can be checked by anyone

Guide

How n8n works with Certnest

n8n talks to Certnest over plain HTTPS: one call to issue, and signed webhooks back when a credential is viewed, added to LinkedIn or bounced. There is no Certnest app inside n8n, and none is needed.

Who it is for

  • Teams that build workflows with a little code
  • Developers who want retries that never issue twice

What you need

  • A n8n account
  • A Certnest account, free plan included
  • The ID of the credential to send (GET /credentials lists them)
Connection
Via webhook
How it connects
REST API and signed webhooks
Set-up time
About 20 minutes
Category
Automation
Starts on
HTTP Request and Webhook nodes
Plans
Every plan, including free
  1. Step 1: Create an API key

    In Certnest, open Settings, API keys, New API key. Name it after where it will be used, such as "n8n", and make sure Issue is ticked (Read is on already). Then choose Create key.

    Give each tool its own key. You can revoke one without touching the others.

    The New API key window in Certnest. 1: the key's name. 2: the Issue permission, ticked. 3: the Create key button.
    In Certnest. The New API key window in Certnest. 1: the key's name. 2: the Issue permission, ticked. 3: the Create key button. View full size
  2. Step 2: Copy the key now

    Certnest shows the key one time only and keeps just a fingerprint of it. Copy it into a password manager. If it is ever lost, rotate it in the same place and paste the new one.

    The window that shows a new API key once. 1: the Copy button.
    In Certnest. The window that shows a new API key once. 1: the Copy button. View full size
  3. Step 3: Add an HTTP Request node

    In n8n, add an HTTP Request node that sends a POST to https://certnest.co/api/v1/issues with two headers: Authorization: Bearer and your key, and Idempotency-Key with an ID that is the same each time for the same person and course.

    an HTTP Request nodePOST https://certnest.co/api/v1/issuesAuthorization: Bearer <your key>Idempotency-Key: course-5-K-2207Content-Type: application/json
    Drawing, not a screenshot. A drawing of the request: POST to the Certnest issues address with the Authorization and Idempotency-Key headers.
  4. Step 4: Send the person

    The body names the credential and up to 1,000 people, each with a name, an email and your own ID. Set send email to true to email each person their link.

    Body{ "credential_id": "cr_sql", "recipients": [{ "name": "Kenji Watanabe", "email": "kenji.watanabe@example.com", "external_id": "K-2207" }], "send": { "email": true }}
    Drawing, not a screenshot. A drawing of the JSON body with credential_id, one recipient and send email set to true.
  5. Step 5: Read the answer

    A 202 answer lists each person with their credential link. A person who already holds it comes back with duplicate set to true and is not emailed again. Retry only on 429 or 5xx answers, with the same Idempotency-Key.

  6. Step 6: Check the first one

    Run it once with yourself as the person. In Certnest, People and sends shows it with its status as it moves from sent to opened, downloaded and added to LinkedIn.

    A send in Certnest. 1: the counts for sent, opened, downloaded and added to LinkedIn.
    In Certnest. A send in Certnest. 1: the counts for sent, opened, downloaded and added to LinkedIn. View full size
  7. Step 7: Add a webhook endpoint in Certnest

    In Settings, Webhooks, choose Add endpoint. Paste the address of an n8n Webhook node (its production address), pick the events you want and save. Copy the signing secret: it is shown once.

    The Add an endpoint window. 1: the endpoint address. 2: the Credential issued event, ticked. 3: the save button.
    In Certnest. The Add an endpoint window. 1: the endpoint address. 2: the Credential issued event, ticked. 3: the save button. View full size
  8. Step 8: Check each signature

    Every delivery has a Certnest-Signature header: t, a time, and v1, an HMAC-SHA256 of the time, a dot and the raw body, made with your secret. Compare it, and refuse anything older than five minutes.

    Check the signaturesig = header Certnest-Signature # t=...,v1=...expected = hmac_sha256(secret, t + "." + raw_body)if expected != v1 or now - t > 300: refuseelse: handle event.type
    Drawing, not a screenshot. A drawing of the signature check: build the expected HMAC from the time and raw body, compare, refuse old deliveries.

What happens next

What the person receives

Whatever starts it, everyone gets the same signed credential, ready to share.

  1. 1 of 4

    An email arrives

    Within moments the person gets an email from your organisation with a button to their credential. You set the sender, the words and your logo in Settings, Email.

    Brightpath Data Academyto daniel.okafor@example.comYour certificate is readyWell done, Daniel. You completed SQL for Analysts.View your certificateYou got this email because you completed a course with Brightpath.
    Drawing, not a screenshot. A drawing of the email a person receives: the organisation's name, a short note and a View your certificate button.
  2. 2 of 4

    Their own credential page

    The button opens the credential page: the design with their name, a PDF to download and one click to add it to LinkedIn. No account is needed.

    A credential page on a phone. 1: Download PDF. 2: Add to LinkedIn.
    In Certnest. A credential page on a phone. 1: Download PDF. 2: Add to LinkedIn.
  3. 3 of 4

    On their profile in one click

    Add to LinkedIn fills in the credential name, your organisation, the date and the link, so it shows under licences and certifications.

    DODaniel OkaforData analystLicences and certificationsSQL for AnalystsBrightpath Data AcademyIssued Nov 2026Show credential
    Drawing, not a screenshot. A drawing of a profile section listing the new certificate, with the issuer and a Show credential link.
  4. 4 of 4

    Anyone can check it is real

    An employer opens the link or scans the QR code. Certnest checks the signature, that it was not revoked and that it has not expired.

    The verify page. 1: the result, a valid credential with the issuer named.
    In Certnest. The verify page. 1: the result, a valid credential with the issuer named. View full size

Want to watch it happen? Try the interactive demo.

Ideas

What you can automate with n8n

n8n talks to Certnest over plain HTTPS. Call the REST API from an HTTP Request node to issue or revoke, and point an n8n Webhook node at Certnest's outgoing webhooks to react to deliveries.

  • When n8n

    A self-hosted LMS posts a completion to n8n

    Then Certnest

    An HTTP Request node issues the certificate

  • When n8n

    Certnest sends issue.linkedin_added

    Then Certnest

    n8n updates the learner's profile in your database

  • When n8n

    A nightly n8n schedule runs

    Then Certnest

    It issues to everyone who passed that day, in one call

Troubleshooting

If something does not work

The run log and People and sends show what happened to each person. These are the usual fixes.

  • 401 Unauthorized

    The Authorization header must be Bearer, a space, then the key. Check the key was not rotated.

  • 422 with a message

    The message says what is missing, such as an email. One bad person does not stop the others in the same call.

  • Signatures never match

    Sign and check the raw body exactly as received, before any JSON parsing. Check the server clock is right.

  • Someone did not get an email

    Open People and sends and find them. A bounced address shows as Bounced: fix it and send again. If Delivery is set to Issue only, nothing is emailed by design.

  • The same person came through twice

    They still hold one credential. A person who already has a live copy gets the same one back and is not emailed again. Send a stable ID with each person to make this exact.

n8n questions

How does n8n connect to Certnest?

Through webhooks: no extra tool to pay for. n8n posts to a Certnest inbound address.

Does the n8n integration cost extra?

Integrations, the API and webhooks are on every Certnest plan, including the free plan with 1,000 credentials a year. Zapier or Make may charge for their own plans.

Can it issue the same person twice by mistake?

No. Every call carries an ID or a retry key. Someone who already holds a live copy of the credential gets the same one back, and is not emailed again.

Is Certnest partnered with n8n?

No. Certnest connects to n8n through its public features. n8n is a trademark of its owner, and this page does not mean they endorse Certnest.

Start issuing from n8n

Free for your first 1,000 credentials a year. No card needed.