Mixpanel · Arazzo Workflow

Mixpanel Annotate Release and Measure Retention

Version 1.0.0

Mark a release on the timeline and then measure retention from that born event.

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

Provider

mixpanel

Workflows

retention-with-annotation
Annotate a release date then query birth retention for a born and return event.
Creates an annotation via /projects/{projectId}/annotations, then queries /retention with the born event and return event to produce the retention matrix.
2 steps inputs: annotationDate, annotationText, bornEvent, fromDate, projectId, returnEvent, toDate outputs: annotationId, retention
1
annotateRelease
Create an annotation marking the release date so it can be overlaid on the retention chart. Uses service account basic auth.
2
queryRetention
Query birth retention for the born event and return event over the date range, returning counts per retention period.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Mixpanel Annotate Release and Measure Retention
  summary: Mark a release on the timeline and then measure retention from that born event.
  description: >-
    A release-impact workflow. The flow first creates an annotation marking a
    product release on the project timeline, then queries the Retention endpoint
    using a born event and return event to measure how many users came back over
    successive periods. The created annotation date gives the team a visible
    marker to overlay against the retention curve. 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: retentionApi
  url: ../openapi/mixpanel-retention-api-openapi.yml
  type: openapi
workflows:
- workflowId: retention-with-annotation
  summary: Annotate a release date then query birth retention for a born and return event.
  description: >-
    Creates an annotation via /projects/{projectId}/annotations, then queries
    /retention with the born event and return event to produce the retention
    matrix.
  inputs:
    type: object
    required:
    - projectId
    - annotationDate
    - annotationText
    - bornEvent
    - returnEvent
    - fromDate
    - toDate
    properties:
      projectId:
        type: integer
        description: The Mixpanel project ID.
      annotationDate:
        type: string
        description: Release date-time to annotate (YYYY-MM-DDThh:mm:ss).
      annotationText:
        type: string
        description: Description text for the release annotation.
      bornEvent:
        type: string
        description: The initial event that defines the retention cohort.
      returnEvent:
        type: string
        description: The return event used to measure retention.
      fromDate:
        type: string
        description: Retention start date (YYYY-MM-DD).
      toDate:
        type: string
        description: Retention end date (YYYY-MM-DD).
  steps:
  - stepId: annotateRelease
    description: >-
      Create an annotation marking the release date so it can be overlaid on the
      retention chart. Uses service account basic auth.
    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
  - stepId: queryRetention
    description: >-
      Query birth retention for the born event and return event over the date
      range, returning counts per retention period.
    operationId: queryRetention
    parameters:
    - name: project_id
      in: query
      value: $inputs.projectId
    - name: from_date
      in: query
      value: $inputs.fromDate
    - name: to_date
      in: query
      value: $inputs.toDate
    - name: born_event
      in: query
      value: $inputs.bornEvent
    - name: event
      in: query
      value: $inputs.returnEvent
    - name: retention_type
      in: query
      value: birth
    - name: unit
      in: query
      value: week
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      retention: $response.body
  outputs:
    annotationId: $steps.annotateRelease.outputs.annotationId
    retention: $steps.queryRetention.outputs.retention

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-retention-with-annotation-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.