mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-06 04:35:03 -05:00
* feat(tools): added calcom * added more triggers, tested * updated regex in script for release to be more lenient * fix(tag-dropdown): performance improvements and scroll bug fixes - Add flatTagIndexMap for O(1) tag lookups (replaces O(n²) findIndex calls) - Memoize caret position calculation to avoid DOM manipulation on every render - Use refs for inputValue/cursorPosition to keep handleTagSelect callback stable - Change itemRefs from index-based to tag-based keys to prevent stale refs - Fix scroll jump in nested folders by removing scroll reset from registerFolder - Add onFolderEnter callback for scroll reset when entering folder via keyboard - Disable keyboard navigation wrap-around at boundaries - Simplify selection reset to single effect on flatTagList.length change Also: - Add safeCompare utility for timing-safe string comparison - Refactor webhook signature validation to use safeCompare Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * updated types * fix(calcom): simplify required field constraints for booking attendee The condition field already restricts these to calcom_create_booking, so simplified to required: true. Per Cal.com API docs, email is optional while name and timeZone are required. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * added tests * updated folder multi select, updated calcom and github tools and docs generator script * updated drag, updated outputs for tools, regen docs with nested docs script * updated setup instructions links, destructure trigger outputs, fix text subblock styling * updated docs gen script * updated docs script * updated docs script * updated script * remove destructuring of stripe webhook * expanded wand textarea, updated calcom tools --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
61 lines
2.7 KiB
Plaintext
61 lines
2.7 KiB
Plaintext
---
|
||
title: Clay
|
||
description: Populate Clay workbook
|
||
---
|
||
|
||
import { BlockInfoCard } from "@/components/ui/block-info-card"
|
||
|
||
<BlockInfoCard
|
||
type="clay"
|
||
color="#E0E0E0"
|
||
/>
|
||
|
||
{/* MANUAL-CONTENT-START:intro */}
|
||
[Clay](https://www.clay.com/) is a data enrichment and workflow automation platform designed to help teams streamline lead generation, research, and other data operations using powerful integrations and flexible input options.
|
||
|
||
In Sim, the Clay integration lets your agents seamlessly insert structured data into Clay workbooks via webhook triggers. This makes it easy to collect, enrich, and manage dynamic outputs—such as leads, research summaries, or action items—directly within a collaborative, spreadsheet-like interface.
|
||
|
||
With Clay, you can:
|
||
|
||
- **Enrich agent outputs**: Automatically feed your Sim agent data into Clay tables for structured tracking and analysis.
|
||
- **Trigger workflows via webhooks**: Use Clay’s webhook support to initiate Sim agent tasks directly from Clay or have agents send data to Clay as part of your workflow.
|
||
- **Leverage data loops**: Seamlessly iterate over enriched data rows with agents that operate across dynamic datasets.
|
||
|
||
The integration supports workflows where your agents populate rows in real time, enabling asynchronous, collaborative work. Whether you're automating research, enriching CRM data, or tracking operational outcomes, Clay becomes a living data layer that interacts intelligently with your agents. By connecting Sim with Clay, you can operationalize agent-generated results, automate dataset processing, and maintain an auditable, up-to-date record of AI-driven work.
|
||
{/* MANUAL-CONTENT-END */}
|
||
|
||
|
||
## Usage Instructions
|
||
|
||
Integrate Clay into the workflow. Can populate a table with data.
|
||
|
||
|
||
|
||
## Tools
|
||
|
||
### `clay_populate`
|
||
|
||
Populate Clay with data from a JSON file. Enables direct communication and notifications with timestamp tracking and channel confirmation.
|
||
|
||
#### Input
|
||
|
||
| Parameter | Type | Required | Description |
|
||
| --------- | ---- | -------- | ----------- |
|
||
| `webhookURL` | string | Yes | The webhook URL to populate |
|
||
| `data` | json | Yes | The data to populate |
|
||
| `authToken` | string | No | Optional auth token for Clay webhook authentication \(most webhooks do not require this\) |
|
||
|
||
#### Output
|
||
|
||
| Parameter | Type | Description |
|
||
| --------- | ---- | ----------- |
|
||
| `data` | json | Response data from Clay webhook |
|
||
| `metadata` | object | Webhook response metadata |
|
||
| ↳ `status` | number | HTTP status code |
|
||
| ↳ `statusText` | string | HTTP status text |
|
||
| ↳ `headers` | object | Response headers from Clay |
|
||
| ↳ `timestamp` | string | ISO timestamp when webhook was received |
|
||
| ↳ `contentType` | string | Content type of the response |
|
||
|
||
|