📅 2024-12-12 — Session: Implemented n8n Workflow with GPT Integration

🕒 15:50–16:05
🏷️ Labels: N8N, Workflow, GPT, Automation, Openai
📂 Project: Dev
⭐ Priority: MEDIUM

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 model parameter 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.