{"data":{"slug":"github-claude-office-skills-skills-data-pipeline-5d46fb6bc742","title":"Data Pipeline Automation for ETL Workflows","summary":"Automate data extraction, transformation, and loading workflows for integration and analytics. Schedule, monitor, and scale data processes using tools like n8n's ETL templates.","url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-data-pipeline-5d46fb6bc742","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-claude-office-skills-skills-data-pipeline-5d46fb6bc742","markdown_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-data-pipeline-5d46fb6bc742.md","download_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-data-pipeline-5d46fb6bc742\/download","category":{"slug":"data-research","name":"Data & Research"},"editor_note":"Ensure the required tools (e.g., n8n, Shopify, Stripe, BigQuery) are installed and configured before running the pipeline. Prepare input data sources such as Shopify and Stripe API credentials, and define the target BigQuery table and Google Sheets spreadsheet for output.","instructions":"---\nname: data-pipeline\ndescription: \"Data pipeline and ETL automation - extract, transform, load workflows for data integration and analytics\"\nversion: \"1.0.0\"\nauthor: claude-office-skills\nlicense: MIT\n\ncategory: data\ntags:\n  - etl\n  - data-pipeline\n  - integration\n  - analytics\n  - automation\ndepartment: Data Engineering\n\nmodels:\n  recommended:\n    - claude-sonnet-4\n\nmcp:\n  server: data-mcp\n  tools:\n    - database_query\n    - api_fetch\n    - spreadsheet_write\n    - file_transform\n\ncapabilities:\n  - data_extraction\n  - transformation\n  - loading\n  - scheduling\n  - monitoring\n\nlanguages:\n  - en\n  - zh\n\nrelated_skills:\n  - sheets-automation\n  - data-analysis\n  - airtable-automation\n---\n\n# Data Pipeline\n\nBuild data pipelines and ETL workflows for data integration, transformation, and analytics automation. Based on n8n's data workflow templates.\n\n## Overview\n\nThis skill covers:\n- Data extraction from multiple sources\n- Transformation and cleaning\n- Loading to destinations\n- Scheduling and monitoring\n- Error handling and alerts\n\n---\n\n## ETL Patterns\n\n### Basic ETL Flow\n\n```\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510    \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502   EXTRACT   \u2502\u2500\u2500\u2500\u25b6\u2502  TRANSFORM  \u2502\u2500\u2500\u2500\u25b6\u2502    LOAD     \u2502\n\u2502             \u2502    \u2502             \u2502    \u2502             \u2502\n\u2502 \u2022 APIs      \u2502    \u2502 \u2022 Clean     \u2502    \u2502 \u2022 Database  \u2502\n\u2502 \u2022 Databases \u2502    \u2502 \u2022 Map       \u2502    \u2502 \u2022 Warehouse \u2502\n\u2502 \u2022 Files     \u2502    \u2502 \u2022 Aggregate \u2502    \u2502 \u2022 Files     \u2502\n\u2502 \u2022 Webhooks  \u2502    \u2502 \u2022 Enrich    \u2502    \u2502 \u2022 APIs      \u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518    \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n```\n\n### n8n ETL Workflow\n\n```yaml\nworkflow: \"Daily Sales ETL\"\nschedule: \"2am daily\"\n\nnodes:\n  # EXTRACT\n  - name: \"Extract from Shopify\"\n    type: shopify\n    action: get_orders\n    filter: created_at >= yesterday\n    \n  - name: \"Extract from Stripe\"\n    type: stripe\n    action: get_payments\n    filter: created >= yesterday\n    \n  # TRANSFORM\n  - name: \"Merge Data\"\n    type: merge\n    mode: combine_by_key\n    key: order_id\n    \n  - name: \"Transform\"\n    type: code\n    code: |\n      return items.map(item => ({\n        date: item.created_at.split('T')[0],\n        order_id: item.id,\n        customer_email: item.email,\n        total: parseFloat(item.total_price),\n        currency: item.currency,\n        items: item.line_items.length,\n        source: item.source_name,\n        payment_status: item.payment.status\n      }));\n      \n  # LOAD\n  - name: \"Load to BigQuery\"\n    type: google_bigquery\n    action: insert_rows\n    table: sales_daily\n    \n  - name: \"Update Google Sheets\"\n    type: google_sheets\n    action: append_rows\n    spreadsheet: \"Daily Sales Report\"\n```\n\n---\n\n## Data Sources\n\n### Common Extractors\n\n```yaml\nextractors:\n  databases:\n    - postgresql:\n        connection: connection_string\n        query: \"SELECT * FROM orders WHERE date >= $1\"\n        \n    - mysql:\n        connection: connection_string\n        query: custom_sql\n        \n    - mongodb:\n        connection: connection_string\n        collection: orders\n        filter: {date: {$gte: yesterday}}\n        \n  apis:\n    - rest_api:\n        url: \"https:\/\/api.example.com\/data\"\n        method: GET\n        headers: {Authorization: \"Bearer {token}\"}\n        pagination: handle_automatically\n        \n    - graphql:\n        url: \"https:\/\/api.example.com\/graphql\"\n        query: graphql_query\n        \n  files:\n    - csv:\n        source: sftp\/s3\/google_drive\n        delimiter: \",\"\n        encoding: utf-8\n        \n    - excel:\n        source: file_path\n        sheet: \"Sheet1\"\n        \n    - json:\n        source: api\/file\n        path: \"data.items\"\n        \n  saas:\n    - salesforce: get_objects\n    - hubspot: get_contacts\/deals\n    - stripe: get_charges\n    - shopify: get_orders\n```\n\n---\n\n## Transformations\n\n### Common Transformations\n\n```yaml\ntransformations:\n  cleaning:\n    - remove_nulls: drop_or_fill\n    - trim_whitespace: all_string_fields\n    - deduplicate: by_key\n    - validate: against_schema\n    \n  mapping:\n    - rename_fields: {old_name: new_name}\n    - convert_types: {date_string: date}\n    - map_values: {status_code: status_name}\n    \n  aggregation:\n    - group_by: [date, category]\n    - sum: [revenue, quantity]\n    - count: orders\n    - average: order_value\n    \n  enrichment:\n    - lookup: from_reference_table\n    - geocode: from_address\n    - calculate: derived_fields\n    \n  filtering:\n    - where: condition\n    - limit: n_rows\n    - sample: percentage\n```\n\n### Code Transform Examples\n\n```javascript\n\/\/ Clean and normalize data\nfunction transform(items) {\n  return items.map(item => ({\n    \/\/ Clean strings\n    name: item.name?.trim().toLowerCase(),\n    \n    \/\/ Parse dates\n    date: new Date(item.created_at).toISOString().split('T')[0],\n    \n    \/\/ Convert types\n    amount: parseFloat(item.amount) || 0,\n    \n    \/\/ Map values\n    status: statusMap[item.status_code] || 'unknown',\n    \n    \/\/ Calculate fields\n    total: item.quantity * item.unit_price,\n    \n    \/\/ Filter nested\n    tags: item.tags?.filter(t => t.active).map(t => t.name),\n    \n    \/\/ Default values\n    source: item.source || 'direct'\n  }));\n}\n\n\/\/ Aggregate data\nfunction aggregate(items) {\n  const grouped = {};\n  \n  items.forEach(item => {\n    const key = `${item.date}_${item.category}`;\n    if (!grouped[key]) {\n      grouped[key] = {\n        date: item.date,\n        category: item.category,\n        total_revenue: 0,\n        order_count: 0\n      };\n    }\n    grouped[key].total_revenue += item.amount;\n    grouped[key].order_count += 1;\n  });\n  \n  return Object.values(grouped);\n}\n```\n\n---\n\n## Data Destinations\n\n### Common Loaders\n\n```yaml\nloaders:\n  data_warehouses:\n    - bigquery:\n        project: project_id\n        dataset: analytics\n        table: sales\n        write_mode: append\/truncate\n        \n    - snowflake:\n        account: account_id\n        warehouse: compute_wh\n        database: analytics\n        schema: public\n        \n    - redshift:\n        cluster: cluster_id\n        database: analytics\n        \n  databases:\n    - postgresql:\n        upsert: on_conflict_update\n        \n    - mysql:\n        batch_insert: 1000_rows\n        \n  files:\n    - s3:\n        bucket: data-lake\n        path: \/processed\/{date}\/\n        format: parquet\n        \n    - google_cloud_storage:\n        bucket: data-bucket\n        \n  spreadsheets:\n    - google_sheets:\n        mode: append\/overwrite\n        \n    - airtable:\n        base: base_id\n        table: table_name\n        \n  apis:\n    - webhook:\n        url: destination_url\n        batch_size: 100\n```\n\n---\n\n## Scheduling & Monitoring\n\n### Pipeline Scheduling\n\n```yaml\nscheduling:\n  patterns:\n    hourly:\n      cron: \"0 * * * *\"\n      use_for: real_time_dashboards\n      \n    daily:\n      cron: \"0 2 * * *\"\n      use_for: daily_reports\n      \n    weekly:\n      cron: \"0 3 * * 1\"\n      use_for: weekly_summaries\n      \n    on_demand:\n      trigger: webhook\/manual\n      use_for: ad_hoc_analysis\n      \n  dependencies:\n    - pipeline_a: must_complete_before pipeline_b\n    - wait_for: all_extracts_complete\n    \n  retries:\n    max_attempts: 3\n    delay: exponential_backoff\n    alert_on: final_failure\n```\n\n### Monitoring & Alerts\n\n```yaml\nmonitoring:\n  metrics:\n    - rows_processed\n    - execution_time\n    - error_count\n    - data_freshness\n    \n  alerts:\n    pipeline_failed:\n      channels: [slack, pagerduty]\n      template: |\n        \ud83d\udea8 *Pipeline Failed*\n        \n        Pipeline: {pipeline_name}\n        Stage: {failed_stage}\n        Error: {error_message}\n        \n        [View Logs]({logs_url})\n        \n    data_quality:\n      trigger: anomaly_detected\n      conditions:\n        - row_count: differs_by > 50%\n        - null_rate: exceeds_threshold\n        - schema: changed_unexpectedly\n        \n    stale_data:\n      trigger: last_update > threshold\n      threshold: 2_hours\n```\n\n---\n\n## Data Quality\n\n### Quality Checks\n\n```yaml\ndata_quality:\n  schema_validation:\n    - required_fields: [id, date, amount]\n    - field_types:\n        id: integer\n        date: date\n        amount: number\n    - allowed_values:\n        status: [active, pending, closed]\n        \n  statistical_checks:\n    - null_rate: < 5%\n    - duplicate_rate: < 1%\n    - value_range:\n        amount: [0, 1000000]\n        \n  business_rules:\n    - total_equals_sum_of_line_items\n    - dates_are_not_in_future\n    - email_format_valid\n    \n  trend_analysis:\n    - row_count: within_2_std_of_mean\n    - total_value: within_expected_range\n```\n\n---\n\n## Output Example\n\n**Request**: \"Create a daily sales data pipeline\"\n\n**Output**:\n\n```markdown\n# Daily Sales Data Pipeline\n\n## Pipeline Overview\n\n```\nShopify + Stripe \u2192 Transform \u2192 BigQuery + Sheets\n```\n\n## Schedule\n- Runs: 2am daily\n- Timezone: UTC\n- Retry: 3 attempts\n\n## Extract\n\n### Shopify Orders\n```yaml\nsource: shopify\nfilter: created_at >= yesterday\nfields: [id, email, total_price, line_items, created_at]\n```\n\n### Stripe Payments\n```yaml\nsource: stripe\nfilter: created >= yesterday\nfields: [id, amount, status, metadata.order_id]\n```\n\n## Transform\n\n```javascript\n\/\/ Join and clean data\n{\n  date: order.created_at.split('T')[0],\n  order_id: order.id,\n  customer: order.email,\n  revenue: parseFloat(order.total_price),\n  items: order.line_items.length,\n  payment_status: payment.status\n}\n```\n\n## Load\n\n### BigQuery\n- Table: `analytics.sales_daily`\n- Mode: Append\n\n### Google Sheets\n- Sheet: \"Daily Sales Dashboard\"\n- Tab: \"Raw Data\"\n\n## Quality Checks\n- [ ] Row count > 0\n- [ ] No null order_ids\n- [ ] Revenue sum matches Stripe\n\n## Alerts\n- Slack: #data-alerts\n- On failure: @data-team\n```\n\n---\n\n*Data Pipeline Skill - Part of Claude Office Skills*\n","use_cases":["Automate daily sales data integration from Shopify and Stripe to BigQuery","Transform and load customer data from multiple sources into a centralized warehouse","Schedule and monitor data pipelines for real-time analytics and reporting"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/claude-office-skills\/skills\/blob\/9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11\/data-pipeline\/SKILL.md","source_commit":"9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11","license":"MIT","version":null,"listing_approved_at":"2026-11-22","created_at":"2026-11-21T13:21:25.000000Z","updated_at":"2026-11-22T11:17:55.000000Z","seo_title":"Data Pipeline Automation for ETL Workflows","seo_description":"Automate data pipelines with ETL workflows for integration, transformation, and analytics. Schedule, monitor, and scale data processes using n8n templates and supported E","seo_keywords":["data pipeline automation","etl workflow automation","data integration tools","data transformation scripts","data loading automation"]}}