- Documentation
Amplitude integration
Track product events, identify users, and query funnels and segmentation on behalf of your clients.
What it does
The Amplitude integration lets your agency push product analytics events into a client's Amplitude project and read back the aggregate views they care about. Connect a client's project once and your workflows can record events as users complete signup, place orders, or churn; identify those users with structured properties; alias one identifier to another when a global ID is finally known; and query funnels, event segmentation, and active-user counts to feed dashboards, alerts, or downstream branching logic. A polling trigger watches one or more event types on a fixed interval so workflows can react to changes in segmentation totals without standing up an event collector.
Connect an Amplitude account
- Open your workspace in TaskJuice and navigate to Connections.
- Choose Amplitude and click Connect.
- In a new tab, open the client's Amplitude project, go to Settings, Projects, and select the project you want to connect.
- Copy the API key and the Secret key from the Project Settings panel.
- Paste both into TaskJuice. Set the region to
usfor projects created on amplitude.com oreufor projects on analytics.eu.amplitude.com, then set the Ingestion API Host and Query API Host to the matching defaults (api2.amplitude.comandamplitude.comfor US,api.eu.amplitude.comandanalytics.eu.amplitude.comfor EU). - Save the connection.
To rotate the credentials later, generate new keys in Amplitude Project Settings, update the connection in TaskJuice, and the next run will pick them up.
Triggers
amplitude/event-segmentation-pollpolls the Analytics events-segmentation endpoint for a chosen event_type on a fixed interval and emits one activation per cycle, with one record per interval bucket returned since the previous watermark. Amplitude does not push webhooks for product events, so polling is the only way to react to changes in event volume.
Actions
amplitude/track-eventsends a single product event to the HTTP V2 ingestion endpoint with user_id or device_id, event_type, optional event_properties and user_properties, and an insert_id for deduplication.amplitude/batch-ingestsends a batch of events through the higher-throughput/batchendpoint, with an optional options object for fields likemin_id_length.amplitude/identify-usersets or updates user_properties on a user record through the/identifyendpoint.amplitude/alias-usermaps a global user identifier to an Amplitude user_id through the/usermapendpoint, so identifiers minted outside Amplitude can be linked to the canonical record.amplitude/query-event-segmentationcomputes counts, totals, or property aggregates for one event over a date range through the Analytics/events/segmentationendpoint.amplitude/get-funnelcomputes a multi-step conversion funnel through the Dashboard/funnelsendpoint, with configurable mode (ordered, unordered, sequential), conversion window, and active-vs-new cohort.amplitude/get-active-usersreturns active or newly created user counts over a date range through the Dashboard/usersendpoint.
Known limitations
- Amplitude does not push webhooks for product events, so reacting to user behavior requires polling. The
event-segmentation-polltrigger queries the dashboard API on the configured interval and is rate-limited by Amplitude to 360 requests per hour per project; intervals shorter than 300 seconds are rejected at the workflow level. - The Dashboard query endpoints require both an API key and a Secret key. The ingestion endpoints work with only the API key, but the Secret key is still required when the connection is created because every connection in TaskJuice can drive any action.
- EU-residency projects must be connected with the EU hosts (
api.eu.amplitude.comandanalytics.eu.amplitude.com). US keys will not authenticate against EU hosts and vice versa. - Ingestion is asynchronous on Amplitude's side: a
200 OKfrom/2/httpapior/batchmeans the payload was accepted, not that the events have appeared in dashboards. Allow a few minutes for events to surface in event segmentation and funnel queries. - The query actions return the raw Amplitude response shape (
data.series,data.seriesLabels,data.xValues). Workflows that need a flat per-bucket list should pair the action with a Loop node over the interval buckets.