01 — Dashboard
Summary of registered flows and ledger status.
| Indicator | Value | Remarks |
|---|---|---|
| Registered flows | 4 | FB / IG / TikTok / YT |
| Ledger entries (local) | 0 | Browser record only |
| Backend status | not linked | Set API base in Module 10 |
| Credentials on file | 0/12 | Manual entry, Module 04 |
1.1 Recent ledger entries
1.2 Processing chain (as filed)
| Order | Stage | Filed implementation |
|---|---|---|
| 1 | Trigger | Catch Webhook — page feed / instagram comments / comment_key |
| 2 | Extraction | comment, caption, name, video_id, hashtags, post type |
| 3 | Routing | REELS vs FEED, fallback branch |
| 4 | Delay | 90–180 seconds |
| 5 | Table search | Caption equals filed caption, limit 1 |
| 6 | Reply | Kinyarwanda text + Graph / platform POST |
2.1 Flow registry
3.1 Flow configuration — instagram commentor
Filed chain reference
3.2 Stage details
Select a stage from the chain.
DIRECTIVE: Sandbox only. Enter test tokens manually. Kept in this browser (localStorage: sandbox_connections). Production secrets are filed in Workers Secrets, never here.
4.1 Credential schedule
5.1 Reference table: Caption → Answer
5.2 Table search trial
—
6.1 Webhook submission trial
Response
—
6.2 Verification & token check
—
Graph check (/me)
—
7.1 Operations & limits — daily position (Free plan, reset 00:00 UTC)
Source: backend Worker + Durable Object ledger. Durable Objects is the primary store; KV is secondary (dedupe/cache). If backend is not linked, local estimate is shown.
Backend API base
Cron & binding status
—
7.2 Filed limits (Workers Free)
| Item | Free limit / day | Notes |
|---|---|---|
| Worker requests | 100,000 | Error 1027 if exceeded |
| KV reads | 100,000 | per key read |
| KV writes (distinct keys) | 1,000 | same key: 1/sec |
| KV deletes / lists | 1,000 / 1,000 | each |
| KV stored | 1 GB | per account |
| Durable Object rows read | 5,000,000 | SQLite backend |
| Durable Object rows written | 100,000 | SQLite backend |
| Durable Object stored | 5 GB total | Free cap |
| Cron triggers / account | 5 max configured | This system files 1 (daily 00:05 UTC; account cap reached) |
8.1 Run ledger
9.1 Reply composition trial
—
9.2 Filed catalogue
10.1 System filing — Cloudflare
API token / R2 secret are never entered here. They remain in terminal session variables only.
Filing orders (PowerShell)
$env:CLOUDFLARE_API_TOKEN="SESSION ONLY" $env:CLOUDFLARE_ACCOUNT_ID="…" cd "C:\Users\Herve\Desktop\sandbox-automation-frontend" npx wrangler pages deploy . --project-name=automation cd worker npx wrangler deploy
10.2 Backend file plan
| Component | Filed use |
|---|---|
| Worker automation-api | HTTP API + webhook intake + scheduled handler |
| KV APP_KV | Secondary: dedupe keys, latest payload, config cache |
| Durable Object OpsLedger (SQLite) | Primary: daily counters, run ledger, cron log |
| Cron: daily 00:05 UTC | Day rollover summary (single cron — Free cap is 5/account, account already at cap) |