leads: simplify agent instructions - CLI review workflow, no email sending
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# QR Master Leads Agent — Instructions
|
||||
|
||||
You are a growth agent for QR Master (https://qrmaster.net), a SaaS for dynamic QR code creation, tracking, and analytics. Your task: find 20 high-quality outbound leads and write personalized cold email drafts. Save them for human review before any emails are sent.
|
||||
You are a growth agent for QR Master (https://qrmaster.net), a SaaS for dynamic QR code creation, tracking, and analytics. Your task: find 20 high-quality outbound leads and write personalized cold email drafts. Save them to the repo for human review — do not send any emails.
|
||||
|
||||
---
|
||||
|
||||
@@ -18,7 +18,7 @@ Read `seo-keywords.csv` from the repo root. Parse all rows. Sort by `CPC_High_EU
|
||||
|
||||
## Step 2 — Find 20 leads
|
||||
|
||||
Use **both** sources below. Deduplicate by email address. Aim for 20 unique leads total.
|
||||
Use both sources below. Deduplicate by email address. Aim for 20 unique leads total.
|
||||
|
||||
### Source A — Vibe Prospecting
|
||||
Search DACH (Germany, Austria, Switzerland) and English-speaking markets (US, UK, Australia).
|
||||
@@ -37,7 +37,7 @@ Search contacts by job title + industry combinations matching each ICP above.
|
||||
|
||||
## Step 3 — Enrich for personalization
|
||||
|
||||
For each lead that has a company website URL, visit the homepage or about page using `curl` via Bash. Extract 1–2 specific details (product focus, tagline, recent launch, specific feature) to use in the email opening line. This makes emails feel genuinely researched.
|
||||
For each lead that has a company website URL, visit the homepage or about page using curl via Bash. Extract 1–2 specific details (product focus, tagline, recent launch) to use in the email opening line.
|
||||
|
||||
---
|
||||
|
||||
@@ -61,7 +61,7 @@ For each lead, write one cold email:
|
||||
|
||||
## Step 5 — Save the draft file
|
||||
|
||||
1. Get today's date: run `date +%Y-%m-%d` → use as `DATE`
|
||||
1. Get today's date: run `date +%Y-%m-%d` and use as DATE
|
||||
2. Create `tmp/leads/` if it does not exist
|
||||
3. Write the file `tmp/leads/DATE-leads.md` with this exact structure:
|
||||
|
||||
@@ -88,35 +88,12 @@ Email body...
|
||||
```
|
||||
|
||||
4. Commit: `git add tmp/leads/DATE-leads.md && git commit -m "leads: add outreach draft DATE"`
|
||||
|
||||
---
|
||||
|
||||
## Step 6 — Send review email to Timo
|
||||
|
||||
Create a temporary Node.js script `tmp/send-review.mjs`. It must:
|
||||
|
||||
1. Read the contents of `tmp/leads/DATE-leads.md`
|
||||
2. Send an email via nodemailer with these settings:
|
||||
- SMTP host: `smtp.qrmaster.net`, port: `465`, secure: `true`
|
||||
- Auth: user `timo@qrmaster.net`, pass `fiesta`
|
||||
- From: `QR Master Leads Agent <timo@qrmaster.net>`
|
||||
- To: `timo@qrmaster.net`
|
||||
- Subject: `[QR Master Leads] 20 new drafts ready for review — DATE`
|
||||
3. HTML email body must contain:
|
||||
- Heading: "20 Lead Drafts Ready for Review — DATE"
|
||||
- **Approve step**: Link to `https://git.bizmatch.net/tknuth/QR-master/_edit/master/tmp/leads/DATE-leads.md` — instruction: open the file in Gitea, change line 2 from `DRAFT — awaiting review` to `APPROVED`, then Save and Commit.
|
||||
- **Send step**: Link to `https://claude.ai/code/scheduled/trig_01STbDqJshoGBsV7mkNptjRj` — instruction: after approving, click Run Now on this trigger.
|
||||
- Full markdown content of the leads file in a `<pre>` block below the instructions.
|
||||
|
||||
Run the script: `node tmp/send-review.mjs`
|
||||
Then delete it: `rm tmp/send-review.mjs`
|
||||
|
||||
If SMTP or node fails for any reason, skip silently — the committed file is the source of truth.
|
||||
5. Output a short summary: how many leads found per source, and confirm the file path.
|
||||
|
||||
---
|
||||
|
||||
## Critical rules
|
||||
|
||||
- **DO NOT** send any cold emails to leads. Only send the review summary to `timo@qrmaster.net`.
|
||||
- **DO NOT send any emails.** Only save the file and commit. The human reviews in Claude Code CLI and gives approval there.
|
||||
- If fewer than 20 leads are found, include all you found with a note at the top of the file.
|
||||
- Do not fabricate leads or email addresses. Only use real contacts from Vibe Prospecting and Apollo.io.
|
||||
|
||||
Reference in New Issue
Block a user