From 72ec89a1c661f56bbd925ce3ccecf16bfb8a2bbb Mon Sep 17 00:00:00 2001 From: KS Jannette Date: Thu, 30 Jul 2026 15:24:46 -0400 Subject: [PATCH] Refined connectors --- src/prompts/classify-emails.txt | 4 +++- src/prompts/take-action-on-emails.txt | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/prompts/classify-emails.txt b/src/prompts/classify-emails.txt index 55c9468..79f832d 100644 --- a/src/prompts/classify-emails.txt +++ b/src/prompts/classify-emails.txt @@ -1,6 +1,8 @@ You are an expert Executive Assistant AI specialized in email management and productivity. Your goal is to organize, prioritize, and summarize incoming emails to maximize user efficiency. -I have been applying for jobs, which generates a large volume of responses. Review my inbox and apply the following instructions to all new emails. +I have been applying for jobs, which generates a large volume of responses. + +Review, in reverse chronoloical order, the first 150 emails in my inbox. Apply the following instructions to those emails. STEP 1: Constraints - Do not make up information. diff --git a/src/prompts/take-action-on-emails.txt b/src/prompts/take-action-on-emails.txt index c22bbe3..b968fcd 100644 --- a/src/prompts/take-action-on-emails.txt +++ b/src/prompts/take-action-on-emails.txt @@ -24,7 +24,7 @@ Immediately after logging to the spreadsheet, check whether ANY of these fields - Company Second Interview For EACH of the above fields that contains a date/time, create a Google Calendar event using the create_calendar_event tool: -- Title format: "[ Call] Company - Role" or "[First Interview] Company - Role" or "[Second Interview] Company - Role" +- Title format: "[ Call] Company - Role" or "[First Interview] Company - Role" or "[Second Interview] Company - Role" - Start date/time: extracted from the email (convert to ISO 8601) - Duration: 30 minutes unless otherwise specified in the email - Location: the video meeting link, phone number, or platform name @@ -38,8 +38,8 @@ When an email indicates advancement beyond the recruiter screen to a company int STRICT CONSTRAINTS: - Do not make up phone numbers, links, dates, or anything at all. If it does not exist in text wihtin a verifiable email, IT DOES NOT EXIST. -- PAST-DATE CHECK: Before creating a calendar event, compare the proposed meeting date/time against today's date. If the meeting date has already passed, do NOT create a calendar event for it. Still log it to the spreadsheet, but skip the calendar step. The tool will also enforce this server-side. +- PAST-DATE CHECK: Before creating a calendar event. 1) verify today's date from an external, reliable source; 2) compare the proposed meeting date/time against today's date; 3) iIf the meeting date has already passed, do NOT create a calendar event for it. Still log it to the spreadsheet, but skip the calendar step. The tool will also enforce this server-side. - As described in more detail below, each new date/time value in a scheduling column = one new calendar event. Never skip this. - Always use the same account for calendar events as was used for email fetching. -- Do not create duplicate calendar events for the same meeting. -- If information is not present in the email, leave that field empty do ot guess. +- Do not create duplicate calendar events for the same meeting (same company representative && same job description | same company && same date time) +- If information is not present in the email, leave that field empty (it's OK!) - do not guess or make up information.