AACFlow

Amplitude

Ereignisse verfolgen und Analysen von Amplitude abfragen

Amplitude is a leading digital analytics platform that helps teams understand user behavior, measure product performance, and make data-driven decisions at scale.

The Amplitude integration in AACFlow connects with the Amplitude HTTP and Dashboard REST APIs using API key and secret key authentication, allowing your agents to track events, manage user properties, and query analytics data programmatically. This API-based approach ensures secure access to Amplitude's full suite of analytics capabilities.

With the Amplitude integration, your agents can:

  • Track events: Send custom events to Amplitude with rich properties, revenue data, and user context directly from your workflows
  • Identify users: Set and update user properties using operations like $set, $setOnce, $add, $append, and $unset to maintain detailed user profiles
  • Search for users: Look up users by User ID, Device ID, or Amplitude ID to retrieve profile information and metadata
  • Query event analytics: Run event segmentation queries with grouping, custom metrics (uniques, totals, averages, DAU percentages), and flexible date ranges
  • Monitor user activity: Retrieve event streams for specific users to understand individual user journeys and behavior patterns
  • Analyze active users: Get active or new user counts over time with daily, weekly, or monthly granularity
  • Track revenue: Access revenue LTV metrics including ARPU, ARPPU, total revenue, and paying user counts

In AACFlow, the Amplitude integration enables powerful analytics automation scenarios. Your agents can track product events in real time based on workflow triggers, enrich user profiles as new data becomes available, query segmentation data to inform downstream decisions, or build monitoring workflows that alert on changes in key metrics. By connecting AACFlow with Amplitude, you can build intelligent agents that bridge the gap between analytics insights and automated action, enabling data-driven workflows that respond to user behavior patterns and product performance trends.

Nutzungsanleitung

Integrate Amplitude into your workflow to track events, identify users and groups, search for users, query analytics, and retrieve revenue data.

Tools

amplitude_send_event

Track an event in Amplitude using the HTTP V2 API.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
userIdstringNeinUser ID (required if no device_id)
deviceIdstringNeinDevice ID (required if no user_id)
eventTypestringJaName of the event (e.g., "page_view", "purchase")
eventPropertiesstringNeinJSON object of custom event properties
userPropertiesstringNeinJSON object of user properties to set (supports $set, $setOnce, $add, $append, $unset)
timestringNeinEvent timestamp in milliseconds since epoch
sessionIdstringNeinSession start time in milliseconds since epoch
insertIdstringNeinUnique ID for deduplication (within 7-day window)
appVersionstringNeinApplication version string
platformstringNeinPlatform (e.g., "Web", "iOS", "Android")
countrystringNeinTwo-letter country code
languagestringNeinLanguage code (e.g., "en")
ipstringNeinIP address for geo-location
pricestringNeinPrice of the item purchased
quantitystringNeinQuantity of items purchased
revenuestringNeinRevenue amount
productIdstringNeinProduct identifier
revenueTypestringNeinRevenue type (e.g., "purchase", "refund")

Ausgabe

ParameterTypBeschreibung
codenumberResponse code (200 for success)
eventsIngestednumberNumber of events ingested
payloadSizeBytesnumberSize of the payload in bytes
serverUploadTimenumberServer upload timestamp

amplitude_identify_user

Set user properties in Amplitude using the Identify API. Supports $set, $setOnce, $add, $append, $unset operations.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
userIdstringNeinUser ID (required if no device_id)
deviceIdstringNeinDevice ID (required if no user_id)
userPropertiesstringJaJSON object of user properties. Use operations like $set, $setOnce, $add, $append, $unset.

Ausgabe

ParameterTypBeschreibung
codenumberHTTP response status code
messagestringResponse message

amplitude_group_identify

Set group-level properties in Amplitude. Supports $set, $setOnce, $add, $append, $unset operations.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
groupTypestringJaGroup classification (e.g., "company", "org_id")
groupValuestringJaSpecific group identifier (e.g., "Acme Corp")
groupPropertiesstringJaJSON object of group properties. Use operations like $set, $setOnce, $add, $append, $unset.

Ausgabe

ParameterTypBeschreibung
codenumberHTTP response status code
messagestringResponse message

Search for a user by User ID, Device ID, or Amplitude ID using the Dashboard REST API.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
secretKeystringJaAmplitude Secret Key
userstringJaUser ID, Device ID, or Amplitude ID to search for

Ausgabe

ParameterTypBeschreibung
matchesarrayList of matching users
amplitudeIdnumberAmplitude internal user ID
userIdstringExternal user ID
typestringMatch type (e.g., match_user_or_device_id)

amplitude_user_activity

Get the event stream for a specific user by their Amplitude ID.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
secretKeystringJaAmplitude Secret Key
amplitudeIdstringJaAmplitude internal user ID
offsetstringNeinOffset for pagination (default 0)
limitstringNeinMaximum number of events to return (default 1000, max 1000)
directionstringNeinSort direction: "latest" or "earliest" (default: latest)

