Refresh Cody Conversation Context From Email
Keep an active Cody conversation connected to the documents that matter when a related request arrives.
Trigger
New Gmail Message Received Trigger
Triggers when a new message is received in Gmail.
Action
Update Conversation
Tool to update a conversation by its ID including name, bot_id, and document_ids. Use when you need to modify an existing conversation's properties.
Why this helps
A useful Cody conversation may lose relevance when its document context is not kept current with new work.
- Keep relevant documents associated with active discussions
- Reduce manual context maintenance
- Make ongoing Cody conversations more useful
Setup
Build it in a few focused steps.
- 1Connect Gmail and Cody once in the Notis portal.
- 2Create an automation by explaining the result to Notis in a channel or Automations, New Automation.
- 3In one instruction, ask Notis to find a related Cody conversation and update its document associations with relevant existing Cody documents.
- 4Pick New Gmail Message Received as the trigger and select a report channel.
- 5Test with one email about an active Cody discussion and confirm the update.
Questions about this workflow
Can this update a conversation's name or bot?
The Update Conversation action supports updating its name, bot ID, and document IDs. This workflow focuses on relevant document associations.
Does it create new documents from the email?
No. It associates relevant existing Cody documents with a conversation.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Gmail to Cody. A trigger fires from one place; an action lands in another.
Gmail triggers
Cody actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Conversation
Tool to create a new conversation with a specified bot. Use when starting a new conversation thread with optional focus mode to limit bot's knowledge base to specific documents.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create Document
Tool to create a new document with text or HTML content in Cody AI. Use when you need to add documents to Cody's knowledge base with up to 768 KB of content.
Email Sent
Triggers when a Gmail message is sent by the authenticated user. It polls the 'SENT' label and emits metadata including sender, recipients, subject, timestamp, and thread ID.
Create Document From File
Tool to create a document by uploading a file (up to 100 MB). Supports txt, md, rtf, pdf, ppt, pptx, pptm, doc, docx, docm formats. Use when you need to add file-based documents to Cody's knowledge base. The file is processed asynchronously.
New Gmail Message Received Trigger
Triggers when a new message is received in Gmail.
Create Document from Webpage
Tool to create a document from a publicly accessible webpage URL. Use when you need to import content from a webpage into Cody AI. The webpage must be accessible without login. If request fails, ensure the URL is publicly accessible and not blocked by a firewall.
Create Folder
Tool to create a new folder in Cody AI for organizing content. Use when you need to create a folder to organize documents or conversations.
Delete Conversation
Tool to delete a conversation by its ID. Use when you need to permanently remove a conversation from the system.
Delete Document
Tool to delete a document by id. Use when removing a document that is no longer needed.
Get Conversation
Tool to fetch a conversation by its ID from Cody AI. Use when you need to retrieve details about a specific conversation. Supports optional includes parameter to filter response to list document IDs.
Connect any two apps with Notis in the middle.
Gmail and Cody, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Cody.