Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/check-which-deal-an-email-belongs-to && curl -fsSL https://botcurrent.com/skills/check-which-deal-an-email-belongs-to/SKILL.md -o ~/.claude/skills/check-which-deal-an-email-belongs-to/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/check-which-deal-an-email-belongs-to && curl -fsSL https://botcurrent.com/skills/check-which-deal-an-email-belongs-to/SKILL.md -o ~/.agents/skills/check-which-deal-an-email-belongs-to/SKILL.md
We check every skill file before we offer it. This one is the prompt above in skill form.
Passed Skill file is well formed
Passed Runs its own code or programs
Passed Connects to the internet from code
Passed Touches passwords, keys or private files
Passed Deletes or overwrites things in bulk
Passed Hidden or scrambled code
Passed Tries to override your instructions
Passed Invisible characters in the text
Passed Sends your data somewhere else
Passed Can pay or buy without asking you
Passed Downloads or installs other software
Passed Has a password or key written into it
Passed Asks for admin (sudo) rights
Files scanned: SKILL.md. Links to: botcurrent.com. Fingerprint: 81bca64bc4dc. What we check
Tried it? Did it work for you?
Tell us what went wrong and we’ll fix the prompt: email us.
Votes count only if you allowed optional analytics.
What you'll get
A table of emails with the deal each one matches, the line that shows it and any unclear cases.
You'll need
The email text
A list of open deals for that account
Which deal each email is logged to now
Before you switch it on
Reads only
If you give this job to an agent that works in your accounts:
Access it needs
Your inbox and CRM
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything
The prompt ends with a guard line, because emails and web pages can hide instructions for your agent. Why it’s there
Heads up: Remove personal details you don't need before you paste emails.
More details: full instructions, sources and safeguards
Before you begin
No CRM edits or external disclosures. Shared contacts do not establish deal relevance; owner approval and access boundaries control any later correction.
Use this in your own AI tool
Copy the starter, then open your own AI tool.
Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
Review the draft and held questions. Any later action needs separate approval.
What you need
Permitted message excerpts, deal catalogue and current association snapshot.
Exact identifiers, account boundary and approved contextual-match rules.
An association ledger preserving message/deal IDs, the matching rule, supporting passage and ambiguous or conflicting candidate links.
Start here
01Separate new message text from quoted history.
02Map supported identifiers while retaining multiple or unresolved candidates.
03Outline current-versus-proposed associations and access-limited reviewer questions.
Advanced prompt — full instructions and safeguards
Copy a prompt for this task
Suggested prompt · untested
Replace the placeholders with your details. This suggested prompt does not run anything or grant access.
Select and copy the text manually if automatic copying is unavailable.
Inputs, access and approval
Inputs:
deal_scope.csv: Opaque deal IDs, approved project/site references, allowed stakeholder tokens, active intervals and explicit scope descriptions.
message_excerpts.json: message IDs, timestamps, subject/body excerpts and current association IDs; exclude attachments and unrelated threads.
association_rules.json: Permitted identifier matching, multi-deal handling, restricted-field rules and a reviewer-provided scope dictionary.
Approval: The artifact is advisory; any relinking, deletion, access change or communication requires separate authorization. Any source mutation, account access, upload, external communication, commercial commitment, payment or changed permission requires separate appropriate authorization. Keep outputs private and draft-only. Before any external communication, upload, live change, spend, commitment or permission change, show the exact action, target, data or content and consequences, then wait for separate appropriate approval. This prompt does not authorize those actions.
Use uploaded inputs first. Confirm scoped authorization before using a read-only connection. Missing inputs or access require an upload or clarification.
Original BotCurrent suggested prompt based on the linked example. Original source · Author not recorded. Editorial review does not establish execution success or current compatibility.
Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
Existing exact companion. Original test disclosures, if any, remain in the retained source notes. No connected workflow execution is implied.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
one_off_manual. No runtime or schedule is activated by BotCurrent.
The CRM owner provides a permitted deal-ID dictionary and account/site boundaries. The reviewer has no authority to broaden email or deal visibility.
Distinguish message-level relevance from contact affiliation. A shared contact, current owner or recent date is insufficient to prove a message belongs to a deal.
Before any pilot, confirm an actual unresolved need and approve minimized copies, processing environment, retention and recipients. This design does not authorize execution.
Inputs and access
Name
deal_scope.csv
Source or owner
Revenue operations owner
Scope
Opaque deal IDs, approved project/site references, allowed stakeholder tokens, active intervals and explicit scope descriptions.
Sensitivity
Synthetic fixture only. Real commercial, personal, location or financial records need approved minimization and handling. No credentials are required.
Permission needed
Specific owner approval before any real-data pilot; no live access, uploads or external transmission authorized.
Name
message_excerpts.json
Source or owner
Authorized mailbox or CRM custodian
Scope
Synthetic message IDs, timestamps, subject/body excerpts and current association IDs; exclude attachments and unrelated threads.
Sensitivity
Synthetic fixture only. Real commercial, personal, location or financial records need approved minimization and handling. No credentials are required.
Permission needed
Specific owner approval before any real-data pilot; no live access, uploads or external transmission authorized.
Name
association_rules.json
Source or owner
CRM owner
Scope
Permitted identifier matching, multi-deal handling, restricted-field rules and a reviewer-provided scope dictionary.
Sensitivity
Synthetic fixture only. Real commercial, personal, location or financial records need approved minimization and handling. No credentials are required.
Permission needed
Specific owner approval before any real-data pilot; no live access, uploads or external transmission authorized.
Human approval boundaries
Before a pilot, the accountable owner approves exact synthetic/minimized copies, processing environment, retention and allowed recipients.
Owner validates identity mappings, authority, status definitions and all unresolved evidence.
Any source mutation, account access, upload, external communication, commercial commitment, payment or changed permission requires separate appropriate authorization.
Source evidence, attribution & limitations
Full source evidence
Proposed · Not tested
Original task title: Check which deal an email actually supports
Proposed · Not tested. This is an original editorial plan. Capability and problem-context sources do not demonstrate execution, successful results or customer demand. Platform compatibility is unknown and untested.
Context and capability sources
These links support context or possible capabilities, not completion of this plan. Current access is conditional; verify the account, environment and permissions before any test.
https://www.reddit.com/r/hubspot/comments/1to2arv/issues_with_email_to_deal_association_when/ Problem context only; current need and agent compatibility remain unverified. Publication date: Unknown. A user describes email histories mixing across several open deals and worries that broad associations expose unrelated deal material. The author says third-party combinations were only partly satisfactory. Replies offer scripts; they do not establish an agent implementation. The original rendered only a relative publication age. Historical or dated report; no current customer need established.
https://learn.chatgpt.com/docs/get-started-with-work General capability context only; verify this plan’s requirements before any pilot. Publication date: Unknown. Work uses supplied files, plugins and approved tools for multi-step tasks and reviewable outputs. Desktop resources depend on available tools; local/cloud access differs. Specific workflow compatibility, guaranteed correctness, or universally available account access.
Manual prompt · reviewed mapping, untested
On demand · Finite instructions. A workflow design has not been supplied for this mapping.
Use the accepted prompt’s input, access and approval requirements. Selecting or copying it grants no access and starts no workflow.
Before a pilot, the accountable owner approves exact synthetic/minimized copies, processing environment, retention and allowed recipients. Owner validates identity mappings,…Read full note
Before a pilot, the accountable owner approves exact synthetic/minimized copies, processing environment, retention and allowed recipients. Owner validates identity mappings, authority, status definitions and all unresolved evidence. Any source mutation, account access, upload, external communication, commercial commitment, payment or changed permission requires separate appropriate authorization.
Proposed approval gates; untested.
Setup notes
The CRM owner provides a permitted deal-ID dictionary and account/site boundaries. The reviewer has no authority to broaden email or deal visibility. Distinguish message-level…Read full note
The CRM owner provides a permitted deal-ID dictionary and account/site boundaries. The reviewer has no authority to broaden email or deal visibility. Distinguish message-level relevance from contact affiliation. A shared contact, current owner or recent date is insufficient to prove a message belongs to a deal. Before any pilot, confirm an actual unresolved need and approve minimized copies, processing environment, retention and recipients. This design does not authorize execution.
Proposed setup; untested.
Cost
No measured time saving, current demand, ROI or price claim. Compare the simpler remedy first.No measured cost or time added.
Content depth
Original plan · untestedDepth does not establish successful execution.
Emails attached to several open deals can make unrelated deal histories appear complete and expose irrelevant commercial context.
Suggested task
Evaluate permitted email excerpts against explicit deal identifiers and scope evidence, then produce a proposed association map with ambiguity and access boundaries.
What you could produce
A message-to-deal evidence matrix and restricted exception queue; no CRM associations are changed.
Why an agent / simpler alternative
Mixed narrative and structured evidence can benefit from assisted extraction and explanation. Identity joins, interval calculations and totals require deterministic checks. A supported native report, query or spreadsheet is preferable when it answers the owner’s question reliably.
When this work comes up
Role
Revenue operations coordinator
Trigger
A handoff or deal review includes a contact with several simultaneous opportunities.
Human approval
Owner approves scope, rules and evidence interpretation. Any operational action requires separate appropriate authorization.
Finished output
A message-to-deal evidence matrix and restricted exception queue; no CRM associations are changed.
Proposed evaluation scope — no pilot authorized
Scope
One account, no more than five concurrent deals and 40 synthetic message excerpts; no attachments or live mailbox access.
Limit origin
Editorial evaluation bound, not a verified platform limit.
Overflow action
Stop and ask for approved partitioning; no silent truncation.
Pilot authorized
No
Evidence boundary
Firsthand reports establish stated friction or concerns only. O*NET provides duty context. Official documents establish limited native features or general primitives. This workflow, safeguards, fixtures and outputs are original proposals, not source-documented executions.
Proposed steps
1
Freeze the selected deal catalogue, permitted message excerpts and association snapshot; reject any source outside the authorized account boundary.
Output: association_input_manifest.json
Expected output: association_input_manifest.json
Checkpoint: Every message ID and source span is accounted for; omitted restricted content is recorded without reproducing it.
Approval gate: Owner approves exact scope, copies and rule definitions before any pilot.
2
Extract explicit project references, order identifiers and site names from each allowed message, keeping quoted history separate from newly written text.
Output: message_reference_evidence.csv
Expected output: message_reference_evidence.csv
Checkpoint: A reference copied in a forwarded thread is not automatically evidence of the current message’s purpose.
Approval gate: Owner resolves ambiguous source language and evidence authority.
3
Create candidate edges only from owner-approved exact identifiers or explicit contextual matches; retain multiple candidates when the text addresses several projects.
Output: candidate_deal_edges.csv
Expected output: candidate_deal_edges.csv
Checkpoint: Shared people and recency are weak context, never sufficient association keys.
Approval gate: Owner approves identity mappings and unresolved joins.
4
Compare candidate edges with the existing association snapshot and classify supported, unsupported, multiple or unresolved relationships.
Checkpoint: A missing identifier produces abstention; the model must not invent a most-likely deal to fill the row.
Approval gate: Owner validates the rule and calculations; no live decision is implied.
5
Prepare reviewer questions for contradictory references, reused order numbers and permission-limited evidence; separate evidence uncertainty from access restrictions.
Output: association_exception_queue.csv
Expected output: association_exception_queue.csv
Checkpoint: An inaccessible message is not labelled irrelevant, and confidential text is not copied into a wider review packet.
Approval gate: Owner reviews exceptions and accepts unresolved status where evidence is insufficient.
6
Deliver the reviewed-scope matrix, source citations and a proposed manual correction list, retaining all original associations in the snapshot.
Output: deal_email_review.json
Expected output: deal_email_review.json
Checkpoint: The artifact is advisory; any relinking, deletion, access change or communication requires separate authorization.
Approval gate: Owner accepts the separate draft artifact; all live actions require separate authorization.
Original starter prompt — proposed
Origin
editorial_proposal
Execution authorized
No
Text
Using only {approved_synthetic_inputs} and {owner_rules}, Evaluate permitted email excerpts against explicit deal identifiers and scope evidence, then produce a proposed association map with ambiguity and access boundaries. Follow the six-step design. Preserve exact identities, evidence spans, explicit policy boundaries and uncertainty. Use inspectable deterministic comparisons. Write only separate draft review artifacts described by the output schema. Stop for missing authority, ambiguous evidence or out-of-scope data. Do not change source records, contact anyone, access live accounts, upload files, post transactions or execute any recovery action.
Expected output schema — proposed
Primary key
message_id
candidate_deal_id
Columns
message_id
candidate_deal_id
current_association
evidence_type
new_text_span
quoted_history_span
relationship_status
access_boundary
reviewer_action
Record status
draft_review_only
Common provenance columns
input_snapshot_id
rule_version
source_document_id
source_row_or_span
reviewer_decision
Unknown value policy
Unknown values remain null, not zero. Keep raw identities and evidence. Unresolved rows do not silently enter approved totals.
Synthetic output illustration — not an executed result
Label
Synthetic authored example, not observed output
Synthetic
Yes
Executed
No
Input
Deals
Id
D-A
Project
ALPHA
Po
450
Id
D-B
Project
BETA
Po
451
Messages
Id
M1
Text
For ALPHA, PO450, confirm delivery.
Existing
D-A
D-B
Id
M2
Text
Thanks for today.
Existing
D-A
Id
M3
Text
Please compare PO450 and PO451.
Existing
D-A
Id
M4
Restricted
Yes
Text not supplied
Yes
Existing
D-B
Expected
M1
Supported
D-A
Unsupported existing
D-B
M2
Status
unresolved
Supported
Not specified.
M3
Supported
D-A
D-B
Status
multiple_explicit
M4
Status
restricted_not_evaluated
Limits
Original proposed and untested design; no source documents this complete agent workflow.
A reported problem is not proof of prevalence, willingness to pay, harm magnitude or current demand.
Historical product reports require current-installation checks; a current capability document only establishes general primitives.
Native reports or a deterministic script may be simpler. Exports, identity mappings, context size, privacy controls and actual tool compatibility remain untested.
Numerical fixtures are synthetic and have not been executed. Owner review is necessary; no time saving, cost saving or revenue outcome is asserted.
Occupational context and attribution
Selected O*NET® 31.0 Database task identifiers provide human-work context. BotCurrent authored these proposed procedures; they are not documented agent implementations.
No current demand, Canadian prevalence, platform compatibility or result is established.
Occupational data: O*NET® 31.0 Database, U.S. Department of Labor, Employment and Training Administration (USDOL/ETA). O*NET® is a USDOL/ETA trademark. BotCurrent selected and organized the data and added original proposals; USDOL/ETA has not approved, endorsed or tested those changes.
Untested. Requires an owner-approved file-processing environment; no CRM, ERP, payment or transport connector is assumed.
Failure handling, costs and limits
Failure modes
A subject contains an old deal code while the new body discusses a different project.
Two deals reuse the same external reference.
A message addresses both opportunities or contains restricted quoted content.
Recovery and troubleshooting
Signal
A subject contains an old deal code while the new body discusses a different project.
Recovery
Mark the subject/body conflict and request reviewer interpretation; do not use keyword count to choose.
Resume condition
The accountable owner supplies authoritative evidence or an explicit rule; otherwise retain the affected row as unresolved.
Signal
Two deals reuse the same external reference.
Recovery
Require an additional approved site or contract identifier and retain both candidates until resolved.
Resume condition
The accountable owner supplies authoritative evidence or an explicit rule; otherwise retain the affected row as unresolved.
Signal
A message addresses both opportunities or contains restricted quoted content.
Recovery
Preserve a multi-deal classification for permitted text, or withhold content and route the access decision to its custodian.
Resume condition
The accountable owner supplies authoritative evidence or an explicit rule; otherwise retain the affected row as unresolved.
Unexecuted validation plan
Sample setup
Deals
Id
D-A
Project
ALPHA
Po
450
Id
D-B
Project
BETA
Po
451
Messages
Id
M1
Text
For ALPHA, PO450, confirm delivery.
Existing
D-A
D-B
Id
M2
Text
Thanks for today.
Existing
D-A
Id
M3
Text
Please compare PO450 and PO451.
Existing
D-A
Id
M4
Restricted
Yes
Text not supplied
Yes
Existing
D-B
Acceptance checks
The output identifies the unsupported M1-to-D-B edge without deleting it.
M2 remains unresolved despite having an existing D-A association.
M3 preserves both supported projects.
M4 exposes no message text and makes no relevance judgment.
Every conclusion traces to a source row or explicitly labelled owner rule; identical frozen inputs preserve identities and deterministic totals.
All source copies remain unchanged; no business workflow or synthetic acceptance evaluation has been run.
Stop conditions
Required identity, source coverage, calculation policy or owner authority is missing.
Unexpected real sensitive data is supplied without approved handling.
Requested work would require live access, upload, external communication, accounting posting, payment, permission change or irreversible action.
Executed
No
Fixture status
Designed specification and separately authored answer key only. No model run, numerical acceptance execution or customer pilot performed.
Costs and effort — unknown or hypothetical
Status
unknown_or_estimate
Currency
Not specified.
Items
Plan access, model usage, tool runtime and storage costs unknown.
Export preparation, evidence cleanup, review and correction effort unmeasured.
No native integration, paid service, new account or software installation assumed.
Case-specific effort is unknown: source extraction, identity repair, owner-rule preparation, fixture design and review may dominate model cost.
The case requires owner preparation of 3 input groups and review of 6 intermediate/final artifacts. Costs and effort remain unmeasured; these are design counts, not runtime estimates.
Caveat
No measured time saving, current demand, ROI or price claim. Compare the simpler remedy first.
Canadian adaptation — proposed
Verify local privacy and organizational record-handling requirements before any real-data pilot; preserve original currency, business calendars and time zones. No Canadian deployment or compliance claim.
Original task overview & interpretation
Original proposal · Not tested
Check which deal an email actually supports
Several deals share a contact. That doesn't make every email evidence for all of them.
Suggested result
A message-to-deal evidence matrix and restricted exception queue; no CRM associations are changed.
What you need: First check the current native controls. Use approved message excerpts, deal IDs and an association snapshot. Processing permission, compatibility and costs remain unverified.
Proposed: Evaluate permitted email excerpts against explicit deal identifiers and scope evidence, then produce a proposed association map with ambiguity and access boundaries.
Review ambiguous matches and access limits before changing anything. Keep the CRM associations untouched until the responsible owner approves a correction.
Original proposed workflow, untested. Context sources do not establish agent effectiveness, demand or outcomes.
Related tasks
Suggestions share task wording or context; compatibility and execution remain unverified.
Allow optional analytics to help us improve BotCurrent? We use PostHog to see which pages and buttons people use, including recordings with anything you type hidden. Searches and saved items are excluded. Privacy details