Skip to integration content

How to integrate Unify with Mixpanel

To integrate Unify with Mixpanel, configure a Unify Play Webhook action to call the documented API with POST, the required credentials, and the destination-specific JSON body. Use this connection to analyze selected prospect handoff events in Mixpanel.[1][2][3]

By UnifyDocumentation reviewed
Connection
Via API
Product analytics
Tool
Mixpanel
Mixpanel
Data flow
Unify → Mixpanel
JSON payload

At a glance

  1. Via API: Mixpanel receives the handoff
  2. POST request with an explicit JSON contract and destination authentication
  3. Test scenario: Validate event identity

When this workflow makes sense

Start with the decision your team needs to make, then choose the connection that supports it.

Sales process events can enrich a funnel if their definitions are stable. Measure the handoff that actually happened, then join it to later outcomes only through an agreed identity. Avoid relabeling audience membership as engagement.

A good fit when

Teams that want to analyze selected prospect handoff events in Mixpanel and have an owner for the receiving process. The destination account must permit the documented request and the chosen downstream action.

Reconsider the plan when

The receiving team has not agreed how this Mixpanel operation should behave when the same record arrives again. Resolve the matching rule before enabling retries.

Design the handoff

Use this framework to agree on the input, the next action, and who owns the result.

Suggested workflow design, based on the documented capabilities below.

StageDecision to make
Business decisionAnalyze selected prospect handoff events in Mixpanel
Receiving contractAgree which of the 4 example data fields the receiving process actually needs. Set missing-value and identity rules in the field mapping below.
Execution boundaryGive one owner access to inspect the Mixpanel request and its resulting action.
CompletionDecide who can confirm the Mixpanel outcome and recover a failed or repeated handoff. Use the completion check below as the acceptance criterion.

Explore the scenarios

Choose the situation that fits your team and work through the proposed plan.

Open a scenario to explore its plan. Checklists track your selections in this page only.

Analyze selected prospect handoff events in Mixpanel

Start with one controlled record and one intended Mixpanel outcome. Keep the test destination separate from live operations.

The decision that matters

The receiving owner must distinguish accepted input from completed work. Agree on the evidence required before treating this handoff as successful.

  1. Prepare the destination using the Mixpanel setup checklist
  2. Resolve the sample fields for one known record and inspect the request before sending it
  3. Trace that handoff through the receiving operation and compare the actual destination values with the source
Your validation checklist
0 of 3 checks marked by you
Validate event identity

Validate event identity: replay a controlled handoff with the same insert identity and inspect the documented deduplication behavior. Then send a genuinely new handoff with a new event identity.

The decision that matters

Decide whether this case should be held for review, corrected, or retried. Make that decision before running Mixpanel against live records.

  1. Isolate the test in a controlled destination and record the starting state
  2. Run the edge case described above and capture the actual response and destination state
  3. Recover the record once, then check that recovery did not create unintended additional work
Your validation checklist
0 of 3 checks marked by you

Illustrative workflow, not a preconfigured automation. Complete these checks in your own account.

Connect your tools to Unify

Set up your integration or walk through it with our team

Define success before launch

Inspect the data and the intended outcome separately. Connection status is only the first check.

Expected, not tested

Analyze selected prospect handoff events in Mixpanel

Inspect ingestion results and find the event by its identity and time in Mixpanel. Confirm it is not mistaken for a product activation or purchase.

Documentation-based reference. This workflow has not been tested end to end. Use a record or event you control before enabling live activity.

Questions answered

Common decisions when connecting Unify and Mixpanel.

Why send an array for a single event?

The import endpoint accepts an array of event objects. Each event carries its name and properties, including the person identity and occurrence time.[3]

Limits & decisions

Check these boundaries before designing a live workflow around the connection.

  • Sending prospect events under the wrong distinct_id can distort a user journey. HTTP success does not validate the business meaning of an event.[3]
  • API and trigger access depend on the destination account, permissions, and configuration. This request pattern is not a claim of native Unify sync.[3]

What the connection supports

Understand the connection, the data involved, and the behavior that matters for a Unify + Mixpanel workflow.

Connection flowVia API
Prospect data

POST / JSON

Documented behavior at a glance
DecisionWhat to know
Unify actionOutbound HTTP request with configurable method, authentication, headers, and body[1]
Receiving operationDefine an event name, stable distinct_id, actual occurrence time, and unique insert ID. Confirm the identity matches the project’s measurement plan.[3]
Response handlingWebhook response bodies are not available as inputs to later Unify Play actions[2]

Technical setup reference

References and requirements for the Mixpanel connection.

Connection requirements and setup checklist

