Library / AI Agents & Assistants
AI Agents & Assistants
Chat with an OpenAI Agent That Calls Sub-Workflows
When a chat message arrives, an OpenAI agent with memory calls other workflows as tools, such as fetching the current date.
What it does
# Stickynote Workflow ## Overview Automated workflow: Stickynote Workflow. This workflow integrates 13 different services: stickyNote, code, merge, summarize, set. It contains 16 nodes and follows best practices for error handling and security. ## Workflow Details - Total Nodes: 16 - Node Types: 13 - Error Handling: ✅ Implemented - Security: ✅ Hardened (no sensitive data) - Documentation: ✅ Complete ## Node Breakdown - Sticky Note: stickyNote - Sticky Note1: stickyNote - When chat message received: chatTrigger - OpenAI: openAi - Simple Memory: memoryBufferWindow - When Executed by Another Workflow: executeWorkflowTrigger - Tool to call the workflow below: toolWorkflow - Tool: Get current date and time: toolCode - List countries?: if - Mapping data: code - ... and 6 more nodes ## Usage Instructions 1. Configure Credentials: Set up all required API keys and credentials 2. Update Variables: Replace any placeholder values with actual data 3. Test Workflow: Run in test mode to verify functionality 4. Deploy: Activate the workflow for production use ## Security Notes - All sensitive data has been removed or replaced with placeholders - Error handling is implemented for reliability - Follow security best practices when configuring credentials ## Troubleshooting - Check error logs if workflow fails - Verify all credentials are properly configured - Ensure all required services are accessible
The steps
- When chat message received
- OpenAI
- Simple Memory
- When Executed by Another Workflow
- Tool to call the workflow below
- Tool: Get current date and time
- List countries?
- Mapping data
- Concatenate country names
- Return country list
- Mapping data1
- Get the matching country's details
- Return specific capital
- Error Handler for de0398ea
15 steps in total.
Similar automations
AI Agents & AssistantsRun Content Creator Agent as a Reusable Sub-workflow6 stepsBuilding Blocks & UtilitiesRun Sub-Workflows in Parallel and Wait for Completion14 stepsBuilding Blocks & UtilitiesTest an n8n Sub-Workflow with Sample Input5 stepsAI Agents & AssistantsChat with a Google Sheet Using an OpenAI Agent14 steps