Parse natural language dates with OpenAI GPT-4o for smart scheduling
Ready for 3.0What this workflow does
This AI workflow has 5 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model and HTTP Request. It also calls mcp-dateparser.jaredco.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set User Input (Edit Fields (Set)): sets 1 field: userInput
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Natural Language Date Parser)
Services it uses
HTTP calls to: mcp-dateparser.jaredco.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (5)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Http Request Tool
n8n-nodes-base.httpRequestTool - Edit Fields (Set)
n8n-nodes-base.set - Manual Trigger
n8n-nodes-base.manualTrigger
From the author
This n8n workflow demonstrates how to transform natural language date and time expressions into structured data with 96%+ accuracy. Parse complex expressions like "early next July", "2 weeks after project launch", or "end of Q3" into precise datetime objects…