AutomationFlowsAI & RAG › AI Content Summary Generation

AI Content Summary Generation

AI Content Summary Generation. Uses googleGeminiChatModel. Webhook trigger; 4 nodes.

Webhook trigger★★☆☆☆ complexityAI-powered4 nodesGoogle Gemini Chat Model
AI & RAG Trigger: Webhook Nodes: 4 Complexity: ★★☆☆☆ AI nodes: yes Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "AI Content Summary Generation",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "summary",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "webhook-summary",
      "name": "Webhook (Summary)",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "model": "gemini-1.5-flash",
        "messages": [
          {
            "role": "user",
            "content": "Create a concise, engaging summary for a social media campaign based on the following topic and description.\\n\\nTopic: {{$node[\\\"Webhook (Summary)\\\"].json[\\\"topic\\\"]}}\\n\\nDescription: {{$node[\\\"Webhook (Summary)\\\"].json[\\\"description\\\"]}}\\n\\n{{#if $node[\\\"Webhook (Summary)\\\"].json[\\\"user_style\\\"]}}Style: {{$node[\\\"Webhook (Summary)\\\"].json[\\\"user_style\\\"]}}\\n{{/if}}{{#if $node[\\\"Webhook (Summary)\\\"].json[\\\"user_focus\\\"]}}Focus: {{$node[\\\"Webhook (Summary)\\\"].json[\\\"user_focus\\\"]}}\\n{{/if}}{{#if $node[\\\"Webhook (Summary)\\\"].json[\\\"brand_info\\\"]}}Brand: {{$node[\\\"Webhook (Summary)\\\"].json[\\\"brand_info\\\"]}}\\n{{/if}}\\n\\nProvide a compelling summary suitable for social media content creation."
          }
        ],
        "options": {}
      },
      "id": "gemini-summary",
      "name": "Gemini (Summary)",
      "type": "n8n-nodes-base.googleGeminiChatModel",
      "typeVersion": 1,
      "position": [
        600,
        300
      ],
      "credentials": {
        "googleGeminiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "values": {
          "string": [
            {
              "name": "summary",
              "value": "={{ $node[\\\"Gemini (Summary)\\\"].json[\\\"messages\\\"][0][\\\"content\\\"] }}"
            },
            {
              "name": "user_id",
              "value": "={{ $node[\\\"Webhook (Summary)\\\"].json[\\\"user_id\\\"] }}"
            },
            {
              "name": "post_id",
              "value": "={{ $node[\\\"Webhook (Summary)\\\"].json[\\\"post_id\\\"] }}"
            }
          ]
        },
        "options": {}
      },
      "id": "set-summary-output",
      "name": "Set Summary Output",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.2,
      "position": [
        840,
        300
      ]
    },
    {
      "parameters": {
        "respondWith": "json",
        "responseBody": "={{ $node[\\\"Set Summary Output\\\"].json }}"
      },
      "id": "respond-to-backend",
      "name": "Respond to Backend",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1,
      "position": [
        1080,
        300
      ]
    }
  ],
  "connections": {
    "Webhook (Summary)": {
      "main": [
        [
          {
            "node": "Gemini (Summary)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini (Summary)": {
      "main": [
        [
          {
            "node": "Set Summary Output",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Summary Output": {
      "main": [
        [
          {
            "node": "Respond to Backend",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {},
  "staticData": null
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

AI Content Summary Generation. Uses googleGeminiChatModel. Webhook trigger; 4 nodes.

Source: https://github.com/GaneshICOGZ/post-automation/blob/3f72fd08f7c408ae0f312f40116c7c0b645d44fa/n8n/summary_workflow.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

AI Content Post Generation. Uses googleGeminiChatModel, openAi. Webhook trigger; 8 nodes.

Google Gemini Chat Model, OpenAI
AI & RAG

6. 회의록자동요약 (최종). Uses googleGemini, googleDrive, notion. Webhook trigger; 13 nodes.

Google Gemini, Google Drive, Notion
AI & RAG

6. 회의록자동요약 (최종). Uses googleGemini, googleDrive, notion. Webhook trigger; 13 nodes.

Google Gemini, Google Drive, Notion
AI & RAG

Webhook → Jira “Bug Suspicion” → Slack QA Escalation. Uses openAi, jira, slack. Webhook trigger; 12 nodes.

OpenAI, Jira, Slack
AI & RAG

EvolutionAPI Live. Uses httpRequest, openAi. Webhook trigger; 12 nodes.

HTTP Request, OpenAI