Ausgabe

ParameterTypBeschreibung
eventsarrayList of user events
eventTypestringType of event
eventTimestringEvent timestamp
eventPropertiesjsonCustom event properties
userPropertiesjsonUser properties at event time
sessionIdnumberSession ID
platformstringPlatform
countrystringCountry
citystringCity
userDatajsonUser metadata
userIdstringExternal user ID
canonicalAmplitudeIdnumberCanonical Amplitude ID
numEventsnumberTotal event count
numSessionsnumberTotal session count
platformstringPrimary platform
countrystringCountry

amplitude_user_profile

Get a user profile including properties, cohort memberships, and computed properties.

Eingabe

ParameterTypErforderlichBeschreibung
secretKeystringJaAmplitude Secret Key
userIdstringNeinExternal user ID (required if no device_id)
deviceIdstringNeinDevice ID (required if no user_id)
getAmpPropsstringNeinInclude Amplitude user properties (true/false, default: false)
getCohortIdsstringNeinInclude cohort IDs the user belongs to (true/false, default: false)
getComputationsstringNeinInclude computed user properties (true/false, default: false)

Ausgabe

ParameterTypBeschreibung
userIdstringExternal user ID
deviceIdstringDevice ID
ampPropsjsonAmplitude user properties (library, first_used, last_used, custom properties)
cohortIdsarrayList of cohort IDs the user belongs to
computationsjsonComputed user properties

amplitude_event_segmentation

Query event analytics data with segmentation. Get event counts, uniques, averages, and more.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
secretKeystringJaAmplitude Secret Key
eventTypestringJaEvent type name to analyze
startstringJaStart date in YYYYMMDD format
endstringJaEnd date in YYYYMMDD format
metricstringNeinMetric type: uniques, totals, pct_dau, average, histogram, sums, value_avg, or formula (default: uniques)
intervalstringNeinTime interval: 1 (daily), 7 (weekly), or 30 (monthly)
groupBystringNeinProperty name to group by (prefix custom user properties with "gp:")
limitstringNeinMaximum number of group-by values (max 1000)

Ausgabe

ParameterTypBeschreibung
seriesjsonTime-series data arrays indexed by series
seriesLabelsarrayLabels for each data series
seriesCollapsedjsonCollapsed aggregate totals per series
xValuesarrayDate values for the x-axis

amplitude_get_active_users

Get active or new user counts over a date range from the Dashboard REST API.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
secretKeystringJaAmplitude Secret Key
startstringJaStart date in YYYYMMDD format
endstringJaEnd date in YYYYMMDD format
metricstringNeinMetric type: "active" or "new" (default: active)
intervalstringNeinTime interval: 1 (daily), 7 (weekly), or 30 (monthly)

Ausgabe

ParameterTypBeschreibung
seriesjsonArray of data series with user counts per time interval
seriesMetaarrayMetadata labels for each data series (e.g., segment names)
xValuesarrayDate values for the x-axis

amplitude_realtime_active_users

Get real-time active user counts at 5-minute granularity for the last 2 days.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
secretKeystringJaAmplitude Secret Key

Ausgabe

ParameterTypBeschreibung
seriesjsonArray of data series with active user counts at 5-minute intervals
seriesLabelsarrayLabels for each series (e.g., "Today", "Yesterday")
xValuesarrayTime values for the x-axis (e.g., "15:00", "15:05")

amplitude_list_events

List all event types in the Amplitude project with their weekly totals and unique counts.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
secretKeystringJaAmplitude Secret Key

Ausgabe

ParameterTypBeschreibung
eventsarrayList of event types in the project
valuestringEvent type name
displayNamestringEvent display name
totalsnumberWeekly total count
hiddenbooleanWhether the event is hidden
deletedbooleanWhether the event is deleted

amplitude_get_revenue

Get revenue LTV data including ARPU, ARPPU, total revenue, and paying user counts.

Eingabe

ParameterTypErforderlichBeschreibung
apiKeystringJaAmplitude API Key
secretKeystringJaAmplitude Secret Key
startstringJaStart date in YYYYMMDD format
endstringJaEnd date in YYYYMMDD format
metricstringNeinMetric: 0 (ARPU), 1 (ARPPU), 2 (Total Revenue), 3 (Paying Users)
intervalstringNeinTime interval: 1 (daily), 7 (weekly), or 30 (monthly)

Ausgabe

ParameterTypBeschreibung
seriesjsonArray of revenue data series
seriesLabelsarrayLabels for each data series
xValuesarrayDate values for the x-axis

On this page

Heute mit dem Aufbau beginnen
Über 100 000 Entwickler vertrauen uns.
Die SaaS-Plattform zum Aufbau von KI-Agenten und für Ihre agentische Belegschaft.
Loslegen