Skip to main content

Extract meeting details with GPT-4.1-mini and evaluate accuracy in Google Sheets

Workflow preview

Workflow preview
100%
Extract meeting details with GPT-4.1-mini and evaluate accuracy in Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who's it for Developers building AI powered workflows who want to ensure their agents work reliably. If you need to validate AI outputs, test agent behavior systematically, or build maintainable au...

Best for

  • Engineering automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.set, n8n-nodes-base.evaluationtrigger, n8n-nodes-base.noop, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.if, n8n-nodes-base.stopanderror

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Extract meeting details with GPT-4.1-mini and evaluate accuracy in Google Sheets
Workflow name
Extract meeting details with GPT-4.1-mini and evaluate accuracy in Google Sheets

Who's it for

Developers building AI-powered workflows who want to ensure their agents work reliably. If you need to validate AI outputs, test agent behavior systematically, or build maintainable automation, this template shows you how.

What it does

This subworkflow extracts structured meeting details (title, date, time, location, links, attendees) from natural language messages using an AI agent. It demonstrates production-ready patterns:

  • Structured output validation: JSON schema enforcement prevents malformed responses
  • Error handling: Graceful failures with full execution traceability
  • Automated evaluation: Test agent accuracy against expected outputs using Google Sheets
  • Dual execution modes: Normal extraction + evaluation/testing mode

The AI resolves relative time ("tomorrow", "next Friday") using timezone context and handles incomplete data gracefully.

How to set it up

  1. Connect OpenAI API credential to the AI agent node
  2. Copy the test data sheet: https://docs.google.com/spreadsheets/d/1U89nPsasM2WNv1D7gEYINhDwylyxYw7BOd_i8ipFC0M/edit?usp=sharing
  3. Update Google Sheet IDs in load_eval_data and record_eval_output nodes
  4. Test normal mode: Execute workflow "from trigger"
  5. Test evaluation mode: Execute workflow "from load_eval_data"

Requirements

  • OpenAI API key
  • Google Sheets OAuth credential

Why subworkflow architecture?

Reusability: Wrap AI agents in subworkflows to call them from multiple parent workflows. Extract meetings from Slack, email, or webhooks—same agent, consistent results.

Testability: This pattern enables isolated testing for each AI component. Set up evaluation datasets, run automated tests, and validate accuracy before deploying to production. You can't do this easily with inline agents.

Maintainability: Update the agent logic once, and all parent workflows benefit. Error handling and validation are built-in, so failures are traceable with execution IDs.

This framework includes:

  • Dual-trigger pattern (normal + evaluation modes)
  • Output validation that catches silent AI failures
  • Error bubbling with execution metadata for debugging
  • Evaluation framework with semantic/exact matching
  • Proper routing that returns output to parent workflows

Following this pattern for other agents

To adapt this for any AI task (contact extraction, invoice processing, sentiment analysis, etc.):

  1. Replace extract_meeting_details with your AI agent (add tools, memory, etc. as needed)
  2. Update Structured Output Parser schema to match your data structure
  3. Modify evaluate_match prompt for your validation criteria
  4. Create test cases in Google Sheets with your inputs/expected outputs
  5. Adjust normalize_eval_data timezone/reference time if needed

The validation, error handling, and evaluation infrastructure stays the same regardless of what your agent does.

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 - trigger

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

Block 2 - normalize_trigger_input

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - load_eval_data

Type / Role
n8n-nodes-base.evaluationTrigger - evaluationTrigger
Config choices
Version 4.6

Block 4 - merged_inputs

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

Block 5 - Structured Output Parser

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

Block 6 - OpenAI Chat Model

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

Block 7 - output_fixer

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

Block 8 - OpenAI Chat Model1

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

Block 9 - not_evaluating

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

Block 10 - handle_error

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

Block 11 - normalize_eval_data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - record_eval_output

Type / Role
n8n-nodes-base.evaluation - evaluation
Config choices
Version 4.8

Block 13 - evaluate_match

Type / Role
n8n-nodes-base.evaluation - evaluation
Config choices
Version 4.8

Block 14 - extract_meeting_details

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

Block 15 - validate_output

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

Block 16 - normalize_agent_output

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 17 - Sticky Note

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

Block 18 - Sticky Note1

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

Block 19 - Sticky Note2

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

Block 20 - Sticky Note3

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

Block 21 - Sticky Note4

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

Block 22 - Sticky Note5

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

3. Summary Table

Workflow Extract meeting details with GPT-4.1-mini and evaluate accuracy in Google Sheets
Complexity advanced
Nodes 22
Categories Engineering, AI Summarization
Author Sergey Filippov
Published 06 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12527/12527.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 Extract meeting details with GPT-4.1-mini and evaluate accuracy in Google Sheets do?

Who's it for Developers building AI powered workflows who want to ensure their agents work reliably. If you need to validate AI outputs, test agent behavior systematically, or build maintainable au...

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 Engineering, AI Summarization use case.