n8n workflow template · 7 nodes · Bannerbear
Speed Up Social Media Banners With BannerBear.com is a free n8n workflow template that starts when someone submits an n8n form and works with Bannerbear, Discord and OpenAI. It has 7 nodes, 1 of them AI nodes (OpenAI). The notes inside the workflow say: “Join the Discord or ask in the Forum!” To run it, you add your own credentials for Bannerbear API, Discord Bot, HTTP Query Auth and OpenAI API.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
Join the Discord or ask in the Forum!
Read more about using forms
For this demo, we'll use the form trigger for simple data capture but you could use webhooks for better customisation and/or integration into other workflows.
Read more about using OpenAI
Generating AI images is just as easy as generating text thanks for n8n's OpenAI node. Once completed, OpenAI will return a binary image file. We'll have to store this image externally however since we can't upload it directly BannerBear. I've chosen to use Cloudinary CDN but S3 is also a good choice.
AI generated images can get quite large (20mb+) which may hit filesize limits for some services. I've used Cloudinary's optimise API to reduce the file size before sending to BannerBear.
Read more about the BannerBear Node
Now with your generated AI image and template variables, we're ready to send them to BannerBear which will use a predefined template to create our social media banner.
Read more about using the Discord Node
We'll share our event banner with our community in Discord. You can also choose to post this on your favourite social media channels.
Here is a screenshot of the generated banner.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
The 7 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:
Configure your own credentials after importing. Create each credential in n8n, then select it in the node.
Do you need somewhere to run it? Read our guide to self-hosted n8n.
We can adapt this workflow to your apps, data and process, then deploy and support it.
Contact Us