{
  "name": "Shopify New Product to LinkedIn Post",
  "nodes": [
    {
      "parameters": {
        "authentication": "accessToken",
        "topic": "products/create"
      },
      "type": "n8n-nodes-base.shopifyTrigger",
      "typeVersion": 1,
      "position": [
        -780,
        -20
      ],
      "id": "86056fab-1602-453d-a77c-b8936364cefc",
      "name": "Shopify Trigger",
      "webhookId": "f2c603a8-1663-4b89-80e6-53aaa0508e52",
      "credentials": {
        "shopifyAccessTokenApi": {
          "id": "LDT7KZGWg3Q7LEII",
          "name": "Shopify account"
        }
      }
    },
    {
      "parameters": {
        "person": "05l_02871N",
        "text": "={{ $json.message.content }}",
        "additionalFields": {}
      },
      "type": "n8n-nodes-base.linkedIn",
      "typeVersion": 1,
      "position": [
        -240,
        -20
      ],
      "id": "453b1e41-f662-4f25-b8f6-fb073c978787",
      "name": "LinkedIn",
      "credentials": {
        "linkedInOAuth2Api": {
          "id": "iU5R8MM0hcSRULWy",
          "name": "LinkedIn account"
        }
      }
    },
    {
      "parameters": {
        "modelId": {
          "__rl": true,
          "value": "gpt-4.1-mini",
          "mode": "list",
          "cachedResultName": "GPT-4.1-MINI"
        },
        "messages": {
          "values": [
            {
              "content": "=You are a pro content writer. Create a social media post content for the following Shopify product. \n\nTitle: {{ $json.title }} \nType: {{ $json.product_type }}\nCategory: {{ $json.category.full_name }}\nShop now: https://your-store.myshopify.com/password\nShop_Url:{{ $json.images[0].src }}"
            }
          ]
        },
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "typeVersion": 1.8,
      "position": [
        -600,
        -20
      ],
      "id": "116c8b07-2100-446b-9271-48c747a49894",
      "name": "Create Content from OpenAI",
      "credentials": {
        "openAiApi": {
          "id": "rQ5Y0qCO8fjiEwft",
          "name": "OpenAI account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "Shopify Trigger": {
      "main": [
        [
          {
            "node": "Create Content from OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Content from OpenAI": {
      "main": [
        [
          {
            "node": "LinkedIn",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ea9bcd31-d77d-4dfd-a3a0-dde885d66643",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "f1c26778ec36097a9722a22c47c5e9c01f00b8862dadd0121ec118026a370fa6"
  },
  "id": "Eq7M1kCBXKmLXWLa"
}