Skip to content

Commit 9bd3491

Browse files
waleedlatif1icecrasher321greptile-apps[bot]
authored
feat(webhooks): deprecate singular webhook block + add trigger mode to blocks (#903)
* feat(triggers): added new trigger mode for blocks, added socket event, ran migrations * Rename old trigger/ directory to background/ * cleaned up, ensured that we display active webhook at the block-level * fix submenu in tag dropdown * keyboard nav on tag dropdown submenu * feat(triggers): add outlook to new triggers system * cleanup * add types to tag dropdown, type all outputs for tools and use that over block outputs * update doc generator to truly reflect outputs * fix docs * add trigger handler * fix active webhook tag * tag dropdown fix for triggers * remove trigger mode schema change * feat(execution-filesystem): system to pass files between blocks (#866) * feat(files): pass files between blocks * presigned URL for downloads * Remove latest migration before merge * starter block file upload wasn't getting logged * checkpoint in human readable form * checkpoint files / file type outputs * file downloads working for block outputs * checkpoint file download * fix type issues * remove filereference interface with simpler user file interface * show files in the tag dropdown for start block * more migration to simple url object, reduce presigned time to 5 min * Remove migration 0065_parallel_nightmare and related files - Deleted apps/sim/db/migrations/0065_parallel_nightmare.sql - Deleted apps/sim/db/migrations/meta/0065_snapshot.json - Removed 0065 entry from apps/sim/db/migrations/meta/_journal.json Preparing for merge with origin/staging and migration regeneration * add migration files * fix tests * Update apps/sim/lib/uploads/setup.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update apps/sim/lib/workflows/execution-file-storage.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update apps/sim/lib/workflows/execution-file-storage.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * cleanup types * fix lint * fix logs typing for file refs * open download in new tab * fixed * Update apps/sim/tools/index.ts Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * fix file block * cleanup unused code * fix bugs * remove hacky file id logic * fix drag and drop * fix tests --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * feat(trigger-mode): added trigger-mode to workflow_blocks table (#902) * fix(schedules-perms): use regular perm system to view/edit schedule info (#901) * fix(schedules-perms): use regular perm system to view schedule info * fix perms * improve logging * cleanup * prevent tooltip showing up on modal open * updated trigger config * fix type issues --------- Co-authored-by: Vikhyath Mondreti <[email protected]> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> Co-authored-by: Vikhyath Mondreti <[email protected]>
1 parent fd3ca87 commit 9bd3491

File tree

307 files changed

+9186
-3357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+9186
-3357
lines changed

apps/docs/content/docs/tools/airtable.mdx

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -71,19 +71,16 @@ Read records from an Airtable table
7171

7272
| Parameter | Type | Required | Description |
7373
| --------- | ---- | -------- | ----------- |
74-
| `accessToken` | string | Yes | OAuth access token |
7574
| `baseId` | string | Yes | ID of the Airtable base |
7675
| `tableId` | string | Yes | ID of the table |
7776
| `maxRecords` | number | No | Maximum number of records to return |
78-
| `filterFormula` | string | No | Formula to filter records \(e.g., |
77+
| `filterFormula` | string | No | Formula to filter records \(e.g., "\(\{Field Name\} = \'Value\'\)"\) |
7978

8079
#### Output
8180

8281
| Parameter | Type | Description |
8382
| --------- | ---- | ----------- |
84-
| `records` | json | Retrieved record data |
85-
| `record` | json | Single record data |
86-
| `metadata` | json | Operation metadata |
83+
| `records` | json | Array of retrieved Airtable records |
8784

8885
### `airtable_get_record`
8986

@@ -93,7 +90,6 @@ Retrieve a single record from an Airtable table by its ID
9390

9491
| Parameter | Type | Required | Description |
9592
| --------- | ---- | -------- | ----------- |
96-
| `accessToken` | string | Yes | OAuth access token |
9793
| `baseId` | string | Yes | ID of the Airtable base |
9894
| `tableId` | string | Yes | ID or name of the table |
9995
| `recordId` | string | Yes | ID of the record to retrieve |
@@ -102,9 +98,8 @@ Retrieve a single record from an Airtable table by its ID
10298

10399
| Parameter | Type | Description |
104100
| --------- | ---- | ----------- |
105-
| `records` | json | Retrieved record data |
106-
| `record` | json | Single record data |
107-
| `metadata` | json | Operation metadata |
101+
| `record` | json | Retrieved Airtable record with id, createdTime, and fields |
102+
| `metadata` | json | Operation metadata including record count |
108103

109104
### `airtable_create_records`
110105

@@ -114,17 +109,16 @@ Write new records to an Airtable table
114109

115110
| Parameter | Type | Required | Description |
116111
| --------- | ---- | -------- | ----------- |
117-
| `accessToken` | string | Yes | OAuth access token |
118112
| `baseId` | string | Yes | ID of the Airtable base |
119113
| `tableId` | string | Yes | ID or name of the table |
114+
| `records` | json | Yes | Array of records to create, each with a `fields` object |
115+
| `fields` | string | No | No description |
120116

121117
#### Output
122118

123119
| Parameter | Type | Description |
124120
| --------- | ---- | ----------- |
125-
| `records` | json | Retrieved record data |
126-
| `record` | json | Single record data |
127-
| `metadata` | json | Operation metadata |
121+
| `records` | json | Array of created Airtable records |
128122

129123
### `airtable_update_record`
130124

@@ -134,7 +128,6 @@ Update an existing record in an Airtable table by ID
134128

135129
| Parameter | Type | Required | Description |
136130
| --------- | ---- | -------- | ----------- |
137-
| `accessToken` | string | Yes | OAuth access token |
138131
| `baseId` | string | Yes | ID of the Airtable base |
139132
| `tableId` | string | Yes | ID or name of the table |
140133
| `recordId` | string | Yes | ID of the record to update |
@@ -144,9 +137,8 @@ Update an existing record in an Airtable table by ID
144137

145138
| Parameter | Type | Description |
146139
| --------- | ---- | ----------- |
147-
| `records` | json | Retrieved record data |
148-
| `record` | json | Single record data |
149-
| `metadata` | json | Operation metadata |
140+
| `record` | json | Updated Airtable record with id, createdTime, and fields |
141+
| `metadata` | json | Operation metadata including record count and updated field names |
150142

151143
### `airtable_update_multiple_records`
152144

@@ -156,17 +148,17 @@ Update multiple existing records in an Airtable table
156148

157149
| Parameter | Type | Required | Description |
158150
| --------- | ---- | -------- | ----------- |
159-
| `accessToken` | string | Yes | OAuth access token |
160151
| `baseId` | string | Yes | ID of the Airtable base |
161152
| `tableId` | string | Yes | ID or name of the table |
153+
| `records` | json | Yes | Array of records to update, each with an `id` and a `fields` object |
154+
| `fields` | string | No | No description |
155+
| `fields` | string | No | No description |
162156

163157
#### Output
164158

165159
| Parameter | Type | Description |
166160
| --------- | ---- | ----------- |
167-
| `records` | json | Retrieved record data |
168-
| `record` | json | Single record data |
169-
| `metadata` | json | Operation metadata |
161+
| `records` | json | Array of updated Airtable records |
170162

171163

172164

apps/docs/content/docs/tools/arxiv.mdx

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,7 @@ Search for academic papers on ArXiv by keywords, authors, titles, or other field
7171

7272
| Parameter | Type | Description |
7373
| --------- | ---- | ----------- |
74-
| `papers` | json | Found papers data |
75-
| `totalResults` | number | Total results count |
76-
| `paper` | json | Paper details |
77-
| `authorPapers` | json | Author papers list |
74+
| `papers` | json | Array of papers matching the search query |
7875

7976
### `arxiv_get_paper`
8077

@@ -84,16 +81,13 @@ Get detailed information about a specific ArXiv paper by its ID.
8481

8582
| Parameter | Type | Required | Description |
8683
| --------- | ---- | -------- | ----------- |
87-
| `paperId` | string | Yes | ArXiv paper ID \(e.g., |
84+
| `paperId` | string | Yes | ArXiv paper ID \(e.g., "1706.03762"\) |
8885

8986
#### Output
9087

9188
| Parameter | Type | Description |
9289
| --------- | ---- | ----------- |
93-
| `papers` | json | Found papers data |
94-
| `totalResults` | number | Total results count |
95-
| `paper` | json | Paper details |
96-
| `authorPapers` | json | Author papers list |
90+
| `paper` | json | Detailed information about the requested ArXiv paper |
9791

9892
### `arxiv_get_author_papers`
9993

@@ -110,10 +104,7 @@ Search for papers by a specific author on ArXiv.
110104

111105
| Parameter | Type | Description |
112106
| --------- | ---- | ----------- |
113-
| `papers` | json | Found papers data |
114-
| `totalResults` | number | Total results count |
115-
| `paper` | json | Paper details |
116-
| `authorPapers` | json | Author papers list |
107+
| `authorPapers` | json | Array of papers authored by the specified author |
117108

118109

119110

apps/docs/content/docs/tools/browser_use.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Runs a browser automation task using BrowserUse
7373
| --------- | ---- | -------- | ----------- |
7474
| `task` | string | Yes | What should the browser agent do |
7575
| `variables` | json | No | Optional variables to use as secrets \(format: \{key: value\}\) |
76+
| `format` | string | No | No description |
7677
| `save_browser_data` | boolean | No | Whether to save browser data |
7778
| `model` | string | No | LLM model to use \(default: gpt-4o\) |
7879
| `apiKey` | string | Yes | API key for BrowserUse API |
@@ -81,10 +82,9 @@ Runs a browser automation task using BrowserUse
8182

8283
| Parameter | Type | Description |
8384
| --------- | ---- | ----------- |
84-
| `id` | string | Task execution identifier |
85-
| `success` | boolean | Task completion status |
86-
| `output` | any | Task output data |
87-
| `steps` | json | Execution steps taken |
85+
| `success` | boolean | Operation success status |
86+
| `output` | json | Browser automation task results including task ID, success status, output data, and execution steps |
87+
| `error` | string | Error message if the operation failed |
8888

8989

9090

apps/docs/content/docs/tools/clay.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ Populate Clay with data from a JSON file. Enables direct communication and notif
220220

221221
| Parameter | Type | Description |
222222
| --------- | ---- | ----------- |
223-
| `data` | any | Response data |
223+
| `success` | boolean | Operation success status |
224+
| `output` | json | Clay populate operation results including response data from Clay webhook |
224225

225226

226227

apps/docs/content/docs/tools/confluence.mdx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ Retrieve content from Confluence pages using the Confluence API.
5757

5858
| Parameter | Type | Required | Description |
5959
| --------- | ---- | -------- | ----------- |
60-
| `accessToken` | string | Yes | OAuth access token for Confluence |
6160
| `domain` | string | Yes | Your Confluence domain \(e.g., yourcompany.atlassian.net\) |
6261
| `pageId` | string | Yes | Confluence page ID to retrieve |
6362
| `cloudId` | string | No | Confluence Cloud ID for the instance. If not provided, it will be fetched using the domain. |
@@ -66,11 +65,10 @@ Retrieve content from Confluence pages using the Confluence API.
6665

6766
| Parameter | Type | Description |
6867
| --------- | ---- | ----------- |
69-
| `ts` | string | Timestamp |
70-
| `pageId` | string | Page identifier |
71-
| `content` | string | Page content |
68+
| `ts` | string | Timestamp of retrieval |
69+
| `pageId` | string | Confluence page ID |
70+
| `content` | string | Page content with HTML tags stripped |
7271
| `title` | string | Page title |
73-
| `success` | boolean | Operation success status |
7472

7573
### `confluence_update`
7674

@@ -80,7 +78,6 @@ Update a Confluence page using the Confluence API.
8078

8179
| Parameter | Type | Required | Description |
8280
| --------- | ---- | -------- | ----------- |
83-
| `accessToken` | string | Yes | OAuth access token for Confluence |
8481
| `domain` | string | Yes | Your Confluence domain \(e.g., yourcompany.atlassian.net\) |
8582
| `pageId` | string | Yes | Confluence page ID to update |
8683
| `title` | string | No | New title for the page |
@@ -92,11 +89,10 @@ Update a Confluence page using the Confluence API.
9289

9390
| Parameter | Type | Description |
9491
| --------- | ---- | ----------- |
95-
| `ts` | string | Timestamp |
96-
| `pageId` | string | Page identifier |
97-
| `content` | string | Page content |
98-
| `title` | string | Page title |
99-
| `success` | boolean | Operation success status |
92+
| `ts` | string | Timestamp of update |
93+
| `pageId` | string | Confluence page ID |
94+
| `title` | string | Updated page title |
95+
| `success` | boolean | Update operation success status |
10096

10197

10298

apps/docs/content/docs/tools/discord.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ Send a message to a Discord channel
8080

8181
| Parameter | Type | Description |
8282
| --------- | ---- | ----------- |
83-
| `message` | string | Message content |
84-
| `data` | any | Response data |
83+
| `message` | string | Success or error message |
84+
| `data` | object | Discord message data |
8585

8686
### `discord_get_messages`
8787

@@ -99,8 +99,8 @@ Retrieve messages from a Discord channel
9999

100100
| Parameter | Type | Description |
101101
| --------- | ---- | ----------- |
102-
| `message` | string | Message content |
103-
| `data` | any | Response data |
102+
| `message` | string | Success or error message |
103+
| `messages` | array | Array of Discord messages with full metadata |
104104

105105
### `discord_get_server`
106106

@@ -117,8 +117,8 @@ Retrieve information about a Discord server (guild)
117117

118118
| Parameter | Type | Description |
119119
| --------- | ---- | ----------- |
120-
| `message` | string | Message content |
121-
| `data` | any | Response data |
120+
| `message` | string | Success or error message |
121+
| `data` | object | Discord server \(guild\) information |
122122

123123
### `discord_get_user`
124124

@@ -135,8 +135,8 @@ Retrieve information about a Discord user
135135

136136
| Parameter | Type | Description |
137137
| --------- | ---- | ----------- |
138-
| `message` | string | Message content |
139-
| `data` | any | Response data |
138+
| `message` | string | Success or error message |
139+
| `data` | object | Discord user information |
140140

141141

142142

apps/docs/content/docs/tools/exa.mdx

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,7 @@ Search the web using Exa AI. Returns relevant search results with titles, URLs,
6868

6969
| Parameter | Type | Description |
7070
| --------- | ---- | ----------- |
71-
| `results` | json | Search results |
72-
| `similarLinks` | json | Similar links found |
73-
| `answer` | string | Generated answer |
74-
| `citations` | json | Answer citations |
75-
| `research` | json | Research findings |
71+
| `results` | array | Search results with titles, URLs, and text snippets |
7672

7773
### `exa_get_contents`
7874

@@ -91,11 +87,7 @@ Retrieve the contents of webpages using Exa AI. Returns the title, text content,
9187

9288
| Parameter | Type | Description |
9389
| --------- | ---- | ----------- |
94-
| `results` | json | Search results |
95-
| `similarLinks` | json | Similar links found |
96-
| `answer` | string | Generated answer |
97-
| `citations` | json | Answer citations |
98-
| `research` | json | Research findings |
90+
| `results` | array | Retrieved content from URLs with title, text, and summaries |
9991

10092
### `exa_find_similar_links`
10193

@@ -114,11 +106,7 @@ Find webpages similar to a given URL using Exa AI. Returns a list of similar lin
114106

115107
| Parameter | Type | Description |
116108
| --------- | ---- | ----------- |
117-
| `results` | json | Search results |
118-
| `similarLinks` | json | Similar links found |
119-
| `answer` | string | Generated answer |
120-
| `citations` | json | Answer citations |
121-
| `research` | json | Research findings |
109+
| `similarLinks` | array | Similar links found with titles, URLs, and text snippets |
122110

123111
### `exa_answer`
124112

@@ -136,11 +124,8 @@ Get an AI-generated answer to a question with citations from the web using Exa A
136124

137125
| Parameter | Type | Description |
138126
| --------- | ---- | ----------- |
139-
| `results` | json | Search results |
140-
| `similarLinks` | json | Similar links found |
141-
| `answer` | string | Generated answer |
142-
| `citations` | json | Answer citations |
143-
| `research` | json | Research findings |
127+
| `answer` | string | AI-generated answer to the question |
128+
| `citations` | array | Sources and citations for the answer |
144129

145130
### `exa_research`
146131

@@ -158,11 +143,7 @@ Perform comprehensive research using AI to generate detailed reports with citati
158143

159144
| Parameter | Type | Description |
160145
| --------- | ---- | ----------- |
161-
| `results` | json | Search results |
162-
| `similarLinks` | json | Similar links found |
163-
| `answer` | string | Generated answer |
164-
| `citations` | json | Answer citations |
165-
| `research` | json | Research findings |
146+
| `research` | array | Comprehensive research findings with citations and summaries |
166147

167148

168149

apps/docs/content/docs/tools/file.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ Parse one or more uploaded files or files from URLs (text, PDF, CSV, images, etc
7171

7272
| Parameter | Type | Description |
7373
| --------- | ---- | ----------- |
74-
| `files` | json | Parsed file data |
75-
| `combinedContent` | string | Combined file content |
74+
| `files` | json | Array of parsed file objects with content, metadata, and file properties |
75+
| `combinedContent` | string | All file contents merged into a single text string |
7676

7777

7878

apps/docs/content/docs/tools/firecrawl.mdx

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,9 @@ Extract structured content from web pages with comprehensive metadata support. C
8181

8282
| Parameter | Type | Description |
8383
| --------- | ---- | ----------- |
84-
| `markdown` | string | Page content markdown |
85-
| `html` | any | Raw HTML content |
86-
| `metadata` | json | Page metadata |
87-
| `data` | json | Search results data |
88-
| `warning` | any | Warning messages |
89-
| `pages` | json | Crawled pages data |
90-
| `total` | number | Total pages found |
91-
| `creditsUsed` | number | Credits consumed |
84+
| `markdown` | string | Page content in markdown format |
85+
| `html` | string | Raw HTML content of the page |
86+
| `metadata` | object | Page metadata including SEO and Open Graph information |
9287

9388
### `firecrawl_search`
9489

@@ -105,14 +100,7 @@ Search for information on the web using Firecrawl
105100

106101
| Parameter | Type | Description |
107102
| --------- | ---- | ----------- |
108-
| `markdown` | string | Page content markdown |
109-
| `html` | any | Raw HTML content |
110-
| `metadata` | json | Page metadata |
111-
| `data` | json | Search results data |
112-
| `warning` | any | Warning messages |
113-
| `pages` | json | Crawled pages data |
114-
| `total` | number | Total pages found |
115-
| `creditsUsed` | number | Credits consumed |
103+
| `data` | array | Search results data |
116104

117105
### `firecrawl_crawl`
118106

@@ -131,14 +119,7 @@ Crawl entire websites and extract structured content from all accessible pages
131119

132120
| Parameter | Type | Description |
133121
| --------- | ---- | ----------- |
134-
| `markdown` | string | Page content markdown |
135-
| `html` | any | Raw HTML content |
136-
| `metadata` | json | Page metadata |
137-
| `data` | json | Search results data |
138-
| `warning` | any | Warning messages |
139-
| `pages` | json | Crawled pages data |
140-
| `total` | number | Total pages found |
141-
| `creditsUsed` | number | Credits consumed |
122+
| `pages` | array | Array of crawled pages with their content and metadata |
142123

143124

144125

0 commit comments

Comments
 (0)