Mixpanel · Arazzo Workflow

Mixpanel Provision Warehouse Source and Trigger Import

Version 1.0.0

Create a warehouse source connection, trigger an import run, and read the run history.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AnalyticsData AnalysisEvent TrackingProduct AnalyticsUser BehaviorArazzoWorkflows

Provider

mixpanel

Workflows

warehouse-import-run
Create a warehouse source, trigger an import run, then list run history.
Posts a new source to /projects/{projectId}/warehouse-sources, triggers a run via the runs POST, then lists runs to confirm.
3 steps inputs: connectionDetails, projectId, schedule, sourceName, sourceType outputs: runId, runs, sourceId
1
createSource
Create a new warehouse source connection for importing data into Mixpanel. Uses service account basic auth.
2
triggerRun
Manually trigger an import run for the newly created warehouse source.
3
listRuns
Retrieve the import run history for the source so the triggered run can be confirmed alongside prior runs.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Mixpanel Provision Warehouse Source and Trigger Import
  summary: Create a warehouse source connection, trigger an import run, and read the run history.
  description: >-
    A warehouse-connector onboarding workflow. The flow creates a new warehouse
    source connection for a project, manually triggers an import run for that
    source, and then reads the run history so the freshly triggered run can be
    confirmed in context. Each step spells out its request inline so the flow can
    be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: connectorsApi
  url: ../openapi/mixpanel-connectors-api-openapi.yml
  type: openapi
- name: importsApi
  url: ../openapi/mixpanel-imports-api-openapi.yml
  type: openapi
workflows:
- workflowId: warehouse-import-run
  summary: Create a warehouse source, trigger an import run, then list run history.
  description: >-
    Posts a new source to /projects/{projectId}/warehouse-sources, triggers a
    run via the runs POST, then lists runs to confirm.
  inputs:
    type: object
    required:
    - projectId
    - sourceName
    - sourceType
    - connectionDetails
    properties:
      projectId:
        type: integer
        description: The Mixpanel project ID.
      sourceName:
        type: string
        description: Name for the new warehouse source connection.
      sourceType:
        type: string
        description: Warehouse type (bigquery, snowflake, redshift, databricks, postgresql).
      schedule:
        type: string
        description: Optional import schedule (hourly, daily, weekly).
      connectionDetails:
        type: object
        description: Warehouse-specific connection details (credentials, host, etc.).
  steps:
  - stepId: createSource
    description: >-
      Create a new warehouse source connection for importing data into Mixpanel.
      Uses service account basic auth.
    operationId: createWarehouseSource
    parameters:
    - name: projectId
      in: path
      value: $inputs.projectId
    requestBody:
      contentType: application/json
      payload:
        name: $inputs.sourceName
        type: $inputs.sourceType
        schedule: $inputs.schedule
        connectionDetails: $inputs.connectionDetails
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      sourceId: $response.body#/id
      sourceStatus: $response.body#/status
  - stepId: triggerRun
    description: >-
      Manually trigger an import run for the newly created warehouse source.
    operationId: triggerWarehouseRun
    parameters:
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: sourceId
      in: path
      value: $steps.createSource.outputs.sourceId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      runId: $response.body#/id
      runStatus: $response.body#/status
  - stepId: listRuns
    description: >-
      Retrieve the import run history for the source so the triggered run can be
      confirmed alongside prior runs.
    operationId: listWarehouseRuns
    parameters:
    - name: projectId
      in: path
      value: $inputs.projectId
    - name: sourceId
      in: path
      value: $steps.createSource.outputs.sourceId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      runs: $response.body#/results
  outputs:
    sourceId: $steps.createSource.outputs.sourceId
    runId: $steps.triggerRun.outputs.runId
    runs: $steps.listRuns.outputs.runs

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/mixpanel-warehouse-import-run-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.