n8n-nodes-bannerify on npm.
Operations
Both operations return an object with a
url field. Bannerify saves the file on its CDN, and each file counts as one generation.
Prerequisites
- An n8n account that can install community nodes. n8n limits this to the Owner and Admin roles.
- A Bannerify API key.
- A template with named layers. Modifications explains why the names matter.
Install the node
- In n8n, open Settings, then Community nodes.
- Click Install.
- Enter
n8n-nodes-bannerifyas the npm package name. - Accept the risk prompt for unverified code, then click Install.
Add your API key
- Add a Bannerify node to a workflow and create a new credential for it. The credential type is Bannerify API.
- Paste your key in API Key.
- Leave API Base URL as
https://api.bannerify.co. - Save the credential.
Render a file
- Choose an Operation: Render Image or Render PDF.
- In Template, choose a template. The node loads the templates of the workspace that owns the key.
- For Render Image, choose a Format. The default is PNG, and JPEG and WebP are the other options.
- In Modifications JSON, enter the values. Use an expression to read data from an earlier node:
- Run the node. Each output item has a
urlfield.
error field with the error message.
Recipe: form answers to a PDF
- Add a Webhook trigger and point your form tool at its URL.
- Add a Bannerify node and choose Render PDF. Map the answers to layer names in Modifications JSON.
- Add a Send Email node and put the
urlin the message.