Automate Pinterest Analysis & AI-Powered Content Suggestions With Pinterest API n8n Workflow Template

n8n workflow template · 10 nodes · OpenAI

Automate Pinterest Analysis & AI-Powered Content Suggestions With Pinterest API is a free n8n workflow template that runs on a schedule and works with OpenAI, Airtable and Gmail. It has 10 nodes, 4 of them AI nodes (OpenAI Chat Model, AI Agent and Summarization Chain). The notes inside the workflow say: “Scheduled trigger at 8:00am to start the workflow.” To run it, you add your own credentials for Airtable API, Gmail OAuth2 and OpenAI API.

At a glance

Trigger
Schedule Trigger (8:00am Morning Scheduled Trigger)
Nodes
10
Apps
OpenAI, Airtable and Gmail
AI nodes
4
Credentials
3 types
Category
Email automation

Apps and integrations

  • OpenAI
  • Airtable
  • Gmail

Node types used

  • OpenAI Chat Model
  • Airtable Tool
  • Schedule Trigger
  • HTTP Request
  • Code
  • Airtable
  • AI Agent
  • Summarization Chain
  • Gmail

How it works

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.

Scheduled trigger at 8:00am to start the workflow.

This can be updated to your schedule preference as an email with marketing trends can be sent to best fit one's schedule.

Scheduled trigger begin process to gather Pinterest Pin data and store them within Airtable. This data can be referenced or analyzed accordingly.

If you would like to bring in Pinterest Ads data, the data is already labeled as Organic.

This is perfect for those who are creating content calendars to understand content scheduling.

AI Agent will go through Pinterest Pins and analyze any data and trends to be able to reach target audience. The data is then summarized within the Summary LLM.

The summarized results are then sent to the Marketing Manager within an email to help lead content creation efforts.

Nodes in this workflow

The 10 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:

  1. OpenAI Chat Model (OpenAI Chat Model)
  2. Airtable2 (Airtable Tool)
  3. OpenAI Chat Model1 (OpenAI Chat Model)
  4. 8:00am Morning Scheduled Trigger (Schedule Trigger)
  5. Pull List of Pinterest Pins From Account (HTTP Request)
  6. Update Data Field To Include Organic (Code)
  7. Create Record Within Pinterest Data Table (Airtable)
  8. Pinterest Analysis AI Agent (AI Agent)
  9. Pinterest Data Analysis Summary LLM (Summarization Chain)
  10. Send Marketing Trends & Pinterest Analysis To Marketing Manager (Gmail)

Credentials you need

  • Airtable API – used by Airtable2 and Create Record Within Pinterest Data Table
  • Gmail OAuth2 – used by Send Marketing Trends & Pinterest Analysis To Marketing Manager
  • OpenAI API – used by OpenAI Chat Model and OpenAI Chat Model1

Configure your own credentials after importing. Create each credential in n8n, then select it in the node.

How to import into n8n

  1. Download the JSON file with the button above.
  2. In n8n, open a new workflow, select the ... menu and choose Import from File. You can also paste the JSON straight into the editor canvas.
  3. Open each node that shows a warning and select or create its credential.
  4. Read the notes on the canvas, test the workflow with sample data, then activate it.

Do you need somewhere to run it? Read our guide to self-hosted n8n.

Need this customised?

We can adapt this workflow to your apps, data and process, then deploy and support it.

Contact Us