· automation · 3 min read
Automate Creating Facebook Posts Using Templated & n8n
Create stunning Facebook posts in bulk using Templated and n8n. This automation lets you turn spreadsheet data into ready-to-publish images, no design skills or manual effort needed.

In this post, we will create Facebook posting images using Templated’s Image Automation API & n8n.
This is simple automation that shows you how you can connect n8n to the Templated API.
At the end of the tutorial, I will also give you the blueprint to use this as is. You can try this whole scenario for free.
Let’s get started!
What Tools We Have Used
Choose or Create a Template
Now, Templated has many templates that you can use; however, if you have your base template in your designing tool, you can download and use it as a single layer in Templated’s editor.
Additionally, you can use our AI Template Generator to create a template from scratch.
For this tutorial, I have used the prebuilt template.
Let's open the template in the editor.
As you can see there are multiple layers in the template, and we aim to change a few keeping the base template same.
Specifically, we are changing these layers:
Set Up the Workflow in n8n
Let’s go to our n8n, if you are not signed up, you can do it now & it offers 14 day of free trial.
Start with “Create Workflow” to create a new scenario in n8n.
Step 1: Connect Google Sheets as the Trigger Node
The first node will be Google Sheets, since we will be taking data from Google sheets, here is the spreadsheet ⬇️
In our n8n, search for Google Sheets ➡️ On row added ⬇️️
Here’s what you have to do in this node.
Let’s test this first node and see if it is giving us the output.
Our first node is working fine, we are getting all the rows’ data.
Step 2: Use HTTP Node to Call Templated API
For the second node, we will use an HTTP request and call the Templated Endpoint for rendering images.
You can see the documentation of Templated to know more about how the API works and all available parameters.
You also need to send headers in the API.
Let’s send the body also.
With that, I am sending the template ID, and parameters.
For the parameter, you need to send each one in the format we have here.
And mapping, we are receiving from the Google Sheets, in the value field.
Step 3: Testing the API Request and Mapping Parameters
Let’s test this setup up until here.
We are getting the rendered URLs, let's also check each one in a new tab.
As you can see, each layer has been mapped right as per our Spreadsheet’s row.
Step 4: Send Rendered Image URLs Back to Google Sheets
The final will allow us to take these rendered URLs in our sheet, all of them at once.
Note: This is a basic tutorial which aims to teach you how to connect to n8n to Templated for creating renders, with an HTTP request used, you can connect it to workflows.
We would take these rendered URLs in Sheet 2 of our spreadsheet, we would take the headline in one column to help us know which link is for what post.
Here’s how we use this last node, and map it to data values below ⬇️
Step 5: Preview Automation in Action
Below is a GIF that shows how the full automation looks like in real time running, and how you get data in your output sheet.
Download the n8n Blueprint
Here is the blueprint — https://drive.google.com/file/d/1FY45eWTx2MCVpw9TVOJXfQTH8_ndu3Rx/view?usp=sharing
Don't forget to put in your own API_Key and the template ID when using the blueprint.
Conclusion
If Facebook is something you get traction from, or an agency that is looking to save time for image generation for a client, this automation helps you do that.
You can use any no-code tool, including Zapier or Make, We already have some of the posts made.
Automate Shipping Labels Using Make & Templated
Automate Certificate Generation with Google Sheets
Canva API (Enterprise) Alternative
Alright, so if you have read up until here, a little about me, I am Peter, the founder of Templated.
Also, if you need any help to connect the API to your workflows, you can reach out to me on my on the chat after signing up to an account. Glad to help! ☺️
Automate your content with Templated