Implemented n8n Workflow with GPT Integration
- Day: 2024-12-12
- Time: 15:50 to 16:05
- Project: Dev
- Workspace: WP 2: Operational
- Status: Completed
- Priority: MEDIUM
- Assignee: Matías Nehuen Iglesias
- Tags: N8N, Workflow, GPT, Automation, Openai
Description
Session Goal
The session aimed to implement a ‘Hello Staff Manager’ workflow in n8n, focusing on integrating a Python script and GPT assistant for two-way communication.
Key Activities
- Developed a detailed implementation plan for creating the ‘Hello Staff Manager’ workflow in n8n.
- Explored the use of the Manual Trigger node in n8n workflows, providing a guide to replace the Webhook node for manual execution.
- Set up a manual trigger workflow that integrates with a GPT assistant to query the Staff Manager and send an email response.
- Configured the OpenAI GPT API within the n8n HTTP Request Node, detailing the method, URL, and configuration steps.
- Fixed the OpenAI API request configuration by correctly placing the
modelparameter in the body instead of the headers.
Achievements
Successfully implemented a manual trigger workflow in n8n that integrates with GPT, configured the OpenAI API correctly, and resolved configuration errors.
Pending Tasks
None identified. The workflow and API integration were completed successfully.
Evidence
- source_file=2024-12-12.sessions.jsonl, line_number=6, event_count=0, session_id=a335c8f57ca2ddfddb2d2616d93c433b850ff61f781d1346669d1b20a54880d5
- event_ids: []