Works with OpenClaw & Claude Code

Marketing Data CLI
for AI Agents

Query and manage data across 40+ marketing platforms from your terminal. Built for autonomous AI agents, usable by humans.

$ npm install -g insightfulpipe

Get Started in Seconds

Install globally, authenticate with your API token, and start querying.

terminal

# Install the CLI

$ npm install -g insightfulpipe

# Authenticate with your API token

$ insightfulpipe login

? Enter your API token (ip_sk_...): ********

✓ Authenticated as My Agency

# List connected platforms

$ insightfulpipe platforms

google-analytics   Google Analytics 4    3 properties

facebook-ads      Facebook Ads        2 ad accounts

shopify           Shopify             1 store

# Query your data

$ insightfulpipe query google-analytics \

  -b '{"action":"run_report","date_range":"last_30_days"}'

{ "sessions": 12847, "users": 9231, "bounce_rate": 0.42 }

Built for Automation

Designed from the ground up to work with AI agents and programmatic workflows.

AI Agent Ready

Structured JSON outputs designed for AI agents. Works with OpenClaw, Claude Code, and any LLM-based agent.

40+ Platforms

Query Google Analytics, Facebook Ads, Shopify, HubSpot, and dozens more from a single CLI.

Secure by Default

API tokens stored securely in your system keychain. No credentials in environment variables.

Discover-Schema-Execute

Discover accounts, inspect schemas, then query — a workflow AI agents understand natively.

Read & Write Operations

Not just reports — create posts, update records, and take actions across platforms.

OpenClaw Skill

Published on ClawHub as a skill. Any OpenClaw-compatible agent can discover and use it automatically.

How It Works

A discover-schema-execute workflow that AI agents understand natively.

1

Discover Accounts

List connected platforms and accounts to find the data source you need.

$ insightfulpipe accounts \

  --platform google-analytics

# Returns workspace, brand, and account IDs

2

Inspect Schema

Get the exact request structure, required fields, and available metrics.

$ insightfulpipe helper \

  google-analytics

# Returns available actions & fields

3

Query or Execute

Run read queries or write actions using the schema you discovered.

$ insightfulpipe query \

  google-analytics -b '{...}'

# Returns structured JSON data

What is OpenClaw?

OpenClaw is an open-source AI agent ecosystem. InsightfulPipe is published on ClawHub as a skill — any OpenClaw-compatible agent can discover and use it automatically.

Skill-Based Architecture

Agents discover capabilities through SKILL.md — no hardcoded integrations needed.

CLI Compatibility

Works with any agent that can execute shell commands — Claude Code, OpenClaw, and more.

Proactive Automation

Agents can schedule recurring tasks, monitor metrics, and act on changes autonomously.

openclaw

# Install InsightfulPipe as an OpenClaw skill

$ npm install -g insightfulpipe

# Set your API token

$ export INSIGHTFULPIPE_TOKEN=ip_sk_...

# Your agent can now discover and use InsightfulPipe

$ insightfulpipe doctor

✓ Token valid

✓ 12 platforms connected

✓ SKILL.md found — agent-ready

Also Works with Claude Code

Claude Code can autonomously execute InsightfulPipe commands to pull reports, analyze data, and take actions.

claude-code

# Ask Claude to analyze your marketing data

> Pull last month's Google Analytics report

> and compare it with Facebook Ads spend

# Claude autonomously runs:

$ insightfulpipe query google-analytics \

  -b '{"action":"run_report","date_range":"last_month"}'

$ insightfulpipe query facebook-ads \

  -b '{"action":"campaigns","date_range":"last_month"}'

✓ Reports fetched and compared. Here's the analysis...

Command Reference

CommandDescription
loginAuthenticate with your API token
whoamiShow current authenticated user
platformsList connected platforms and accounts
accountsGet workspace and brand details for a platform
helperInspect available actions and schema for a platform
queryRun a read query against a platform
actionExecute a write action on a platform
doctorCheck configuration, token, and connectivity

40+ Supported Platforms

One CLI to rule them all. Query any connected platform with the same workflow.

Google Analytics
Google Ads
Google Search Console
Google Sheets
Google My Business
Facebook Ads
Facebook Pages
Instagram
TikTok Ads
TikTok Pages
LinkedIn Ads
LinkedIn Pages
YouTube
Pinterest Ads
Snapchat Ads
Microsoft Ads
X Ads
Shopify
WooCommerce
Magento
HubSpot
Klaviyo
Mailchimp
Stripe
PayPal
Slack
Telegram
WordPress
CallRail
DataForSEO
Apple App Store
Google Play
PageSpeed Insights
Web Crawler
Ads Libraries
Enrichment Crawlers

Start automating today

Install the CLI, connect your platforms, and let your AI agents do the rest.