PromptsOpenClaw
Newsletter and pipeline, cached locally
Use-case
Subscriber counts and deal stages are useless if the council has to call two APIs every time it thinks. OpenClaw pulls Beehiiv and HubSpot into SQLite on a schedule, and the business council reads the cache with everything else.
Wat je koppelt
A Beehiiv API key and a HubSpot private app token. A local SQLite file. The business-council skill, so it can read the cache.
Installatie
- Store both tokens in the environment, not in the repo.
- Create [GROWTH DB PATH] with tables for newsletter stats and deals.
- Schedule the sync daily, before the business council runs.
- Run it once and confirm a subscriber count and at least one deal stage match what you see in the products.
- If either token is missing, the sync should skip that source and say so, not fail the whole job.
Pas aan voordat je verstuurt: The database path, which Beehiiv publication, and which HubSpot pipeline.
Prompt om in OpenClaw te plakken
Save this as a skill named newsletter-crm. Once a day at [21:00] [TIMEZONE], refresh [GROWTH DB PATH]. Beehiiv, for publication [PUBLICATION ID]: - Subscriber count, growth, and churn. - Per-post open rate and click rate for posts in the last [30] days. - Segment sizes I have marked as worth keeping. HubSpot, for pipeline [PIPELINE ID]: - Deals: stage, value, and whether the deal is active. - Contacts tied to those deals. - A one-line pipeline status: counts by stage. Cache the numbers locally so business-council can query SQLite instead of calling the APIs. If a call fails, keep the previous snapshot, mark it stale, and name the failure. Do not invent a count. Do not email subscribers or edit deals from this skill. It is a read into the cache.
Werkt met deze prompts
Deze OpenClaw-prompts roepen deze aan, of worden erdoor aangeroepen. Zet ze samen op.
- Nightly business council
The numbers live in ten different tools, so the pattern stays invisible. Once a night, eight specialists each read only the slice that matches their job, in parallel, and a synthesizer turns that into a short numbered list. You reply with a number when you want the longer version, and you approve or reject so the next night fits you better.
Meer OpenClaw-prompts
- What the assistant spends on models
A nightly council is quiet until the bill arrives. Every model call is appended to a log with the provider, the model, the token counts, the kind of task, and an estimated cost. You can ask for a day, a week, or a month, and you can split it by model or by task.
- Asana as the system of record for work
Video ideas and other tracked work already live in Asana. OpenClaw should file new cards there, and when a card already exists it should comment instead of rewriting the description. The business council then knows what is moving, what is stuck, and what is done.
- Heartbeat that speaks only when something is wrong
You should not have to ask whether the assistant is healthy. A heartbeat checks the things that rot quietly: stale social data, a repo that swallowed a large file, repeating errors, a gateway that is suddenly public. If you hear nothing, the checks passed.
- Ask before you update OpenClaw
The framework moves, and you do not want a surprise restart in the middle of the day. Each night OpenClaw checks for a new version, posts a short changelog, and waits. You say update, and it applies the version and restarts the gateway.