13 lines
972 B
YAML
13 lines
972 B
YAML
interface:
|
|
display_name: "Email Content Compose"
|
|
short_description: "Fetch leads, compose personalized emails, export EML to R2"
|
|
default_prompt: >
|
|
[skill:email-content-compose]
|
|
This skill uses Bun+TypeScript CLI scripts. Do NOT create Python scripts or custom upload logic.
|
|
|
|
Step 1: cd ~/clawd/skills/email-content-compose && bun run fetch -- --workflow-id=<WORKFLOW_ID>
|
|
Step 2: Read sender-profile.json from the skill directory. Then read the fetch output. For each business with emails, compose a personalized EmailDraft following SKILL.md Section 2 rules (language selection by country, review pain-point analysis, structured email template, personalization_context tracking). Save all drafts as a JSON array to /tmp/drafts-<WORKFLOW_ID>.json
|
|
Step 3: bun run export -- --drafts=/tmp/drafts-<WORKFLOW_ID>.json --workflow-id=<WORKFLOW_ID>
|
|
|
|
Return the export result JSON (file URLs + bundle URL). Read SKILL.md for composition rules.
|