Trigger AI Agent with Context Memory and X Publishing
Workflow Description
Workflow that launches an intelligent agent powered by OpenAI with rolling context memory, receives input via HTTP, and automatically posts results to Twitter/X. Enables contextual, hands-free intelligent responses that maintain conversation history across interactions.
How it works
- 1.Receive HTTP request or activate workflow trigger directly
- 2.Pass input data to AI agent while storing context in memory buffer
- 3.Process query through OpenAI model and generate response
- 4.Publish result to Twitter/X account automatically
Use cases
- Post contextually relevant messages to X based on external triggers or user queries
- Build an interactive assistant that learns from context and maintains memory of past conversations
Requirements
- Valid API keys for OpenAI and Twitter/X
- HTTP Webhook endpoint configured for receiving inputs (optional)
- Clear system prompt and instructions for the AI agent
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (13)
When Executed by Another Workflow
Execute Workflow Trigger
CoinMarketCap Crypto Agent
Agent
Crypto Agent Brain
OpenAI
Crypto Agent Memory
Memory Buffer Window
CoinMarketCap Price
HTTP Request
Crypto Map
HTTP Request
Crypto Info
HTTP Request
Crypto Listings
HTTP Request
Global Metrics
HTTP Request
Price Conversion
HTTP Request
Crypto Agent Guide
Sticky Note
Usage & Examples
Sticky Note
Errors & Licensing
Sticky Note