Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
d153eb7
fix(kalshi): sign requests with Ed25519 keys, the type Kalshi generat…
waleedlatif1 Nov 12, 2026
16edab1
feat(amplitude): saved project credential and a credential-only Ampli…
waleedlatif1 Nov 12, 2026
518f6c8
feat(kalshi): saved API key credential and a credential-only Kalshi b…
waleedlatif1 Nov 12, 2026
f2ae779
feat(splunk): saved authentication token credential and a credential-…
waleedlatif1 Nov 12, 2026
cd66fd2
feat(cbinsights): saved API client credential and a credential-only C…
waleedlatif1 Nov 12, 2026
ed35cf8
chore(audits): shrink the unused-exports baseline for exports now in use
waleedlatif1 Nov 12, 2026
fc199fc
test(credentials): cover a token-replaced sign-in whose token fills a…
waleedlatif1 Nov 12, 2026
e897cde
feat(railway): saved token credential, type-aware, and a credential-o…
waleedlatif1 Nov 12, 2026
556f943
feat(qdrant): saved API key credential bound to its instance URL, and…
waleedlatif1 Nov 12, 2026
398a0ca
fix(credentials): honor an optional domain field in the token secret …
waleedlatif1 Nov 12, 2026
32237ac
fix(amplitude): send both saved keys to User Profile over Basic auth
waleedlatif1 Nov 12, 2026
6c41142
test(kalshi): keep only the signer cases that guard the key-type fix
waleedlatif1 Nov 12, 2026
8bdfcf2
docs(amplitude): note that User Profile sends both saved keys in the …
waleedlatif1 Nov 12, 2026
8ebf286
fix(railway): require the workspace ID in the connect form once the t…
waleedlatif1 Nov 12, 2026
d9e40e2
chore(audits): re-record the tool-registry boundary baseline for the …
waleedlatif1 Nov 12, 2026
9fbc7e5
fix(amplitude): default the saved credential's data residency to us
waleedlatif1 Nov 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/docs/components/ui/icon-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
algolia: AlgoliaIcon,
algolia_v2: AlgoliaIcon,
amplitude: AmplitudeIcon,
amplitude_v2: AmplitudeIcon,
api: ApiIcon,
api_trigger: ApiIcon,
apify: ApifyIcon,
Expand Down Expand Up @@ -380,6 +381,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
calendly: CalendlyIcon,
calendly_v2: CalendlyIcon,
cbinsights: CbInsightsIcon,
cbinsights_v2: CbInsightsIcon,
chat_trigger: Task,
checkr: CheckrIcon,
checkr_v2: CheckrIcon,
Expand Down Expand Up @@ -569,6 +571,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
jupyter_v3: JupyterIcon,
kalshi: KalshiIcon,
kalshi_v2: KalshiIcon,
kalshi_v3: KalshiIcon,
ketch: KetchIcon,
knowledge: PackageSearchIcon,
lambda: LambdaIcon,
Expand Down Expand Up @@ -674,6 +677,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
pulse_v2: PulseIcon,
pulse_v3: PulseIcon,
qdrant: QdrantIcon,
qdrant_v2: QdrantIcon,
quartr: QuartrIcon,
quartr_v2: QuartrIcon,
quickbooks: QuickBooksIcon,
Expand All @@ -682,6 +686,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
quiver_v3: QuiverIcon,
rabbitmq: RabbitmqIcon,
railway: RailwayIcon,
railway_v2: RailwayIcon,
ramp: RampIcon,
rb2b: RB2BIcon,
rb2b_v2: RB2BIcon,
Expand Down Expand Up @@ -746,6 +751,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
smtp: SmtpIcon,
snowflake: SnowflakeIcon,
splunk: SplunkIcon,
splunk_v2: SplunkIcon,
sportmonks: SportmonksIcon,
sportmonks_v2: SportmonksIcon,
sqs: SQSIcon,
Expand Down
38 changes: 3 additions & 35 deletions apps/docs/content/docs/integrations/amplitude.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Amplitude
description: Track events and query analytics from Amplitude
integration:
type: "amplitude"
type: "amplitude_v2"
color: "#13294B"
---

Expand All @@ -11,6 +11,8 @@ import { ReferenceDetails } from "@/components/ui/reference-details"

{/* MANUAL-CONTENT-START:intro */}
Use [Amplitude](https://amplitude.com/) to send events, update user and group properties, and query product analytics from a workflow. The HTTP and Dashboard REST APIs use API-key and secret-key authentication.

Connect an Amplitude project once as an Amplitude credential: in Amplitude, open **Settings > Projects**, choose the project, and copy the **API key** and **secret key** from its **General** tab. Enter `eu` as the data residency only for a project hosted in Amplitude's EU data center. Sim checks the pair by listing the project's events, a read with no billing cost. Event and identify operations send the API key, analytics operations and **User Profile** send both keys; User Profile is not available for EU projects. Workflows built with the earlier Amplitude block keep the keys they entered in the block.
{/* MANUAL-CONTENT-END */}

## Use the block [#usage-instructions]
Expand All @@ -29,7 +31,6 @@ Track an event in Amplitude using the HTTP V2 API.

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `userId` | string | No | User ID \(required if no device_id\) |
| `deviceId` | string | No | Device ID \(required if no user_id\) |
| `eventType` | string | Yes | Name of the event \(e.g., "page_view", "purchase"\) |
Expand All @@ -48,7 +49,6 @@ Track an event in Amplitude using the HTTP V2 API.
| `revenue` | string | No | Revenue amount |
| `productId` | string | No | Product identifier |
| `revenueType` | string | No | Revenue type \(e.g., "purchase", "refund"\) |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -71,11 +71,9 @@ Set user properties in Amplitude using the Identify API. Supports $set, $setOnce

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `userId` | string | No | User ID \(required if no device_id\) |
| `deviceId` | string | No | Device ID \(required if no user_id\) |
| `userProperties` | string | Yes | JSON object of user properties. Use operations like $set, $setOnce, $add, $append, $unset. |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -96,11 +94,9 @@ Set group-level properties in Amplitude. Supports $set, $setOnce, $add, $append,

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `groupType` | string | Yes | Group classification \(e.g., "company", "org_id"\) |
| `groupValue` | string | Yes | Specific group identifier \(e.g., "Acme Corp"\) |
| `groupProperties` | string | Yes | JSON object of group properties. Use operations like $set, $setOnce, $add, $append, $unset. |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -121,10 +117,7 @@ Search for a user by User ID, Device ID, or Amplitude ID using the Dashboard RES

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `user` | string | Yes | User ID, Device ID, or Amplitude ID to search for |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -147,13 +140,10 @@ Get the event stream for a specific user by their Amplitude ID.

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `amplitudeId` | string | Yes | Amplitude internal user ID |
| `offset` | string | No | Offset for pagination \(default 0\) |
| `limit` | string | No | Maximum number of events to return \(default 1000, max 1000\) |
| `direction` | string | No | Sort direction: "latest" or "earliest" \(default: latest\) |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand Down Expand Up @@ -190,7 +180,6 @@ Get a user profile including properties, cohort memberships, and computed proper

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `userId` | string | No | External user ID \(required if no device_id\) |
| `deviceId` | string | No | Device ID \(required if no user_id\) |
| `getAmpProps` | string | No | Include Amplitude user properties \(true/false, default: false\) |
Expand Down Expand Up @@ -219,8 +208,6 @@ Query event analytics data with segmentation. Get event counts, uniques, average

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `eventType` | string | Yes | Event type name to analyze |
| `start` | string | Yes | Start date in YYYYMMDD format |
| `end` | string | Yes | End date in YYYYMMDD format |
Expand All @@ -232,7 +219,6 @@ Query event analytics data with segmentation. Get event counts, uniques, average
| `filters` | string | No | JSON array of filter objects applied to the event, e.g. \[\{"subprop_type":"event","subprop_key":"city","subprop_op":"is","subprop_value":\["San Francisco"\]\}\] |
| `formula` | string | No | Required when metric is "formula", e.g. "UNIQUES\(A\)/UNIQUES\(B\)" |
| `segment` | string | No | JSON segment definition\(s\) applied to the query |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -255,15 +241,12 @@ Get active or new user counts over a date range from the Dashboard REST API.

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `start` | string | Yes | Start date in YYYYMMDD format |
| `end` | string | Yes | End date in YYYYMMDD format |
| `metric` | string | No | Metric type: "active" or "new" \(default: active\) |
| `interval` | string | No | Time interval: 1 \(daily\), 7 \(weekly\), or 30 \(monthly\) |
| `groupBy` | string | No | Property name to group by |
| `segment` | string | No | JSON segment definition\(s\) applied to the query |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -285,9 +268,6 @@ Get real-time active user counts at 5-minute granularity for the last 2 days.

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -309,9 +289,6 @@ List all event types in the Amplitude project with their weekly totals and uniqu

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -338,15 +315,12 @@ Get revenue LTV data including ARPU, ARPPU, total revenue, and paying user count

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `start` | string | Yes | Start date in YYYYMMDD format |
| `end` | string | Yes | End date in YYYYMMDD format |
| `metric` | string | No | Metric: 0 \(ARPU\), 1 \(ARPPU\), 2 \(Total Revenue\), 3 \(Paying Users\) |
| `interval` | string | No | Time interval: 1 \(daily\), 7 \(weekly\), or 30 \(monthly\) |
| `groupBy` | string | No | Property name to group by \(limit: one\) |
| `segment` | string | No | JSON segment definition\(s\) applied to the query |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -369,8 +343,6 @@ Analyze conversion rates and drop-off between a sequence of events.

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `events` | string | Yes | JSON array of event objects, one per funnel step in order, e.g. \[\{"event_type":"signup"\},\{"event_type":"purchase"\}\] |
| `start` | string | Yes | Start date in YYYYMMDD format |
| `end` | string | Yes | End date in YYYYMMDD format |
Expand All @@ -381,7 +353,6 @@ Analyze conversion rates and drop-off between a sequence of events.
| `groupBy` | string | No | Property to group by \(limit: one; prefix custom properties with "gp:"\) |
| `limit` | string | No | Maximum number of group-by values \(default: 100, max: 1000\) |
| `segment` | string | No | JSON segment definition\(s\) applied to the query |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand All @@ -408,8 +379,6 @@ Measure how many users return to perform an action after a starting action.

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `apiKey` | string | Yes | Amplitude API Key |
| `secretKey` | string | Yes | Amplitude Secret Key |
| `startEvent` | string | Yes | JSON starting event object, e.g. \{"event_type":"_new"\} or \{"event_type":"_active"\} |
| `returnEvent` | string | Yes | JSON returning event object, e.g. \{"event_type":"_all"\} or \{"event_type":"_active"\} |
| `start` | string | Yes | Start date in YYYYMMDD format |
Expand All @@ -419,7 +388,6 @@ Measure how many users return to perform an action after a starting action.
| `interval` | string | No | Time interval: 1 \(daily\), 7 \(weekly\), or 30 \(monthly\) |
| `groupBy` | string | No | Property to group by \(limit: one; prefix custom properties with "gp:"\) |
| `segment` | string | No | JSON segment definition\(s\) applied to the query |
| `dataResidency` | string | No | Data residency region: "us" \(default\) or "eu" |

#### Output

Expand Down
Loading
Loading