# Automate Facebook Image Posts using Templated’s Native n8n Integration

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

- **Author**: Pedro Campos
- **Published**: 2025-05-27
- **Updated**: 2025-08-22
- **Category**: Automation
- **Tags**: n8n
- **Read time**: 4 min read
- **URL**: https://templated.io/blog/automate-creating-facebook-posts-using-templated-and-n8n/

---

[Templated](https://templated.io/) is an image automation API that can be used to [automate your social media images](https://templated.io/use-cases/image-automation-api/social-media/), including Facebook.

In this particular post, we will be automating the image generation for this platform using n8n. Templated now has a [native n8n integration](https://n8n.io/integrations/templated/), which means you don’t need to use an HTTP node in your workflow.

For this particular tutorial, I will use a template from the Templated’s gallery only; however, if you have the base template already built in some other software (like Canva), you can use that as is in the editor and add layers over it, which you would like to automate.

So, let’s get started!

## Tools You Will Need To Programatically Automate Facebook Images

- **Account on Templated (Get 50 Free Credits when You Sign up)**
- **Google Sheets to maintain a database**
- **Account on n8n**

## Set Up Your Google Sheets Database

Let’s first hop onto our Google Sheets and create our database. I have already created it as per the template and layers I am automating.

First, let’s see my Spreadsheet, & then I will show you what particular template I am using.

Watch the video walkthrough here:

[Watch the video on YouTube](https://www.youtube.com/watch?v=FiJUoAFxa4E)

Vlick to view image in full size. ![0 rGJFtZ4-ctjXDwm5](https://images.ctfassets.net/qclcq9s44sii/3lh5rQNvCmeEOHB4YEoWkQ/6e87ee07d7c351d7d7d4d0c63a93c82f/0_rGJFtZ4-ctjXDwm5.webp) The Spreadsheet for database

As you can see in the tab **“Sheet1”**, row 1 has all the layers I want to change. These are **‘Blog Headings’, ‘Date of Publishing’ & ‘Min Read’**.

Below each particular layer, I have mentioned the text I would like to change.

In tab **‘Sheet2’**, I am taking the output, which will be a URL of the image generated

Press enter or click to view image in full size ![0 mnrkgS0GFIMfqc g](https://images.ctfassets.net/qclcq9s44sii/bafbPkZxTsBBKBzlTI4kC/6c90b39f164673d21844659d9f21b8b4/0_mnrkgS0GFIMfqc_g.webp)

## Choose and Customize a Template in Templated

Now let’s hop to Templated.

As I mentioned earlier, I am using the already present template from this tool.

Press enter or click to view image in full size ![0 b3xonHFwrZsR UGj](https://images.ctfassets.net/qclcq9s44sii/5gpvr8wRXCL1d4SFdoA7aM/c67390c695f6a4a04c001a9aea27cc6a/0_b3xonHFwrZsR_UGj.webp) Let’s open up this template, and do some editing (if needed), further let’s see what layers we will automate.

And the layers that we mentioned in our database are: -

Press enter or click to view image in full size ![0 FVosh3WFzuJ T4QI](https://images.ctfassets.net/qclcq9s44sii/5xxflrHZ4cYDr63tc6v8K9/20696d7cdf37e852eb6254f5a85d859b/0_FVosh3WFzuJ_T4QI.webp) You can see there are 3 layers, and they correspond to the columns in our Spreadsheet.

For this tutorial, I am changing just the text of layers; you can do more with Templated. For instance, you can change text\_font, text\_color, and even the background image.

To understand more about how you can do that, please refer to the [documentation](https://templated.io/docs/).

## Create a Workflow in n8n

Now we know what we want to create, let’s go to n8n now.

### Step 1: Google Sheets → Row Added

In n8n, create a new workflow. We are taking **Google Sheets → Row Added** as the first node.

Press enter or click to view image in full size ![0 JsxdNSpYoGbLacxU](https://images.ctfassets.net/qclcq9s44sii/DGg2HoqGZ2vJrAjDpZoKz/69b9af54d986f9114f9fb96abb80f191/0_JsxdNSpYoGbLacxU.webp) Let’s test this node & see if it gives the right output or not.

**Quick Tip —** It’s good to keep testing every node you build when working with a workflow. This helps to eliminate the issue same time as it may come.

Press enter or click to view image in full size ![0 SyAfeZCBWDZNCi3R](https://images.ctfassets.net/qclcq9s44sii/5jJia8xkp7OAyKl8UQGS4t/68716d904226a2fa0665c18776e141ea/0_SyAfeZCBWDZNCi3R.webp) This node is working perfectly.

### Step 2: Add the Templated Node

Let’s now connect the next node, which will be Templated. If you’re using this node in n8n for the first time, you will have to install it.

Here’s how you do it ⬇️

Press enter or click to view image in full size

![0 5zVhkWCyKUU5iDTl](https://images.ctfassets.net/qclcq9s44sii/193rtZlTITsYltxcwqYCPO/60e72bde661e9608633cb4ca463e8166/0_5zVhkWCyKUU5iDTl.gif) Once installed, you will see the node working, the action in it will be ‘create a render’, & below is the mapping you should do. ⬇️

Press enter or click to view image in full size ![0 Gob4GcjHAoBSIYz5](https://images.ctfassets.net/qclcq9s44sii/1qW9mPiftgd6BpFRCTd9n0/4af4c5016d67cc1bfb84d1bcd603a1c0/0_Gob4GcjHAoBSIYz5.webp) In the same way, I am mapping the other layers too.

Press enter or click to view image in full size ![0 HGHVCSK4tsxn RAh](https://images.ctfassets.net/qclcq9s44sii/1IvGfNgjD9XgUDPwtWDmG1/4ac9e57af92b782f00eb4c375b789fc6/0_HGHVCSK4tsxn_RAh.webp)

### Step 3: Test the Render Output

Let’s now test this step also.

Press enter or click to view image in full size

![0 Sd1knmHmPuZNqDuT](https://images.ctfassets.net/qclcq9s44sii/7Id8GaiahuLDjuYsYeygdJ/b16e2762a696dd4a6abfc0c540399a7d/0_Sd1knmHmPuZNqDuT.webp) It is working correctly, and we are getting the render\_url data point.

Let’s separately check it.

Press enter or click to view image in full size ![0 F0j68icOjBjxfaj](https://images.ctfassets.net/qclcq9s44sii/1UC2ULL4iYmUMOxxiiuPJp/a878feedd9f9be824224e63a2cf6d3da/0__F0j68icOjBjxfaj.webp) As you can see, the same data that we were rendering the image for is marked in the image below.

Press enter or click to view image in full size ![0 -MwBOgQIhUag4qkY](https://images.ctfassets.net/qclcq9s44sii/7fRY7GDUgzuGa6AYTVnkzw/d4ec791cb5cd2121c61d55358969fbad/0_-MwBOgQIhUag4qkY.webp)

### Step 4: Send the Rendered Image Back to Google Sheets

The final step would be to take them back into our Spreadsheet in tab “Sheet2”. Here’s how we will be mapping our last node **‘Google Sheets → Append row’**, taking the blog heading from our first node, and the rendered URL from the Templated node. ↓

Press enter or click to view image in full size ![0 97WbVTOzRnzH64tM](https://images.ctfassets.net/qclcq9s44sii/3zBrxFTXX00bArGDpfIUvC/e0e8f1097b8da55740a456c02431eda2/0_97WbVTOzRnzH64tM.webp) Let’s execute this one also. Below is a GIF that shows how you get your data into the n8n dashboard. With this final step, our database also gets updated.

Press enter or click to view image in full size ![0 GHPL5H3ZiuMMPsbN](https://downloads.ctfassets.net/qclcq9s44sii/1qa7mC9VXBIBUtqdFjaZlY/7409c31133a5b9477ec8870719d83f04/0_GHPL5H3ZiuMMPsbN.gif)

## Wrapping up

Want to use this as is?

Here is the [Blueprint ](https://drive.google.com/file/d/1JG5pMGnif6blLDdsvO0ffr31P6sEgiHc/view)that you can use.

Businesses can use this to scale up this automation to any level as per the [use case](https://templated.io/use-cases/).

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](https://templated.io/blog/automate-shipping-label-with-make-and-templated/)

- [Automate Pinterest Image Generation & Posting using n8n & Templated](https://templated.io/blog/how-to-automate-pinterest-image-generation-and-posting-using-n8n-and-templated/)

- [Automate Certificate Generation with Google Sheets](https://templated.io/blog/automate-certificate-generation-with-google-sheets-and-make/)

- [Canva API (Enterprise) Alternative](https://templated.io/canva-api/)

Alright, so if you have read up until here, a little about me, I am Peter, the founder of Templated.

If you need any help connecting the API to your workflows, you can reach out to me on the chat after signing up for an account. Glad to help! ☺️
