AutomationFlowsGeneral › Gamma: Auto-polling Generation Workflow

Gamma: Auto-polling Generation Workflow

Gamma: Auto-Polling Generation Workflow. Uses gamma. Event-driven trigger; 7 nodes.

Event trigger★★★★☆ complexity7 nodesGamma
General Trigger: Event Nodes: 7 Complexity: ★★★★☆ 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": "Gamma: Auto-Polling Generation Workflow",
  "nodes": [
    {
      "parameters": {},
      "id": "manual-trigger",
      "name": "When clicking 'Test workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "resource": "generation",
        "operation": "create",
        "inputText": "Create a presentation about the benefits of automation",
        "textMode": "generate",
        "format": "presentation",
        "numCards": 10
      },
      "id": "gamma-create",
      "name": "Gamma: Create Generation",
      "type": "n8n-nodes-base.gamma",
      "typeVersion": 1,
      "position": [
        460,
        300
      ],
      "credentials": {
        "gammaApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "amount": 30,
        "unit": "seconds"
      },
      "id": "wait-30s",
      "name": "Wait 30 Seconds",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        680,
        300
      ]
    },
    {
      "parameters": {
        "resource": "generation",
        "operation": "getStatus",
        "generationId": "={{ $('Gamma: Create Generation').item.json.generationId }}"
      },
      "id": "gamma-status",
      "name": "Gamma: Check Status",
      "type": "n8n-nodes-base.gamma",
      "typeVersion": 1,
      "position": [
        900,
        300
      ],
      "credentials": {
        "gammaApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "conditions": {
          "string": [
            {
              "value1": "={{ $json.status }}",
              "operation": "equals",
              "value2": "completed"
            }
          ]
        }
      },
      "id": "if-completed",
      "name": "Is Completed?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 1,
      "position": [
        1120,
        300
      ]
    },
    {
      "parameters": {
        "amount": 30,
        "unit": "seconds"
      },
      "id": "wait-retry",
      "name": "Wait Before Retry",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1340,
        400
      ]
    },
    {
      "parameters": {
        "mode": "passThrough"
      },
      "id": "completed",
      "name": "\u2705 Generation Complete!",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        1560,
        200
      ],
      "notes": "gammaUrl and exportUrl are now available!"
    }
  ],
  "connections": {
    "When clicking 'Test workflow'": {
      "main": [
        [
          {
            "node": "Gamma: Create Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gamma: Create Generation": {
      "main": [
        [
          {
            "node": "Wait 30 Seconds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 30 Seconds": {
      "main": [
        [
          {
            "node": "Gamma: Check Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gamma: Check Status": {
      "main": [
        [
          {
            "node": "Is Completed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Completed?": {
      "main": [
        [
          {
            "node": "\u2705 Generation Complete!",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait Before Retry",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait Before Retry": {
      "main": [
        [
          {
            "node": "Gamma: Check Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}

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

Gamma: Auto-Polling Generation Workflow. Uses gamma. Event-driven trigger; 7 nodes.

Source: https://github.com/gamma-app/n8n-nodes-gamma/blob/5c34d76c6889a07f3a88e01fb69583df97f710c3/examples/auto-polling-workflow.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

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

General

Batch-convert CAD/BIM files to analysis-ready XLSX and optional DAE with automatic verification and a clean HTML report. Runs locally via and PowerShell on Windows.

Execute Command, Write Binary File
General

Community Node Disclaimer: This workflow uses KlickTipp community nodes.

N8N Nodes Klicktipp, Google Calendar Trigger, Google Calendar
General

Sync your Linear issues to Todoist automatically with this n8n workflow. When an issue is created, updated, or completed in Linear, a corresponding task is created, updated, or closed in Todoist. Trig

Todoist, Linear Trigger, Linear
General

Back up n8n workflows to Google Drive automatically This workflow provides a robust solution for backing up your n8n workflows to Google Drive. It is designed to handle backups for multiple n8n instan

Execute Workflow Trigger, n8n, Google Drive
General

This n8n workflow provides automated rsync backup capabilities between servers using password authentication. It automatically installs required dependencies, performs the backup operation from a sour

Execute Command