Toingg Create Campaign
Skill by abhinavpgagi
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/abhinavpgagi/toingg-create-campaignname: toingg-create-campaign description: 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.
Toingg Ops Toolkit
This skill bundles everything needed to manage Toingg campaigns from Claw:
- Campaign creation via
create_campaign.py - Campaign discovery via
fetch_campaigns.pywhen you need to list active IDs for users - On-demand calls via
make_call.py(after collecting name, phone, and campaign) - Optional analytics cron (7 PM daily) powered by
get_campaign_analytics.py - Contact upload + WhatsApp broadcast using
xlsx_to_contacts.py,add_contacts.py, andsend_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 discovery workflow
Use this whenever the user wants to see active campaigns or needs a campaign ID before launching a call.
- Ask whether they already know the campaign ID. If not, offer to fetch the latest list (default pagination is fine unless they request a different page size).
- Run:
Adjust./scripts/fetch_campaigns.py --skip 0 --limit 10 --sort -1 > responses/campaigns-$(date +%s).json--skip/--limit/--sortif the user needs deeper pages or a different ordering. - Summarize the response back to the user: surface at least
campID,name, status, and any relevant dates so they can choose confidently. - Store the JSON output when ongoing work depends on the snapshot.
On-demand call workflow
When the user asks you to place a call, gather three pieces of information before touching the API:
- Caller name (string shown in Toingg logs).
- Phone number in international format.
- Campaign selection. If they do not supply a campaign, ask whether they want the latest list. Use the campaign discovery workflow above to provide options, then confirm their pick.
Once those details are confirmed, trigger the API:
./scripts/make_call.py "Recipient Name" +919999999999 64fd3f9...
The helper always sends asr=AZURE, startMessage=true, clearMemory=false, and extraParams={} per the product team’s defaults. Echo the API response (success or failure) back to the user so they know the call status.
Campaign creation workflow
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-abhinavpgagi-toingg-create-campaign": {
"enabled": true,
"auto_update": true
}
}
}