Mixpanel · Arazzo Workflow

Mixpanel Funnel Analysis and Annotate

Version 1.0.0

Find a saved funnel, query its conversion data, and annotate the chart.

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

Provider

mixpanel

Workflows

funnel-analysis
List funnels, query the chosen funnel, then annotate the analysis date.
Calls /funnels/list to confirm the funnel exists, queries /funnels for its conversion data, then creates an annotation marking the analysis.
3 steps inputs: annotationDate, annotationText, fromDate, funnelId, projectId, toDate outputs: annotationId, funnelMeta, funnels
1
listFunnels
List all saved funnels in the project to confirm the requested funnel is available. Uses service account basic auth.
2
queryFunnel
Query the conversion data for the chosen funnel over the date range, returning per-step counts and conversion ratios.
3
annotateAnalysis
Create an annotation on the project timeline marking the funnel analysis so the result is visible to the team on charts.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Mixpanel Funnel Analysis and Annotate
  summary: Find a saved funnel, query its conversion data, and annotate the chart.
  description: >-
    A conversion-analysis workflow. The flow lists the saved funnels in a
    project, selects the requested funnel, queries its conversion data over a
    date range, and finally drops an annotation on the timeline so the analysis
    is marked for the team. 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: annotationsApi
  url: ../openapi/mixpanel-annotations-api-openapi.yml
  type: openapi
- name: funnelsApi
  url: ../openapi/mixpanel-funnels-api-openapi.yml
  type: openapi
workflows:
- workflowId: funnel-analysis
  summary: List funnels, query the chosen funnel, then annotate the analysis date.
  description: >-
    Calls /funnels/list to confirm the funnel exists, queries /funnels for its
    conversion data, then creates an annotation marking the analysis.
  inputs:
    type: object
    required:
    - projectId
    - funnelId
    - fromDate
    - toDate
    - annotationDate
    - annotationText
    properties:
      projectId:
        type: integer
        description: The Mixpanel project ID.
      funnelId:
        type: integer
        description: The ID of the saved funnel to query.
      fromDate:
        type: string
        description: Funnel query start date (YYYY-MM-DD).
      toDate:
        type: string
        description: Funnel query end date (YYYY-MM-DD).
      annotationDate:
        type: string
        description: Date-time to annotate (YYYY-MM-DDThh:mm:ss).
      annotationText:
        type: string
        description: Description text for the annotation.
  steps:
  - stepId: listFunnels
    description: >-
      List all saved funnels in the project to confirm the requested funnel is
      available. Uses service account basic auth.
    operationId: listFunnels
    parameters:
    - name: project_id
      in: query
      value: $inputs.projectId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      funnels: $response.body
  - stepId: queryFunnel
    description: >-
      Query the conversion data for the chosen funnel over the date range,
      returning per-step counts and conversion ratios.
    operationId: queryFunnels
    parameters:
    - name: project_id
      in: query
      value: $inputs.projectId
    - name: funnel_id
      in: query
      value: $inputs.funnelId
    - name: from_date
      in: query
      value: $inputs.fromDate
    - name: to_date
      in: query
      value: $inputs.toDate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      funnelMeta: $response.body#/meta
  - stepId: annotateAnalysis
    description: >-
      Create an annotation on the project timeline marking the funnel analysis
      so the result is visible to the team on charts.
    operationId: createAnnotation
    parameters:
    - name: projectId
      in: path
      value: $inputs.projectId
    requestBody:
      contentType: application/json
      payload:
        date: $inputs.annotationDate
        description: $inputs.annotationText
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      annotationId: $response.body#/id
  outputs:
    funnels: $steps.listFunnels.outputs.funnels
    funnelMeta: $steps.queryFunnel.outputs.funnelMeta
    annotationId: $steps.annotateAnalysis.outputs.annotationId

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-funnel-analysis-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.