{
  "name": "Automate Pinterest analysis & AI-powered content suggestions with Pinterest API",
  "nodes": [
    {
      "id": "7f582bb4-97cd-458e-a7b7-b518c5b8a4ca",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        540,
        -260
      ]
    },
    {
      "id": "c6772882-468c-4391-a259-93e52daf49d4",
      "name": "Airtable2",
      "type": "n8n-nodes-base.airtableTool",
      "position": [
        700,
        -260
      ]
    },
    {
      "id": "85ea8bec-14c8-4277-b2e3-eb145db0713a",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        920,
        -280
      ]
    },
    {
      "id": "b8f7d0d6-b58f-4a41-a15d-99f4d838bb8c",
      "name": "8:00am Morning Scheduled Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -660,
        -140
      ]
    },
    {
      "id": "593a320d-825e-42f9-8ab6-adafd5288fa5",
      "name": "Pull List of Pinterest Pins From Account",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -340,
        -140
      ]
    },
    {
      "id": "1e6d00fe-2b32-4d46-a230-063254ebab74",
      "name": "Update Data Field To Include Organic",
      "type": "n8n-nodes-base.code",
      "position": [
        -20,
        -140
      ]
    },
    {
      "id": "539de144-dc67-4b14-b58e-2896edb1c3e6",
      "name": "Create Record Within Pinterest Data Table",
      "type": "n8n-nodes-base.airtable",
      "position": [
        260,
        -140
      ]
    },
    {
      "id": "250f5121-437e-4bff-82af-95a156126127",
      "name": "Pinterest Analysis AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        540,
        -440
      ]
    },
    {
      "id": "181e9d89-c0f9-4de2-bdce-9359b967157c",
      "name": "Pinterest Data Analysis Summary LLM",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        900,
        -440
      ]
    },
    {
      "id": "432e7bd7-36b4-4903-8e93-c8bd6e140a04",
      "name": "Send Marketing Trends & Pinterest Analysis To Marketing Manager",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1220,
        -440
      ]
    },
    {
      "id": "dadfb22a-b1d3-459d-a332-5a2c52fd4ca0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -740,
        -320
      ],
      "parameters": {
        "width": 280,
        "height": 440,
        "content": "Scheduled trigger at 8:00am to start the workflow. \n\nThis can be updated to your schedule preference as an email with marketing trends can be sent to best fit one's schedule. "
      }
    },
    {
      "id": "3b156d97-11bf-4d8a-9bd9-c1e23a0592d8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -420,
        -300
      ],
      "parameters": {
        "width": 860,
        "height": 360,
        "content": "Scheduled trigger begin process to gather Pinterest Pin data and store them within Airtable. This data can be referenced or analyzed accordingly. \n\n*If you would like to bring in Pinterest Ads data, t"
      }
    },
    {
      "id": "65586422-a631-477b-833d-5c445b1be744",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -580
      ],
      "parameters": {
        "width": 940,
        "height": 460,
        "content": "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.\n\nThe summarized results are then sent t"
      }
    }
  ],
  "connections": {
    "Airtable2": {
      "ai_tool": [
        [
          {
            "node": "Pinterest Analysis AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Pinterest Analysis AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Pinterest Data Analysis Summary LLM",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Pinterest Analysis AI Agent": {
      "main": [
        [
          {
            "node": "Pinterest Data Analysis Summary LLM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8:00am Morning Scheduled Trigger": {
      "main": [
        [
          {
            "node": "Pull List of Pinterest Pins From Account",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pinterest Data Analysis Summary LLM": {
      "main": [
        [
          {
            "node": "Send Marketing Trends & Pinterest Analysis To Marketing Manager",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Data Field To Include Organic": {
      "main": [
        [
          {
            "node": "Create Record Within Pinterest Data Table",
            "type": "main",
            "index": 0
          },
          {
            "node": "Pinterest Analysis AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pull List of Pinterest Pins From Account": {
      "main": [
        [
          {
            "node": "Update Data Field To Include Organic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}