{
  "name": "Generate marketing graphics with Adobe Firefly, Slack and Google Drive",
  "nodes": [
    {
      "id": "7588c6a3-9762-4605-aa00-7157c8968b6a",
      "name": "Main Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1296,
        -208
      ],
      "parameters": {
        "width": 1716,
        "height": 1240,
        "content": "# n8n Adobe Firefly AI Automation\n## Generate Marketing Graphics Instantly\n\n---\n\n### Description\nThis workflow connects n8n to the Adobe Firefly API to automatically generate branded marketing graphic"
      }
    },
    {
      "id": "d05e7bff-4452-40e2-b5ac-176035ba4729",
      "name": "Flow Map",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        224
      ],
      "parameters": {
        "width": 628,
        "height": 440,
        "content": "## 1. Builds 4 optimized Firefly prompt variations \n"
      }
    },
    {
      "id": "1bcb037c-963a-4ac2-b496-7969feb3f0ac",
      "name": "Receive Campaign Brief",
      "type": "n8n-nodes-base.webhook",
      "position": [
        544,
        448
      ]
    },
    {
      "id": "fa82652e-21fa-4abd-96b6-7ffa19a28089",
      "name": "Set Adobe Credentials",
      "type": "n8n-nodes-base.set",
      "position": [
        768,
        448
      ]
    },
    {
      "id": "ff672f8e-4b09-474b-8988-455003a8b699",
      "name": "Build Firefly Prompts",
      "type": "n8n-nodes-base.code",
      "position": [
        976,
        448
      ]
    },
    {
      "id": "8b9d9b2f-e450-4c2b-b90f-400235dc7060",
      "name": "Call Firefly Generate API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1408,
        448
      ]
    },
    {
      "id": "00c4a4cf-6d59-4b03-9927-776f1b996277",
      "name": "Parse Asset Results",
      "type": "n8n-nodes-base.code",
      "position": [
        1632,
        448
      ]
    },
    {
      "id": "17fac90b-c05f-4f8c-99ad-e5c0af589246",
      "name": "Save Manifest to Drive",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1872,
        304
      ]
    },
    {
      "id": "f87d16f1-2eab-484a-b3e0-2555a17ca444",
      "name": "Notify Slack Team",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1872,
        528
      ]
    },
    {
      "id": "0f5ce2ae-4d5c-43ff-8761-25e6df5868bc",
      "name": "Return Asset Package",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2112,
        448
      ]
    },
    {
      "id": "f41cda98-b3c2-4aa5-9485-8743665228d4",
      "name": "Wait For Data",
      "type": "n8n-nodes-base.wait",
      "position": [
        1184,
        448
      ]
    },
    {
      "id": "7fcf0f39-6f8c-4e0d-9d44-4773120c87bc",
      "name": "Flow Map1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1792,
        224
      ],
      "parameters": {
        "width": 628,
        "height": 440,
        "content": "## 3. Notification "
      }
    },
    {
      "id": "35799768-4ac7-4002-bac0-8d0f27aac99c",
      "name": "Flow Map2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        224
      ],
      "parameters": {
        "width": 596,
        "height": 440,
        "content": "## 2.  Parses the response, extracts all image URLs, and builds the delivery package\n"
      }
    }
  ],
  "connections": {
    "Wait For Data": {
      "main": [
        [
          {
            "node": "Call Firefly Generate API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Slack Team": {
      "main": [
        [
          {
            "node": "Return Asset Package",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Asset Results": {
      "main": [
        [
          {
            "node": "Save Manifest to Drive",
            "type": "main",
            "index": 0
          },
          {
            "node": "Notify Slack Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Firefly Prompts": {
      "main": [
        [
          {
            "node": "Wait For Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Adobe Credentials": {
      "main": [
        [
          {
            "node": "Build Firefly Prompts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Campaign Brief": {
      "main": [
        [
          {
            "node": "Set Adobe Credentials",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Manifest to Drive": {
      "main": [
        [
          {
            "node": "Return Asset Package",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Call Firefly Generate API": {
      "main": [
        [
          {
            "node": "Parse Asset Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}