AI Agents

Automated workflow

6 nodes 200 117 Webhook
Download

Workflow Description

An automated workflow that receives requests via webhook, processes them using an AI agent powered by Gemini, maintains conversation history in memory, and sends responses back instantly.

How it works

  1. 1.Receive incoming request through webhook trigger
  2. 2.Buffer previous conversation context in memory
  3. 3.Process request with AI agent connected to Google Gemini
  4. 4.Execute custom logic with code node if needed
  5. 5.Return response to the calling application

Use cases

  • Build an intelligent assistant that learns from context and improves responses over time
  • Automate complex request processing requiring multi-step interaction
  • Create a smart API that interacts intelligently with external applications

Requirements

  • Valid Google Gemini API key and credentials
  • Configured webhook URL for receiving and sending requests
  • Understanding of AI agent behavior and conversation context management
  • Ability to execute custom code for advanced scenarios

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Memory Gemini AI Agent

Details

Trigger Webhook
Nodes 6
Apps 3
Views 200
Downloads 117

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (6)

Webhook

Webhook

#1

Simple Memory

Memory Buffer Window

#2

Google Gemini Chat Model

Gemini Model

#3

Respond to Webhook

Webhook

#4

correctNaming

Code

#5

Discord AI Response Agent

Agent

#6