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
25 changes: 25 additions & 0 deletions apps/docs/components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5730,6 +5730,31 @@ export function McpIcon(props: SVGProps<SVGSVGElement>) {
)
}

export function A2AIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} viewBox='0 0 860 860' fill='none' xmlns='http://www.w3.org/2000/svg'>
<circle cx='544' cy='307' r='27' fill='currentColor' />
<circle cx='154' cy='307' r='27' fill='currentColor' />
<circle cx='706' cy='307' r='27' fill='currentColor' />
<circle cx='316' cy='307' r='27' fill='currentColor' />
<path
d='M336.5 191H162C97.66 191 45.5 243.16 45.5 307.5C45.5 371.84 97.64 424 161.99 424C206.55 424 256.29 424 296.5 424C487.5 424 374 191.01 569 191C613.89 191 658.97 191 698.03 191C762.37 191 814.5 243.16 814.5 307.5C814.5 371.84 762.34 424 698 424H523.5'
stroke='currentColor'
strokeWidth='48'
strokeLinecap='round'
/>
<path
d='M256 510C270.36 510 282 521.64 282 536C282 550.36 270.36 562 256 562H148C133.64 562 122 550.36 122 536C122 521.64 133.64 510 148 510H256ZM712 510C726.36 510 738 521.64 738 536C738 550.36 726.36 562 712 562H360C345.64 562 334 550.36 334 536C334 521.64 345.64 510 360 510H712Z'
fill='currentColor'
/>
<path
d='M444 628C458.36 628 470 639.64 470 654C470 668.36 458.36 680 444 680H100C85.64 680 74 668.36 74 654C74 639.64 85.64 628 100 628H444ZM548 628C562.36 628 574 639.64 574 654C574 668.36 562.36 680 548 680C533.64 680 522 668.36 522 654C522 639.64 533.64 628 548 628ZM760 628C774.36 628 786 639.64 786 654C786 668.36 774.36 680 760 680H652C637.64 680 626 668.36 626 654C626 639.64 637.64 628 652 628H760Z'
fill='currentColor'
/>
</svg>
)
}

export function WordpressIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='0 0 25.93 25.93'>
Expand Down
54 changes: 53 additions & 1 deletion apps/docs/content/docs/en/integrations/airtable.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ In Sim, the Airtable integration enables your agents to interact with your Airta

## Usage Instructions

Integrates Airtable into the workflow. Can list bases, list tables (with schema), and create, get, list, or update records. Can also be used in trigger mode to trigger a workflow when an update is made to an Airtable table.
Integrates Airtable into the workflow. Can list bases, list tables (with schema), and create, get, list, update, upsert, or delete records. Can also be used in trigger mode to trigger a workflow when an update is made to an Airtable table.



Expand Down Expand Up @@ -203,6 +203,58 @@ Update multiple existing records in an Airtable table
| ↳ `recordCount` | number | Number of records updated |
| ↳ `updatedRecordIds` | array | List of updated record IDs |

### `airtable_upsert_records`

Update existing records or create new ones in an Airtable table, matching on the specified merge fields

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `baseId` | string | Yes | Airtable base ID \(starts with "app", e.g., "appXXXXXXXXXXXXXX"\) |
| `tableId` | string | Yes | Table ID \(starts with "tbl"\) or table name |
| `records` | json | Yes | Array of records to upsert, each with a `fields` object |
| `fieldsToMergeOn` | json | Yes | Array of field names used to match existing records \(max 3\). A record is updated when all merge fields match, otherwise it is created. Example: \["Name"\] |
| `typecast` | boolean | No | When true, Airtable automatically converts string values to the field type |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `records` | array | Array of upserted Airtable records |
| ↳ `id` | string | Record ID |
| ↳ `createdTime` | string | Record creation timestamp |
| ↳ `fields` | json | Record field values |
| `createdRecords` | array | IDs of records that were created |
| `updatedRecords` | array | IDs of records that were updated |
| `metadata` | json | Operation metadata |
| ↳ `recordCount` | number | Total number of records returned |
| ↳ `createdCount` | number | Number of records created |
| ↳ `updatedCount` | number | Number of records updated |

### `airtable_delete_records`

Delete one or more records from an Airtable table by ID

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `baseId` | string | Yes | Airtable base ID \(starts with "app", e.g., "appXXXXXXXXXXXXXX"\) |
| `tableId` | string | Yes | Table ID \(starts with "tbl"\) or table name |
| `recordIds` | json | Yes | Array of record IDs to delete \(each starts with "rec", e.g., \["recXXXXXXXXXXXXXX"\]\). Pass a single-element array to delete one record. |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `records` | array | Array of deleted Airtable records |
| ↳ `id` | string | Record ID |
| ↳ `deleted` | boolean | Whether the record was deleted |
| `metadata` | json | Operation metadata |
| ↳ `recordCount` | number | Number of records deleted |
| ↳ `deletedRecordIds` | array | List of deleted record IDs |

### `airtable_get_base_schema`

Get the schema of all tables, fields, and views in an Airtable base
Expand Down
204 changes: 204 additions & 0 deletions apps/docs/content/docs/en/integrations/clerk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -440,3 +440,207 @@ Revoke a session to immediately invalidate it
| `success` | boolean | Operation success status |



## Triggers

A **Trigger** is a block that starts a workflow when an event happens in this service.

### Clerk Organization Created

Trigger workflow when a Clerk organization is created

