Skip to main content
Use the Notion integration when your content lives in a Notion database. You connect a Notion workspace and bind a database to a template. Every new or changed page then renders a PNG or a PDF, and Bannerify writes the link of the file back to the page.

How it works

  1. Notion tells Bannerify that a page was created or that one of its properties changed.
  2. Bannerify reads the page and puts the properties that you mapped into the layers of the template.
  3. Bannerify renders the template and saves the file on its CDN, at a link that starts with https://images.bannerify.co/files/.
  4. Bannerify writes the link to the property that you chose on the same page.
Each render counts as one generation. Quota and limits lists the limits.

Prerequisites

  • A template with named layers. The mapping lists only the layers that have a name.
  • A Notion database with a URL or Text property for the link, such as Rendered URL. Add it before you create the automation.
  • A Notion workspace where you can add connections and share databases.

Connect a Notion workspace

  1. Open Integrations in the dashboard sidebar.
  2. Click Connect Notion.
  3. On the Notion screen, choose the pages and databases to share with Bannerify, then confirm.
Notion sends you back to Integrations. The card now shows the name of the workspace and the Connected badge.
The Notion card with the Connected badge, one automation, and the recent runs

A connected workspace with one automation.

The connection belongs to the Bannerify workspace that you connected from, so every member of that workspace can create automations with it. A Notion workspace can connect to one Bannerify workspace at a time. The card also has a Reconnect and a Disconnect button:

Create an automation

  1. Click New automation.
  2. Enter a Name. If you leave it empty, Bannerify uses the name of the database.
  3. Choose the Notion database, the Template, and the Format: PNG image or PDF.
  4. Under Run when, choose A page is created, A page is updated, or both.
  5. Under Map Notion fields to layers, choose a property for each layer that you want to fill. A layer set to Not mapped keeps the value from the template.
  6. In Write the render URL to, choose a URL or Text property.
  7. Click Create automation.
The mapping list appears after you choose a database and a template. Image layers offer Files properties, and all other layers offer the other property types. A page is updated runs when a property changes. An edit to the body of a page does not run the automation. Each automation has a switch to turn it on or off and a Test button. Test asks for a Notion page link or id, renders that page, and writes the link back, like a normal run. A test render counts as one generation.

What Bannerify sends to the template

Bannerify turns every mapped property into text and sends it to the layer: An image must be a PNG, JPEG, WebP, or SVG file. Notion-hosted file links expire after a short time, and Bannerify fetches the link as soon as it renders.

How properties become text

A blank property gives an empty string. A property of any other type also gives an empty string.

Limits and skipped runs

A run over the render limit fails with the message Rate limited: more than 60 renders in a minute. Notion combines quick edits to a page into one event, and the event usually arrives within a minute. Bannerify skips a run when the values that go into the image are the same as at the last successful run. That covers a second event for the same edit, and the event that follows when Bannerify writes the link back to the page. A skipped run does not render and does not count as a generation.

Check the runs

The Recent runs table on the Integrations page lists the last 20 runs. Each row shows the status, the event, a link to the page, a link to the result or the error, and the time.

Troubleshooting