Before connecting

  • A Unify Play with a Webhook action and a controlled record for testing
  • Access to the intended Mixpanel environment and the permissions required by the cited API or trigger
  • The destination identifiers, credentials, and schema used by the request below
  • An agreed record identity, duplicate policy, and owner for failed handoffs
  1. Prepare the Mixpanel destination

    Define an event name, stable distinct_id, actual occurrence time, and unique insert ID. Confirm the identity matches the project’s measurement plan.[3]

  2. Configure the destination action

    POST an array of events to the regional import endpoint with strict validation. Replace the fictional timestamp before sending a real event.[3]

  3. Configure the Unify request

    Use POST, the endpoint and authentication below, and JSON body format in the Webhook action. Replace setup placeholders, then inspect Expand preview with a controlled record. The receiver must respond within 8 seconds; webhook response bodies are not exposed to later Play steps.[1][2]

  4. Validate the complete handoff

    Run the success and edge-case scenarios in Explore the scenarios with a controlled record. Save the request identity and destination evidence, then apply the completion check before enabling live traffic.[3]

Request configuration

Method
POST
URL pattern
https://api.mixpanel.com/import?strict=1&project_id=YOUR_PROJECT_ID
Headers
Content-Type: application/json
Authentication
Use Basic Auth with a Mixpanel service account username and secret authorized for the project. Select the regional ingestion host for that project.

Choose JSON as the body format. Unify sets Content-Type automatically. The receiver must respond within Unify’s 8-second timeout; request responses are not passed to later Play steps.[2]

Replace URL placeholders with the actual receiver URL from your account or deployed application. These example URLs are not working endpoints.

Example handoff payload

Start with a fictional prospect. Validate the resolved values before using a real record.

Inspect the sample payload and field mapping
Example request body
[
  {
    "event": "Prospect handoff",
    "properties": {
      "distinct_id": "example-person-001",
      "time": 1789488000,
      "$insert_id": "example-handoff-001",
      "company_domain": "example.com",
      "source": "Unify"
    }
  }
]

Fictional data. Replace sample values before using a real Play.

Illustrative JSON for the documented receiving operation. All prospect values are fictional. Replace credentials, identifiers, schema-specific fields, and fixed example values before a controlled test. Use the field mapping to distinguish record data from fixed settings. Select available fields in your Play and inspect Expand preview; do not replace configuration values with prospect data.[1][2][3]

Payload fieldValue to send
0.eventstring / static / Request configurationKeep the literal "Prospect handoff" required by this example request; change it only when deliberately changing the receiving contract.

If missing: Keep this configured value in the request; do not replace it with a blank prospect field.

0.properties.distinct_idstring / dynamic / Agreed person identityMap the stable identity used by this destination to the same person or company in your source. This example identifier is not a documented Unify variable.

If missing: Hold the handoff rather than creating an anonymous or incorrectly matched record.

0.properties.timenumber / dynamic / Actual event occurrence timeReplace the sample Unix timestamp with the real handoff occurrence time in seconds. Preserve its numeric JSON type; do not use an unrelated profile update time.

If missing: Hold the event until its occurrence time is known.

0.properties.$insert_idstring / dynamic / Handoff identity chosen by your implementationSupply a stable identifier for this logical handoff. Reuse it on a retry, and use a different identifier for a genuinely new event. Do not assume Unify automatically creates this sample field.

If missing: Hold the handoff until the receiver or upstream workflow can establish its identity.

0.properties.company_domainstring / dynamic / Company domainSelect the available company domain field for the controlled person or company record in Unify. Keep the receiving field a string.

If missing: Skip or hold the handoff if this value is required by the destination; omit it only when the destination contract permits omission. Do not send a guessed value.

0.properties.sourcestring / static / Request configurationKeep the literal "Unify" required by this example request; change it only when deliberately changing the receiving contract.

If missing: Keep this configured value in the request; do not replace it with a blank prospect field.

Keep event identity in $insert_id and person identity in distinct_id. time is an example Unix timestamp and must represent when the actual handoff occurred.

Troubleshooting

Start with the stage where the expected data or action stops appearing.

The request is rejected

Use Basic Auth with a Mixpanel service account username and secret authorized for the project. Select the regional ingestion host for that project. Check the receiving account, permissions, endpoint, and required fields against the cited documentation.[3]

The values or destination are wrong

Compare the resolved JSON with the field-by-field contract in Example handoff payload. Check identifiers against the selected Mixpanel environment, and distinguish an absent source value from an intentional static value. Fix the mapping before repeating the write.[3]

Receipt does not match the expected result

Find the request in the receiving logs, then inspect the actual Mixpanel resource or execution. If the request was accepted but no result exists, investigate the destination failure before retrying. Keep the same logical handoff identity when recovering a repeat.[3]

Sources & review

Official documentation reviewed on September 15, 2026.

Technical claims link to primary documentation from Unify and the destination tool. Scenarios, field choices, and recovery plans are editorial implementation examples. Documentation review is separate from execution testing.

Documentation reviewed; end-to-end execution not tested. No named technical reviewer has signed off on these articles yet.

Content updated: . Report a correction to Unify with the tool name, source URL, and behavior you observed.

  1. [1] Unify: Webhook action
  2. [2] Unify: Webhooks in Plays
  3. [3] Mixpanel: official connection reference

Get started with Unify

Create your account or book a demo with our team