Skills toingg-skill
End-to-end Toingg ops: create campaigns, (optionally) schedule daily analytics pulls, and turn Excel contact sheets into WhatsApp outreach via add_contacts + send_whatsapp_templates. Use when Codex needs to automate Toingg voice/WhatsApp workflows and requires scripts for campaign POSTs, analytics cron setup, or bulk contact uploads.
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/abhinavpgagi/toingg-skill" ~/.claude/skills/clawdbot-skills-toingg-skill && rm -rf "$T"
skills/abhinavpgagi/toingg-skill/SKILL.mdToingg Ops Toolkit
This skill bundles everything needed to manage Toingg campaigns from Claw:
- Campaign creation via
create_campaign.py - Optional analytics cron (7 PM daily) powered by
get_campaign_analytics.py - Contact upload + WhatsApp broadcast using
,xlsx_to_contacts.py
, andadd_contacts.pysend_whatsapp_templates.py
All HTTP calls reuse the
TOINGG_API_TOKEN bearer token.
Setup
- Export your token in every environment that runs these scripts (gateway, cron, terminals).
export TOINGG_API_TOKEN="tg_..." - Install Python deps once if you will ingest Excel files:
pip install openpyxl requests - Keep payloads (campaign JSON, analytics snapshots, contact exports) in version control or shared storage per your security rules.
Campaign creation workflow
- Gather campaign fields from the user (title, voice, language, script, purpose, tone, post-call schema, notification numbers, autopilot flags, etc.).
- Draft a payload JSON using
as the scaffold.references/payload-template.md - Run the helper:
cd skills/toingg-skill ./scripts/create_campaign.py payloads/my_campaign.json > responses/create-$(date +%s).json - Return the API response (campaign ID, status, or validation errors) to the user and log it.
Opt-in analytics cron (7 PM daily)
Only offer this when the user explicitly asks for daily analytics.
- Confirm desired schedule/output directory.
- Follow
to createreferences/analytics-cron.md
with the provided command snippet. Adjust paths if needed.openclaw cron create toingg-analytics-digest ... - Double-check
is visible to the gateway before enabling the cron.TOINGG_API_TOKEN - After the first run, share where the JSON snapshots live and how to disable the cron (
).openclaw cron delete ...
get_campaign_analytics.py can also be run ad-hoc for on-demand pulls:
./scripts/get_campaign_analytics.py > analytics.json
Contact upload + WhatsApp templates
When a user supplies an Excel sheet (name / phone / context columns) and wants to blast a WhatsApp template:
-
Convert Excel → JSON
./scripts/xlsx_to_contacts.py ~/Downloads/leads.xlsx contacts.jsonSee
for the exact column expectations and troubleshooting. The script skips blank rows and normalizes phone numbers.references/contact-workflow.md -
Upload contacts to a Toingg contact list (auto-creates if missing):
./scripts/add_contacts.py ClawTest contacts.json -
Send WhatsApp templates once the list is ready:
./scripts/send_whatsapp_templates.py \ 231565687 \ bfesfbgf \ en-US \ ClawTest \ --payload template-variables.json- Omit
(defaults to--payload
) if the template has no variables.[] - Pass
only when the user explicitly wants to re-contact existing recipients.--resend
- Omit
-
Confirm delivery status in Toingg and report any errors back to the user (the helper prints full JSON responses for logging).
File map
| Script | Purpose |
|---|---|
| POST with arbitrary payloads |
| GET (cron-friendly) |
| Convert Excel sheets into Toingg contact JSON |
| Upload contact lists via |
| Trigger |
Keep this toolkit lightweight: update the references when Toingg adds new fields or workflows so other operators can follow the same patterns.