Promarkia
Thin API client for Promarkia — run any Promarkia squad from OpenClaw.
Setup
- Sign up at promarkia.com and buy credits or subscribe
- Connect your accounts (LinkedIn, X, Reddit, etc.) via the Connect Integrations panel
- Generate an API key from API Keys in the sidebar
- Set the environment variable:
PROMARKIA_API_KEY=pmk_your_key_here
Available Squads
| Squad ID |
Name |
What it does |
1 |
Assistant |
Email, calendar, productivity tasks |
9 |
Image Creator |
Generate/edit images with AI |
10 |
Video |
Create short/long-form video content |
11 |
Social Media |
Post to LinkedIn, X, Reddit, Facebook, Instagram |
12 |
Copywriting |
Research, write, publish articles and blog posts |
16 |
SEO Expert |
Keyword research, SERP analysis, on-page audits |
17 |
Campaign Planner |
Marketing plans, media plans, budget allocations |
18 |
Digital Ads |
Ad copy for Google, LinkedIn, X, TikTok |
19 |
Coders |
AI-assisted coding and debugging |
20 |
Data Scientist |
Analyze data, create charts, generate insights |
21 |
Lead Generation |
Find prospects via Apollo/ZoomInfo, draft outreach |
Usage
Run a task
python scripts/promarkia_run.py --squad 11 --prompt "Post about our new AI feature on LinkedIn and X"
From OpenClaw (agent usage)
The agent calls scripts/promarkia_run.py with --squad and --prompt arguments.
List available squads
python scripts/promarkia_run.py --list-squads
Check a previous run
python scripts/promarkia_run.py --get-run RUN_ID
Scheduling with OpenClaw Cron
Schedule recurring tasks using OpenClaw's built-in cron system:
Daily LinkedIn post at 9 AM ET:
/cron add --name "Daily LinkedIn Post" --schedule "0 9 * * *" --tz "America/New_York" --payload "Run Promarkia social squad: Post a LinkedIn article about our latest blog post"
Weekly SEO audit every Monday:
/cron add --name "Weekly SEO Audit" --schedule "0 10 * * 1" --tz "America/New_York" --payload "Run Promarkia SEO squad: Audit the top 5 pages on our website for SEO issues"
Credentials / Environment
| Variable |
Required |
Description |
PROMARKIA_API_KEY |
Yes |
Your Promarkia API key (starts with pmk_) |
PROMARKIA_API_BASE |
No |
API base URL (default: https://www.promarkia.com). Do not use apis.promarkia.com. |
Notes
- Each task execution deducts credits from your Promarkia account
- Connected accounts (LinkedIn, X, Reddit, etc.) must be set up via the Promarkia web UI
- Task timeout defaults to 1200 seconds (20 minutes); override with
--timeout
- Results are stored in your Promarkia account and can be retrieved later by run ID
1---2name: promarkia3description: Run Promarkia AI squads via the Promarkia API — social media posts, copywriting, SEO, ads, lead generation, image/video creation, campaign planning, and more. Use when asked to run a Promarkia task, submit a squad job, or schedule recurring marketing automation via the Promarkia platform.4---56# Promarkia78Thin API client for [Promarkia](https://www.promarkia.com) — run any Promarkia squad from OpenClaw.910## Setup11121. Sign up at [promarkia.com](https://www.promarkia.com) and buy credits or subscribe132. Connect your accounts (LinkedIn, X, Reddit, etc.) via the **Connect Integrations** panel143. Generate an API key from **API Keys** in the sidebar154. Set the environment variable: `PROMARKIA_API_KEY=pmk_your_key_here`1617## Available Squads1819| Squad ID | Name | What it does |20|----------|------|-------------|21| `1` | Assistant | Email, calendar, productivity tasks |22| `9` | Image Creator | Generate/edit images with AI |23| `10` | Video | Create short/long-form video content |24| `11` | Social Media | Post to LinkedIn, X, Reddit, Facebook, Instagram |25| `12` | Copywriting | Research, write, publish articles and blog posts |26| `16` | SEO Expert | Keyword research, SERP analysis, on-page audits |27| `17` | Campaign Planner | Marketing plans, media plans, budget allocations |28| `18` | Digital Ads | Ad copy for Google, LinkedIn, X, TikTok |29| `19` | Coders | AI-assisted coding and debugging |30| `20` | Data Scientist | Analyze data, create charts, generate insights |31| `21` | Lead Generation | Find prospects via Apollo/ZoomInfo, draft outreach |3233## Usage3435### Run a task3637```bash38python scripts/promarkia_run.py --squad 11 --prompt "Post about our new AI feature on LinkedIn and X"39```4041### From OpenClaw (agent usage)4243The agent calls `scripts/promarkia_run.py` with `--squad` and `--prompt` arguments.4445### List available squads4647```bash48python scripts/promarkia_run.py --list-squads49```5051### Check a previous run5253```bash54python scripts/promarkia_run.py --get-run RUN_ID55```5657## Scheduling with OpenClaw Cron5859Schedule recurring tasks using OpenClaw's built-in cron system:6061**Daily LinkedIn post at 9 AM ET:**62```63/cron add --name "Daily LinkedIn Post" --schedule "0 9 * * *" --tz "America/New_York" --payload "Run Promarkia social squad: Post a LinkedIn article about our latest blog post"64```6566**Weekly SEO audit every Monday:**67```68/cron add --name "Weekly SEO Audit" --schedule "0 10 * * 1" --tz "America/New_York" --payload "Run Promarkia SEO squad: Audit the top 5 pages on our website for SEO issues"69```7071## Credentials / Environment7273| Variable | Required | Description |74|----------|----------|-------------|75| `PROMARKIA_API_KEY` | Yes | Your Promarkia API key (starts with `pmk_`) |76| `PROMARKIA_API_BASE` | No | API base URL (default: `https://www.promarkia.com`). Do not use `apis.promarkia.com`. |7778## Notes7980- Each task execution deducts credits from your Promarkia account81- Connected accounts (LinkedIn, X, Reddit, etc.) must be set up via the Promarkia web UI82- Task timeout defaults to 1200 seconds (20 minutes); override with `--timeout`83- Results are stored in your Promarkia account and can be retrieved later by run ID