#### Configuration

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `signingSecret` | string | Yes | Copy this from your Clerk webhook endpoint to verify event signatures. |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `type` | string | Event type \(e.g., user.created, session.created\) |
| `object` | string | Always "event" |
| `timestamp` | number | Timestamp in milliseconds when the event occurred |
| `instance_id` | string | Identifier of your Clerk instance |
| `data` | json | Raw event `data` object \(shape varies by event type\) |
| `organizationId` | string | Clerk organization ID \(data.id\) |
| `name` | string | Organization name \(data.name\) |
| `slug` | string | Organization slug \(data.slug\) |
| `createdBy` | string | User ID of the creator \(data.created_by\) |
| `membersCount` | number | Number of members \(data.members_count\) |
| `maxAllowedMemberships` | number | Maximum allowed memberships \(data.max_allowed_memberships\) |
| `createdAt` | number | Organization creation timestamp \(data.created_at\) |


---

### Clerk Organization Membership Created

Trigger workflow when a Clerk organization membership is created

#### Configuration

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `signingSecret` | string | Yes | Copy this from your Clerk webhook endpoint to verify event signatures. |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `type` | string | Event type \(e.g., user.created, session.created\) |
| `object` | string | Always "event" |
| `timestamp` | number | Timestamp in milliseconds when the event occurred |
| `instance_id` | string | Identifier of your Clerk instance |
| `data` | json | Raw event `data` object \(shape varies by event type\) |
| `membershipId` | string | Membership ID \(data.id\) |
| `role` | string | Membership role, e.g. org:admin \(data.role\) |
| `organizationId` | string | Organization ID \(data.organization.id\) |
| `userId` | string | User ID of the member \(data.public_user_data.user_id\) |
| `createdAt` | number | Membership creation timestamp \(data.created_at\) |


---

### Clerk Session Created

Trigger workflow when a Clerk session is created

#### Configuration

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `signingSecret` | string | Yes | Copy this from your Clerk webhook endpoint to verify event signatures. |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `type` | string | Event type \(e.g., user.created, session.created\) |
| `object` | string | Always "event" |
| `timestamp` | number | Timestamp in milliseconds when the event occurred |
| `instance_id` | string | Identifier of your Clerk instance |
| `data` | json | Raw event `data` object \(shape varies by event type\) |
| `sessionId` | string | Clerk session ID \(data.id\) |
| `userId` | string | User the session belongs to \(data.user_id\) |
| `clientId` | string | Client ID for the session \(data.client_id\) |
| `status` | string | Session status \(data.status\) |
| `createdAt` | number | Session creation timestamp \(data.created_at\) |


---

### Clerk User Created

Trigger workflow when a Clerk user is created

#### Configuration

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `signingSecret` | string | Yes | Copy this from your Clerk webhook endpoint to verify event signatures. |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `type` | string | Event type \(e.g., user.created, session.created\) |
| `object` | string | Always "event" |
| `timestamp` | number | Timestamp in milliseconds when the event occurred |
| `instance_id` | string | Identifier of your Clerk instance |
| `data` | json | Raw event `data` object \(shape varies by event type\) |
| `userId` | string | Clerk user ID \(data.id\) |
| `firstName` | string | User's first name |
| `lastName` | string | User's last name |
| `username` | string | User's username |
| `imageUrl` | string | Profile image URL |
| `primaryEmailAddressId` | string | Primary email address ID |
| `emailAddresses` | json | Array of email address objects |
| `phoneNumbers` | json | Array of phone number objects |
| `externalId` | string | External system ID linked to the user |
| `createdAt` | number | User creation timestamp \(data.created_at\) |
| `updatedAt` | number | User last update timestamp \(data.updated_at\) |


---

### Clerk User Deleted

Trigger workflow when a Clerk user is deleted

#### Configuration

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `signingSecret` | string | Yes | Copy this from your Clerk webhook endpoint to verify event signatures. |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `type` | string | Event type \(e.g., user.created, session.created\) |
| `object` | string | Always "event" |
| `timestamp` | number | Timestamp in milliseconds when the event occurred |
| `instance_id` | string | Identifier of your Clerk instance |
| `data` | json | Raw event `data` object \(shape varies by event type\) |
| `userId` | string | Deleted Clerk user ID \(data.id\) |
| `deleted` | boolean | Whether the user was deleted \(data.deleted\) |


---

### Clerk User Updated

Trigger workflow when a Clerk user is updated

#### Configuration

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `signingSecret` | string | Yes | Copy this from your Clerk webhook endpoint to verify event signatures. |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `type` | string | Event type \(e.g., user.created, session.created\) |
| `object` | string | Always "event" |
| `timestamp` | number | Timestamp in milliseconds when the event occurred |
| `instance_id` | string | Identifier of your Clerk instance |
| `data` | json | Raw event `data` object \(shape varies by event type\) |
| `userId` | string | Clerk user ID \(data.id\) |
| `firstName` | string | User's first name |
| `lastName` | string | User's last name |
| `username` | string | User's username |
| `imageUrl` | string | Profile image URL |
| `primaryEmailAddressId` | string | Primary email address ID |
| `emailAddresses` | json | Array of email address objects |
| `phoneNumbers` | json | Array of phone number objects |
| `externalId` | string | External system ID linked to the user |
| `createdAt` | number | User creation timestamp \(data.created_at\) |
| `updatedAt` | number | User last update timestamp \(data.updated_at\) |


---

### Clerk Webhook

Trigger workflow on any Clerk webhook event

#### Configuration

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `signingSecret` | string | Yes | Copy this from your Clerk webhook endpoint to verify event signatures. |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `type` | string | Event type \(e.g., user.created, session.created\) |
| `object` | string | Always "event" |
| `timestamp` | number | Timestamp in milliseconds when the event occurred |
| `instance_id` | string | Identifier of your Clerk instance |
| `data` | json | Raw event `data` object \(shape varies by event type\) |

Loading
Loading