· 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.

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

  1. Google Sheets
  2. n8n (Free Trial)
  3. Templated (50 Free Credits on First Sign Up)

templated

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.

Facebook Template

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:

1 6HEt28WZt1U17uoO hkhoA

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.

1 Iv3KXhP 8S-DOup yI7GIQ

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 ⬇️

1 KjWoDpeJL5v3m2zqVY6o8Q

In our n8n, search for Google Sheets ➡️ On row added ⬇️️

1 PJzSDbvNRDM9CGFu5C6hZw

Here’s what you have to do in this node.

1 Z9twpqpUAJp3bIzhxR2nJA

Let’s test this first node and see if it is giving us the output.

1 v8QBTLI9hKxygS-AVeHQEQ (1)

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.

1 H1OgXgTX hl2 WRtz1D hQ

You also need to send headers in the API.

1 pEblnr8SZLqrk72dukWRdw

Let’s send the body also.

1 Q-xeQQpqBCL7cmuI7MJS8Q

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.

1 sAKbCZPqPlag3LdH40VXfg

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.

1 HWbh4MBzpeJ42 o1Gq3wtg

We are getting the rendered URLs, let's also check each one in a new tab.

1 KrxqIWlVUGT5Mlql0FFzGA

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.

1 a6iLsEmN7CO6e0jPGaGsXQ

Here’s how we use this last node, and map it to data values below ⬇️

1 AO9VUMFIMlCmJLVN5urPbA

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.

1 zY7h7J7Pnsuaoj76oRAI7A

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! ☺️

Share:
Automate your images and PDFs with a powerful API

Automate your marketing, social media visuals, banners, PDFs and more with our
 API and no-code integrations

Learn More
Back to Blog

Ready to start generating your images and PDFs?

Sign up to our free trial and try it for yourself

See our latest posts

View all posts »
Top 6 Placid Alternatives for Image Generation You Should Try in 2025

Top 6 Placid Alternatives for Image Generation You Should Try in 2025

Explore 6 top Placid alternatives for image generation in 2025. Ideal for marketers, designers, and creators seeking powerful, innovative tools to enhance content creation with ease and flexibility.

Automate Certificate Generation with Google Forms

Automate Certificate Generation with Google Forms

Easily automate certificate generation using Google Forms and Google Sheets—save time, reduce errors, and streamline the process in just a few steps!

4 Best Image APIs for Automation in 2025

4 Best Image APIs for Automation in 2025

Discover the 4 best image APIs for automation in 2025. From dynamic image generation to streamlined workflows, explore top solutions that help developers and businesses create visuals at scale with speed and precision.

Best Image Editors That You Can Embed on Your Website

Best Image Editors That You Can Embed on Your Website

Looking to add a Canva-like editor to your site? We’ve rounded up five image editors you can embed directly—no redirects, no drop-offs, just smooth user experience.