⚒️ Generate AI prompts with Google Gemini and store them in Airtable

2,974 views · ⚒️ Engineering

Description

This workflow is designed to generate prompts for AI agents and store them in Airtable.

It starts by receiving a chat message, processes it to create a structured prompt, categorizes the prompt, and finally stores it in Airtable.

2. Setup Instructions

Prerequisites

Step-by-Step Guide

  1. Clone the Workflow
  1. Configure Credentials
  1. Map Airtable Base and Table
  1. Customize Prompt Template

Configuration Options

4. Running and Troubleshooting

Running the Workflow

  1. Trigger the Workflow: Send a chat message to trigger the workflow.
  2. Monitor Execution: Use the n8n interface to monitor the workflow execution.
  3. Check Completion: Verify that the prompt is stored in Airtable and check the chat interface for the result.

Troubleshooting Tips

  1. Use Case Examples

This workflow is particularly useful in scenarios where you want to automate the generation and management of AI agent prompts.

Here are some examples:

Rapid Prototyping of AI Agents:

Quickly generate and test different prompts for AI agents in various applications.

Industries/Professionals:

Practical Value:

4. Running and Troubleshooting

  1. Activate the workflow in n8n.
  2. Send a chat message to the webhook URL configured in the “When chat message received” node.
  3. Monitor the workflow execution in the n8n editor.

Follow me on Linkedin for more

🔗 Nodes Used

Airtable, Basic LLM Chain, Auto-fixing Output Parser, Structured Output Parser, Chat Trigger, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup