Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 15 additions & 0 deletions apps/docs/components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1742,6 +1742,21 @@ export function AmplitudeIcon(props: SVGProps<SVGSVGElement>) {
)
}

export function GoogleAppsheetIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35 36' fill='none'>
<path
fill='#0060d9'
d='m29.0098 6.30417h-7.6818l-3.0989 4.40413-1.8448 4.3641 4.9437.5578 5.1352-.5377 3.8117-6.59901c.5596-.97344-.1422-2.18932-1.2651-2.18932z'
/>
<g fill='#4285f4'>
<path d='m3.10253 8.49714 3.19192 5.47426c.39193.6708 1.10834 1.0846 1.8849 1.0846l8.20315.0164 4.9455-8.76823h-16.96584c-1.12656 0-1.82656 1.22135-1.25963 2.19297z' />
<path d='m18.0122 29.8453c-.556.9662-1.9469.9789-2.5175.0201l-3.1791-5.3375c-.4011-.6745-.412-1.5112-.0256-2.1948l4.0943-7.2625 10.0771.02z' />
</g>
</svg>
)
}

export function GoogleBooksIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 478.63 540.07'>
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/components/ui/icon-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ import {
GmailIcon,
GongIcon,
GoogleAdsIcon,
GoogleAppsheetIcon,
GoogleBigQueryIcon,
GoogleBooksIcon,
GoogleCalendarIcon,
Expand Down Expand Up @@ -321,6 +322,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
gmail_v2: GmailIcon,
gong: GongIcon,
google_ads: GoogleAdsIcon,
google_appsheet: GoogleAppsheetIcon,
google_bigquery: GoogleBigQueryIcon,
google_books: GoogleBooksIcon,
google_calendar: GoogleCalendarIcon,
Expand Down
169 changes: 111 additions & 58 deletions apps/docs/content/docs/en/integrations/ahrefs.mdx

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/docs/content/docs/en/integrations/algolia.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Perform batch add, update, partial update, or delete operations on records in an
| `applicationId` | string | Yes | Algolia Application ID |
| `apiKey` | string | Yes | Algolia Admin API Key |
| `indexName` | string | Yes | Name of the Algolia index |
| `requests` | json | Yes | Array of batch operations. Each item has "action" \(addObject, updateObject, partialUpdateObject, partialUpdateObjectNoCreate, deleteObject, delete, clear\) and "body" \(the record data, must include objectID for update/delete; omit body for delete/clear\) |
| `requests` | json | Yes | Array of batch operations. Each item has "action" \(addObject, updateObject, partialUpdateObject, partialUpdateObjectNoCreate, deleteObject, delete, clear\) and "body" \(the record data; must include objectID for update/delete; use an empty object \{\} for the index-level delete/clear actions\) |

#### Output

Expand Down
99 changes: 94 additions & 5 deletions apps/docs/content/docs/en/integrations/amplitude.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"

<BlockInfoCard
type="amplitude"
color="#1B1F3B"
color="#13294B"
/>

{/* MANUAL-CONTENT-START:intro */}
Expand All @@ -31,7 +31,7 @@ In Sim, the Amplitude integration enables powerful analytics automation scenario

## Usage Instructions

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



Expand Down Expand Up @@ -64,6 +64,7 @@ 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 @@ -86,6 +87,7 @@ Set user properties in Amplitude using the Identify API. Supports $set, $setOnce
| `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 @@ -106,6 +108,7 @@ Set group-level properties in Amplitude. Supports $set, $setOnce, $add, $append,
| `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 @@ -125,6 +128,7 @@ Search for a user by User ID, Device ID, or Amplitude ID using the Dashboard RES
| `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 @@ -149,6 +153,7 @@ Get the event stream for a specific user by their Amplitude 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 All @@ -170,10 +175,12 @@ Get the event stream for a specific user by their Amplitude ID.
| ↳ `numSessions` | number | Total session count |
| ↳ `platform` | string | Primary platform |
| ↳ `country` | string | Country |
| ↳ `firstUsed` | string | Date the user first appeared |
| ↳ `lastUsed` | string | Date of most recent user activity |

### `amplitude_user_profile`

Get a user profile including properties, cohort memberships, and computed properties.
Get a user profile including properties, cohort memberships, and computed properties. Not available for EU data-residency projects.

#### Input

Expand Down Expand Up @@ -212,7 +219,12 @@ Query event analytics data with segmentation. Get event counts, uniques, average
| `metric` | string | No | Metric type: uniques, totals, pct_dau, average, histogram, sums, value_avg, or formula \(default: uniques\) |
| `interval` | string | No | Time interval: 1 \(daily\), 7 \(weekly\), or 30 \(monthly\) |
| `groupBy` | string | No | Property name to group by \(prefix custom user properties with "gp:"\) |
| `groupBy2` | string | No | Second property name to group by \(prefix custom user properties with "gp:"\) |
| `limit` | string | No | Maximum number of group-by values \(max 1000\) |
| `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 @@ -237,6 +249,9 @@ Get active or new user counts over a date range from the Dashboard REST API.
| `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 @@ -256,6 +271,7 @@ Get real-time active user counts at 5-minute granularity for the last 2 days.
| --------- | ---- | -------- | ----------- |
| `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 @@ -275,6 +291,7 @@ List all event types in the Amplitude project with their weekly totals and uniqu
| --------- | ---- | -------- | ----------- |
| `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 @@ -286,6 +303,8 @@ List all event types in the Amplitude project with their weekly totals and uniqu
| ↳ `totals` | number | Weekly total count |
| ↳ `hidden` | boolean | Whether the event is hidden |
| ↳ `deleted` | boolean | Whether the event is deleted |
| ↳ `nonActive` | boolean | Whether the event is excluded from active user calculations |
| ↳ `flowHidden` | boolean | Whether the event is hidden from user flow charts |

### `amplitude_get_revenue`

Expand All @@ -301,13 +320,83 @@ Get revenue LTV data including ARPU, ARPPU, total revenue, and paying user count
| `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

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `series` | json | Array of revenue data series |
| `series` | array | Revenue data series \[\{dates: \[YYYY-MM-DD\], values: \{&lt;date&gt;: \{r1d..r90d, count, paid, total_amount\}\}\}\] |
| ↳ `dates` | array | Dates covered by this series |
| ↳ `values` | json | Per-date metric values keyed by date \(r1d..r90d, count, paid, total_amount\) |
| `seriesLabels` | array | Labels for each data series |
| `xValues` | array | Date values for the x-axis |

### `amplitude_funnels`

Analyze conversion rates and drop-off between a sequence of events.

#### Input

| 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 |
| `mode` | string | No | Funnel ordering: "ordered", "unordered", or "sequential" \(default: ordered\) |
| `userType` | string | No | User type: "new" or "active" \(default: active\) |
| `interval` | string | No | Time interval: -300000 \(real-time\), -3600000 \(hourly\), 1 \(daily\), 7 \(weekly\), or 30 \(monthly\) |
| `conversionWindowSeconds` | string | No | Conversion window in seconds \(default: 2592000, i.e. 30 days\) |
| `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

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `funnels` | array | Funnel results, one entry per segment |
| ↳ `stepByStep` | json | Conversion count at each step |
| ↳ `cumulative` | json | Cumulative conversion percentage at each step |
| ↳ `cumulativeRaw` | json | Cumulative conversion count at each step |
| ↳ `medianTransTimes` | json | Median transition time between steps \(ms\) |
| ↳ `avgTransTimes` | json | Average transition time between steps \(ms\) |
| ↳ `events` | json | Event names for each funnel step |
| ↳ `dayFunnels` | json | Daily funnel breakdown \{series, xValues\} |

### `amplitude_retention`

Measure how many users return to perform an action after a starting action.

#### Input

| 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 |
| `end` | string | Yes | End date in YYYYMMDD format |
| `retentionMode` | string | No | Retention type: "bracket", "rolling", or "n-day" \(default: n-day\) |
| `retentionBrackets` | string | No | Required when Retention Mode is "bracket". Day ranges, e.g. \[\[0,4\]\] |
| `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

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `series` | array | Retention data series \[\{dates, values: \{&lt;date&gt;: \[\{count, outof, incomplete\}\]\}, combined: \[\{count, outof, incomplete\}\]\}\] |
| ↳ `dates` | array | Cohort dates |
| ↳ `values` | json | Per-cohort-date retention counts keyed by date |
| ↳ `combined` | json | Deduplicated aggregate retention across all cohorts |
| `seriesMeta` | array | Segment/event index metadata for each series entry |


5 changes: 5 additions & 0 deletions apps/docs/content/docs/en/integrations/brex.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,8 @@ List spend limits in the Brex account, optionally filtered by member user
| ↳ `status` | string | Spend limit status |
| ↳ `period_recurrence_type` | string | Period recurrence \(PER_WEEK, PER_MONTH, PER_QUARTER, PER_YEAR, ONE_TIME\) |
| ↳ `spend_type` | string | Spend type of the limit |
| ↳ `start_date` | string | Spend limit start date |
| ↳ `end_date` | string | Spend limit end date |
| ↳ `owner_user_ids` | array | User IDs of the spend limit owners |
| ↳ `member_user_ids` | array | User IDs of the spend limit members |
| ↳ `current_period_balance` | json | Spend and rollover amounts for the current period |
Expand All @@ -737,6 +739,7 @@ List spend limits in the Brex account, optionally filtered by member user
| ↳ `rollover_amount` | json | Amount rolled over from previous periods |
| ↳ `amount` | number | Amount in the smallest unit of the currency \(e.g., cents for USD\) |
| ↳ `currency` | string | ISO 4217 currency code \(e.g., USD\) |
| ↳ `authorization_settings` | json | Authorization settings \(base limit, authorization type, rollover refresh\) |
| `nextCursor` | string | Cursor for fetching the next page of results |

### `brex_get_spend_limit`
Expand Down Expand Up @@ -858,6 +861,7 @@ List money transfers in the Brex account
| ↳ `created_at` | string | Creation timestamp |
| ↳ `display_name` | string | Transfer display name |
| ↳ `external_memo` | string | External memo |
| ↳ `is_ppro_enabled` | boolean | Whether Principal Protection \(PPRO\) is enabled |
| `nextCursor` | string | Cursor for fetching the next page of results |

### `brex_get_transfer`
Expand Down Expand Up @@ -891,5 +895,6 @@ Get a Brex money transfer by its ID
| `createdAt` | string | Creation timestamp |
| `displayName` | string | Transfer display name |
| `externalMemo` | string | External memo |
| `isPproEnabled` | boolean | Whether Principal Protection \(PPRO\) is enabled |


Loading
Loading