← 返回
未分类 Key 中文

Multi-API Data Pipeline to Google Sheets

Connects multiple REST APIs, fetches and transforms data, and pushes it to a live Google Sheets dashboard that auto-updates on a schedule.
连接多个 REST API,获取并转换数据,推送至实时 Google Sheets 仪表盘,自动定时更新。
neo1307 neo1307 来源
未分类 clawhub v1.0.2 1 版本 99811 Key: 需要
★ 0
Stars
📥 528
下载
💾 0
安装
1
版本
#latest

概述

Multi-API Data Pipeline to Google Sheets

Overview

Automated data pipeline that pulls from multiple REST APIs, transforms and

merges the data, and pushes it to a Google Sheets dashboard that updates

automatically on your chosen schedule (every 15 minutes, hourly, daily).

Replaces hours of manual copy-paste work.

What It Does

  • Connects to up to 10 REST APIs simultaneously
  • Handles authentication: API keys, Bearer tokens, OAuth2
  • Transforms and merges data across sources
  • Pushes clean, formatted data to Google Sheets in real time
  • Sends alert if any API call fails
  • Logs all pipeline runs with success/failure status

Required Environment Variables

Set these in OpenClaw's Secrets manager before running:

VariableDescription
-----------------------
GOOGLE_SERVICE_ACCOUNT_JSONGoogle Service Account key (full JSON string)
TARGET_SHEET_IDGoogle Sheets document ID (from the sheet URL)
[SERVICE]_API_KEYOne secret per connected API, e.g. SHOPIFY_API_KEY, HUBSPOT_TOKEN

Setup

  1. Create a Google Service Account, download the JSON key, paste it as GOOGLE_SERVICE_ACCOUNT_JSON
  2. Share your target Google Sheet with the service account email
  3. Set TARGET_SHEET_ID from the sheet URL
  4. Add one secret per API you want to connect
  5. Set update schedule: every 15 minutes / hourly / daily at 06:00

Usage

> "Connect Shopify and HubSpot APIs and sync sales data to my Google Sheet every hour"

> "Pull weather data and stock prices into a live dashboard"

> "Set up a pipeline from our internal API to Google Sheets, update every 15 minutes"

> "Add Stripe revenue data to the existing pipeline"

Output

  • Live Google Sheets dashboard with latest data
  • Pipeline run log: logs/pipeline_YYYY-MM-DD.txt
  • Alert on failure with error details

Rules

  • Never store raw API credentials in output files or logs
  • Always validate API response schema before writing to Sheets
  • If Google Sheets write fails, buffer data locally and retry up to 3 times
  • Respect API rate limits — add delays per API documentation
  • Each pipeline run must write a summary row to a _run_log tab in the Sheet

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-02 07:29 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

B2B Lead Generation Scraper

neo1307
从目标来源提取经验证的B2B潜在客户(姓名、邮箱、公司、LinkedIn、职位),导出为CRM可导入的CSV文件。
★ 0 📥 695

Log Analyzer

neo1307
读取日志文件,提取ERROR/WARN/CRITICAL级别的日志行,对相似消息进行分组归类,并生成简洁的摘要报告。适用于分析应用日志、代理运行记录等场景。
★ 0 📥 541

Browser Agent

neo1307
使用 Playwright 自动化浏览器,实现打开页面、截图、查找或点击元素、填写表单、提取文本及管理 Cookie。
★ 0 📥 603