Skip to main content

Generate research-backed infographics with GPT-4, kie.ai, and Gmail

Workflow preview

Workflow preview
100%
Generate research-backed infographics with GPT-4, kie.ai, and Gmail preview
Open on n8n.io

1. Workflow Overview

How it works A web form collects your infographic parameters: headline, topic, art style, layout, color palette, aspect ratio, resolution, etc. An AI Agent (GPT 4 with live web search) researches y...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.switch, n8n-nodes-base.gmail, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.wait, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by George Dan.

Original n8n.io source

1.1 Workflow description

Title
Generate research-backed infographics with GPT-4, kie.ai, and Gmail
Workflow name
Generate research-backed infographics with GPT-4, kie.ai, and Gmail

How it works

  • A web form collects your infographic parameters: headline, topic, art style, layout, color palette, aspect ratio, resolution, etc.
  • An AI Agent (GPT-4 with live web search) researches your topic and writes an optimized prompt for the image generator
  • The prompt is submitted to kie.ai's nano-banana-pro model to generate the infographic
  • The workflow polls kie.ai every 15 seconds until the image is ready (up to ~5 minutes)
  • On success, the finished infographic is emailed to you as an attachment; on failure, a detailed error email is sent instead

Set up steps

  • Set up takes about 5 minutes
  • Add your OpenAI API key (for the AI research agent)
  • Add your kie.ai API key as a Header Auth credential (used by the generate and polling nodes)
  • Connect your Gmail account and update the recipient email address in the two Gmail nodes
  • Activate the workflow and open the form URL to start generating

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Build Image Prompt

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 2 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 3 - Generate Infographic

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 4 - Route by Job Status

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.3

Block 5 - Download Generated Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 6 - Email Image to User

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 7 - Researcher

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 8 - Polling Delay (15s)

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 9 - Increment Retry

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Check Timeout

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Check Job Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 12 - Prepare Error Email

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Send Error Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 14 - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Section: User Input

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Section: AI Prompt Engineering

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Section: Generate and Poll

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Section: Success Path

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Section: Error Handling

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate research-backed infographics with GPT-4, kie.ai, and Gmail
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author George Dan
Published 11 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14000/14000.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate research-backed infographics with GPT-4, kie.ai, and Gmail do?

How it works A web form collects your infographic parameters: headline, topic, art style, layout, color palette, aspect ratio, resolution, etc. An AI Agent (GPT 4 with live web search) researches y...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.