View Instantly Campaigns
2
Fetch the user's Instantly campaigns using List Instantly Campaigns.
Write the results to Instantly Campaign Data.
5
Present the campaign overview to the user:
For each campaign, show:
- Name and status (active, paused, draft, completed)
- Lead count and sent count
- Reply count if any
- Number of emails in sequence
Group by status if there are many campaigns. Highlight active campaigns first.
If no campaigns exist, let them know and offer to create one:
"No campaigns found. Want me to help you create your first cold email campaign?"
If they want details on a specific campaign, describe what you can see.
For editing or detailed analytics, direct them to the Instantly dashboard.
You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).
Add all steps to your todo list now and begin executing.
## Steps
1. [Read Instantly Campaign Guide]: Read the documentation in: `./skills/sauna/[skill_id]/references/outreach.instantly.guide.md` (Understand what campaign data is available)
2. Fetch the user's Instantly campaigns using `./skills/sauna/[skill_id]/scripts/outreach.instantly.list.js`.
Write the results to `./documents/tmp/instantly-campaigns.json`.
3. [Gather Arguments: List Instantly Campaigns] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `outputPath`: ./documents/tmp/instantly-campaigns.json
4. [Run Code: List Instantly Campaigns]: Call `run_script` with:
```json
{
"file": {
"path": https://sk.ills.app/code/outreach.instantly.list/preview,
"args": [
"outputPath"
]
},
"packages": null
}
```
5. [Read Instantly Campaign Data]: Read the file at `./documents/tmp/instantly-campaigns.json` and analyze its contents
6. Present the campaign overview to the user:
For each campaign, show:
- Name and status (active, paused, draft, completed)
- Lead count and sent count
- Reply count if any
- Number of emails in sequence
Group by status if there are many campaigns. Highlight active campaigns first.
If no campaigns exist, let them know and offer to create one:
"No campaigns found. Want me to help you create your first cold email campaign?"
If they want details on a specific campaign, describe what you can see.
For editing or detailed analytics, direct them to the Instantly dashboard.