n8n Workflow Automation Engineer
Budget: $30 – $250 USD
Title
Fix Gmail Draft Threading to Reply to Latest Inbound Message (n8n Workflow)
Description
I have an existing n8n workflow that integrates Gmail and OpenAI (GPT) to auto-generate draft replies for labeled email threads. The structure works, but two issues must be fixed and verified in both test and production.
Tasks
1. The draft is not created as a reply to the sender’s latest inbound message—it’s incorrectly replying to my previous outbound message.
2. The draft is not linked to the correct Gmail thread—it must be saved as a reply within the same conversation.
Requirements
• Ensure the draft targets the most recent inbound message in the thread (customer’s latest email), not my last outbound.
• Ensure the draft is saved inside the correct thread (threadId) and appears as a reply in Gmail’s UI.
• Verify end-to-end in environment and my production account.
• Deliver the corrected .json workflow and provide brief follow-up support until it works in production.
Deliverables
• Working .json n8n workflow
Fix Gmail Draft Threading to Reply to Latest Inbound Message (n8n Workflow)
Description
I have an existing n8n workflow that integrates Gmail and OpenAI (GPT) to auto-generate draft replies for labeled email threads. The structure works, but two issues must be fixed and verified in both test and production.
Tasks
1. The draft is not created as a reply to the sender’s latest inbound message—it’s incorrectly replying to my previous outbound message.
2. The draft is not linked to the correct Gmail thread—it must be saved as a reply within the same conversation.
Requirements
• Ensure the draft targets the most recent inbound message in the thread (customer’s latest email), not my last outbound.
• Ensure the draft is saved inside the correct thread (threadId) and appears as a reply in Gmail’s UI.
• Verify end-to-end in environment and my production account.
• Deliver the corrected .json workflow and provide brief follow-up support until it works in production.
Deliverables
• Working .json n8n workflow