@mindstudio-ai/agent 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +241 -11
- package/dist/cli.js +2942 -0
- package/dist/index.d.ts +658 -88
- package/dist/index.js +1210 -43
- package/dist/index.js.map +1 -1
- package/llms.txt +239 -47
- package/package.json +4 -1
package/dist/index.d.ts
CHANGED
|
@@ -32,9 +32,10 @@ interface AgentOptions {
|
|
|
32
32
|
/**
|
|
33
33
|
* MindStudio API key. Used as a Bearer token for authentication.
|
|
34
34
|
*
|
|
35
|
-
* If omitted, the SDK
|
|
36
|
-
*
|
|
37
|
-
*
|
|
35
|
+
* If omitted, the SDK checks (in order):
|
|
36
|
+
* 1. `MINDSTUDIO_API_KEY` environment variable
|
|
37
|
+
* 2. `~/.mindstudio/config.json` (set via `mindstudio login`)
|
|
38
|
+
* 3. `CALLBACK_TOKEN` environment variable (auto-set inside MindStudio custom functions)
|
|
38
39
|
*/
|
|
39
40
|
apiKey?: string;
|
|
40
41
|
/**
|
|
@@ -90,6 +91,10 @@ interface StepExecutionMeta {
|
|
|
90
91
|
* Useful for throttling proactively before hitting the limit.
|
|
91
92
|
*/
|
|
92
93
|
$rateLimitRemaining?: number;
|
|
94
|
+
/** Cost in credits for this step execution. */
|
|
95
|
+
$billingCost?: number;
|
|
96
|
+
/** Itemized billing events for this step execution. */
|
|
97
|
+
$billingEvents?: Array<Record<string, unknown>>;
|
|
93
98
|
}
|
|
94
99
|
/**
|
|
95
100
|
* Result of a step execution call.
|
|
@@ -99,13 +104,71 @@ interface StepExecutionMeta {
|
|
|
99
104
|
* const { content } = await agent.generateText({ ... });
|
|
100
105
|
* ```
|
|
101
106
|
*
|
|
102
|
-
* Execution metadata (`$appId`, `$threadId`, `$rateLimitRemaining`) is also available:
|
|
107
|
+
* Execution metadata (`$appId`, `$threadId`, `$rateLimitRemaining`, `$billingCost`, `$billingEvents`) is also available:
|
|
103
108
|
* ```ts
|
|
104
109
|
* const result = await agent.generateText({ ... });
|
|
105
110
|
* console.log(result.content, result.$threadId, result.$rateLimitRemaining);
|
|
106
111
|
* ```
|
|
107
112
|
*/
|
|
108
113
|
type StepExecutionResult<TOutput = Record<string, unknown>> = TOutput & StepExecutionMeta;
|
|
114
|
+
/** Information about a pre-built agent in the organization. */
|
|
115
|
+
interface AgentInfo {
|
|
116
|
+
/** Agent UUID. Pass as `appId` to {@link RunAgentOptions}. */
|
|
117
|
+
id: string;
|
|
118
|
+
/** Display name. */
|
|
119
|
+
name: string;
|
|
120
|
+
/** Short description. */
|
|
121
|
+
description: string;
|
|
122
|
+
/** URL-friendly identifier. */
|
|
123
|
+
slug: string;
|
|
124
|
+
/** Agent icon URL. */
|
|
125
|
+
iconUrl: string;
|
|
126
|
+
/** Links: run, edit, details, logs. */
|
|
127
|
+
refs: Record<string, string>;
|
|
128
|
+
/** ISO timestamp. */
|
|
129
|
+
dateCreated: string;
|
|
130
|
+
/** ISO timestamp. */
|
|
131
|
+
dateLastEdited: string;
|
|
132
|
+
}
|
|
133
|
+
/** Result of {@link MindStudioAgent.listAgents}. */
|
|
134
|
+
interface ListAgentsResult {
|
|
135
|
+
/** Organization UUID. */
|
|
136
|
+
orgId: string;
|
|
137
|
+
/** Organization display name. */
|
|
138
|
+
orgName: string;
|
|
139
|
+
/** Agents in the organization. */
|
|
140
|
+
apps: AgentInfo[];
|
|
141
|
+
}
|
|
142
|
+
/** Options for {@link MindStudioAgent.runAgent}. */
|
|
143
|
+
interface RunAgentOptions {
|
|
144
|
+
/** App/agent ID to run (required). */
|
|
145
|
+
appId: string;
|
|
146
|
+
/** Input variables as key-value pairs. */
|
|
147
|
+
variables?: Record<string, unknown>;
|
|
148
|
+
/** Workflow name to execute. Omit for the app's default. */
|
|
149
|
+
workflow?: string;
|
|
150
|
+
/** App version override (e.g. "draft"). Defaults to "live". */
|
|
151
|
+
version?: string;
|
|
152
|
+
/** Include billing cost in the response. */
|
|
153
|
+
includeBillingCost?: boolean;
|
|
154
|
+
/** Arbitrary metadata stored with the API request log. */
|
|
155
|
+
metadata?: Record<string, unknown>;
|
|
156
|
+
/** Polling interval in milliseconds. @default 1000 */
|
|
157
|
+
pollIntervalMs?: number;
|
|
158
|
+
}
|
|
159
|
+
/** Result of a successful agent run. */
|
|
160
|
+
interface RunAgentResult {
|
|
161
|
+
/** Whether the run succeeded. */
|
|
162
|
+
success: boolean;
|
|
163
|
+
/** Thread ID for the run. */
|
|
164
|
+
threadId: string;
|
|
165
|
+
/** The result content (last system message). */
|
|
166
|
+
result: string;
|
|
167
|
+
/** Thread messages, if returned. */
|
|
168
|
+
thread?: unknown;
|
|
169
|
+
/** Cost in credits, if `includeBillingCost` was set. */
|
|
170
|
+
billingCost?: number;
|
|
171
|
+
}
|
|
109
172
|
|
|
110
173
|
/**
|
|
111
174
|
* Client for the MindStudio direct step execution API.
|
|
@@ -121,13 +184,15 @@ type StepExecutionResult<TOutput = Record<string, unknown>> = TOutput & StepExec
|
|
|
121
184
|
* Authentication is resolved in order:
|
|
122
185
|
* 1. `apiKey` passed to the constructor
|
|
123
186
|
* 2. `MINDSTUDIO_API_KEY` environment variable
|
|
124
|
-
* 3. `
|
|
187
|
+
* 3. `~/.mindstudio/config.json` (set via `mindstudio login`)
|
|
188
|
+
* 4. `CALLBACK_TOKEN` environment variable (auto-set inside MindStudio custom functions)
|
|
125
189
|
*
|
|
126
190
|
* Base URL is resolved in order:
|
|
127
191
|
* 1. `baseUrl` passed to the constructor
|
|
128
192
|
* 2. `MINDSTUDIO_BASE_URL` environment variable
|
|
129
193
|
* 3. `REMOTE_HOSTNAME` environment variable (auto-set inside MindStudio custom functions)
|
|
130
|
-
* 4.
|
|
194
|
+
* 4. `~/.mindstudio/config.json`
|
|
195
|
+
* 5. `https://v1.mindstudio-api.com` (production default)
|
|
131
196
|
*
|
|
132
197
|
* Rate limiting is handled automatically:
|
|
133
198
|
* - Concurrent requests are queued to stay within server limits
|
|
@@ -152,6 +217,30 @@ declare class MindStudioAgent$1 {
|
|
|
152
217
|
* ```
|
|
153
218
|
*/
|
|
154
219
|
executeStep<TOutput = unknown>(stepType: string, step: Record<string, unknown>, options?: StepExecutionOptions): Promise<StepExecutionResult<TOutput>>;
|
|
220
|
+
/**
|
|
221
|
+
* List all pre-built agents in the organization.
|
|
222
|
+
*
|
|
223
|
+
* ```ts
|
|
224
|
+
* const { apps } = await agent.listAgents();
|
|
225
|
+
* for (const app of apps) console.log(app.name, app.id);
|
|
226
|
+
* ```
|
|
227
|
+
*/
|
|
228
|
+
listAgents(): Promise<ListAgentsResult>;
|
|
229
|
+
/**
|
|
230
|
+
* Run a pre-built agent and wait for the result.
|
|
231
|
+
*
|
|
232
|
+
* Uses async polling internally — the request returns immediately with a
|
|
233
|
+
* callback token, then polls until the run completes or fails.
|
|
234
|
+
*
|
|
235
|
+
* ```ts
|
|
236
|
+
* const result = await agent.runAgent({
|
|
237
|
+
* appId: 'your-agent-id',
|
|
238
|
+
* variables: { query: 'hello' },
|
|
239
|
+
* });
|
|
240
|
+
* console.log(result.result);
|
|
241
|
+
* ```
|
|
242
|
+
*/
|
|
243
|
+
runAgent(options: RunAgentOptions): Promise<RunAgentResult>;
|
|
155
244
|
/** @internal Used by generated helper methods. */
|
|
156
245
|
_request<T>(method: 'GET' | 'POST', path: string, body?: unknown): Promise<{
|
|
157
246
|
data: T;
|
|
@@ -165,7 +254,7 @@ interface ActiveCampaignAddNoteStepInput {
|
|
|
165
254
|
/** Note text content */
|
|
166
255
|
note: string;
|
|
167
256
|
/** ActiveCampaign OAuth connection ID */
|
|
168
|
-
connectionId
|
|
257
|
+
connectionId?: string;
|
|
169
258
|
}
|
|
170
259
|
type ActiveCampaignAddNoteStepOutput = unknown;
|
|
171
260
|
interface ActiveCampaignCreateContactStepInput {
|
|
@@ -182,7 +271,7 @@ interface ActiveCampaignCreateContactStepInput {
|
|
|
182
271
|
/** Custom field values keyed by field ID */
|
|
183
272
|
customFields: Record<string, unknown>;
|
|
184
273
|
/** ActiveCampaign OAuth connection ID */
|
|
185
|
-
connectionId
|
|
274
|
+
connectionId?: string;
|
|
186
275
|
}
|
|
187
276
|
interface ActiveCampaignCreateContactStepOutput {
|
|
188
277
|
/** ActiveCampaign contact ID of the created contact */
|
|
@@ -228,7 +317,7 @@ interface AddSubtitlesToVideoStepOutput {
|
|
|
228
317
|
}
|
|
229
318
|
interface AirtableCreateUpdateRecordStepInput {
|
|
230
319
|
/** Airtable OAuth connection ID */
|
|
231
|
-
connectionId
|
|
320
|
+
connectionId?: string;
|
|
232
321
|
/** Airtable base ID */
|
|
233
322
|
baseId: string;
|
|
234
323
|
/** Airtable table ID */
|
|
@@ -248,7 +337,7 @@ interface AirtableCreateUpdateRecordStepOutput {
|
|
|
248
337
|
}
|
|
249
338
|
interface AirtableDeleteRecordStepInput {
|
|
250
339
|
/** Airtable OAuth connection ID */
|
|
251
|
-
connectionId
|
|
340
|
+
connectionId?: string;
|
|
252
341
|
/** Airtable base ID */
|
|
253
342
|
baseId: string;
|
|
254
343
|
/** Airtable table ID */
|
|
@@ -262,7 +351,7 @@ interface AirtableDeleteRecordStepOutput {
|
|
|
262
351
|
}
|
|
263
352
|
interface AirtableGetRecordStepInput {
|
|
264
353
|
/** Airtable OAuth connection ID */
|
|
265
|
-
connectionId
|
|
354
|
+
connectionId?: string;
|
|
266
355
|
/** Airtable base ID (e.g. "appXXXXXX") */
|
|
267
356
|
baseId: string;
|
|
268
357
|
/** Airtable table ID (e.g. "tblXXXXXX") */
|
|
@@ -283,7 +372,7 @@ interface AirtableGetRecordStepOutput {
|
|
|
283
372
|
}
|
|
284
373
|
interface AirtableGetTableRecordsStepInput {
|
|
285
374
|
/** Airtable OAuth connection ID */
|
|
286
|
-
connectionId
|
|
375
|
+
connectionId?: string;
|
|
287
376
|
/** Airtable base ID (e.g. "appXXXXXX") */
|
|
288
377
|
baseId: string;
|
|
289
378
|
/** Airtable table ID (e.g. "tblXXXXXX") */
|
|
@@ -406,7 +495,7 @@ interface CaptureThumbnailStepOutput {
|
|
|
406
495
|
}
|
|
407
496
|
interface CodaCreateUpdatePageStepInput {
|
|
408
497
|
/** Coda OAuth connection ID */
|
|
409
|
-
connectionId
|
|
498
|
+
connectionId?: string;
|
|
410
499
|
/** Page configuration including document ID, title, content, and optional parent page */
|
|
411
500
|
pageData: {
|
|
412
501
|
/** Coda document ID */
|
|
@@ -437,7 +526,7 @@ interface CodaCreateUpdatePageStepOutput {
|
|
|
437
526
|
}
|
|
438
527
|
interface CodaCreateUpdateRowStepInput {
|
|
439
528
|
/** Coda OAuth connection ID */
|
|
440
|
-
connectionId
|
|
529
|
+
connectionId?: string;
|
|
441
530
|
/** Coda document ID */
|
|
442
531
|
docId: string;
|
|
443
532
|
/** Table ID within the document */
|
|
@@ -453,7 +542,7 @@ interface CodaCreateUpdateRowStepOutput {
|
|
|
453
542
|
}
|
|
454
543
|
interface CodaFindRowStepInput {
|
|
455
544
|
/** Coda OAuth connection ID */
|
|
456
|
-
connectionId
|
|
545
|
+
connectionId?: string;
|
|
457
546
|
/** Coda document ID */
|
|
458
547
|
docId: string;
|
|
459
548
|
/** Table ID to search within */
|
|
@@ -472,7 +561,7 @@ interface CodaFindRowStepOutput {
|
|
|
472
561
|
}
|
|
473
562
|
interface CodaGetPageStepInput {
|
|
474
563
|
/** Coda OAuth connection ID */
|
|
475
|
-
connectionId
|
|
564
|
+
connectionId?: string;
|
|
476
565
|
/** Coda document ID */
|
|
477
566
|
docId: string;
|
|
478
567
|
/** Page ID within the document */
|
|
@@ -486,7 +575,7 @@ interface CodaGetPageStepOutput {
|
|
|
486
575
|
}
|
|
487
576
|
interface CodaGetTableRowsStepInput {
|
|
488
577
|
/** Coda OAuth connection ID */
|
|
489
|
-
connectionId
|
|
578
|
+
connectionId?: string;
|
|
490
579
|
/** Coda document ID */
|
|
491
580
|
docId: string;
|
|
492
581
|
/** Table ID within the document */
|
|
@@ -520,7 +609,7 @@ interface CreateDataSourceStepInput {
|
|
|
520
609
|
type CreateDataSourceStepOutput = unknown;
|
|
521
610
|
interface CreateGoogleCalendarEventStepInput {
|
|
522
611
|
/** Google OAuth connection ID */
|
|
523
|
-
connectionId
|
|
612
|
+
connectionId?: string;
|
|
524
613
|
/** Event title */
|
|
525
614
|
summary: string;
|
|
526
615
|
/** Event description */
|
|
@@ -550,7 +639,7 @@ interface CreateGoogleDocStepInput {
|
|
|
550
639
|
/** Document body content */
|
|
551
640
|
text: string;
|
|
552
641
|
/** Google OAuth connection ID */
|
|
553
|
-
connectionId
|
|
642
|
+
connectionId?: string;
|
|
554
643
|
/** Format of the text field: "plain", "html", or "markdown" */
|
|
555
644
|
textType: "plain" | "html" | "markdown";
|
|
556
645
|
}
|
|
@@ -564,7 +653,7 @@ interface CreateGoogleSheetStepInput {
|
|
|
564
653
|
/** CSV data to populate the sheet with */
|
|
565
654
|
text: string;
|
|
566
655
|
/** Google OAuth connection ID */
|
|
567
|
-
connectionId
|
|
656
|
+
connectionId?: string;
|
|
568
657
|
}
|
|
569
658
|
interface CreateGoogleSheetStepOutput {
|
|
570
659
|
/** URL of the newly created Google Spreadsheet */
|
|
@@ -582,15 +671,35 @@ interface DeleteDataSourceDocumentStepInput {
|
|
|
582
671
|
documentId: string;
|
|
583
672
|
}
|
|
584
673
|
type DeleteDataSourceDocumentStepOutput = unknown;
|
|
674
|
+
interface DeleteGmailEmailStepInput {
|
|
675
|
+
/** Gmail message ID to delete (move to trash) */
|
|
676
|
+
messageId: string;
|
|
677
|
+
/** Google OAuth connection ID */
|
|
678
|
+
connectionId?: string;
|
|
679
|
+
}
|
|
680
|
+
type DeleteGmailEmailStepOutput = unknown;
|
|
585
681
|
interface DeleteGoogleCalendarEventStepInput {
|
|
586
682
|
/** Google OAuth connection ID */
|
|
587
|
-
connectionId
|
|
683
|
+
connectionId?: string;
|
|
588
684
|
/** Google Calendar event ID to delete */
|
|
589
685
|
eventId: string;
|
|
590
686
|
/** Calendar ID (defaults to "primary" if omitted) */
|
|
591
687
|
calendarId?: string;
|
|
592
688
|
}
|
|
593
689
|
type DeleteGoogleCalendarEventStepOutput = unknown;
|
|
690
|
+
interface DeleteGoogleSheetRowsStepInput {
|
|
691
|
+
/** Google Spreadsheet ID or URL */
|
|
692
|
+
documentId: string;
|
|
693
|
+
/** Sheet/tab name (defaults to first sheet) */
|
|
694
|
+
sheetName?: string;
|
|
695
|
+
/** First row to delete (1-based, inclusive) */
|
|
696
|
+
startRow: string;
|
|
697
|
+
/** Last row to delete (1-based, inclusive) */
|
|
698
|
+
endRow: string;
|
|
699
|
+
/** Google OAuth connection ID */
|
|
700
|
+
connectionId?: string;
|
|
701
|
+
}
|
|
702
|
+
type DeleteGoogleSheetRowsStepOutput = unknown;
|
|
594
703
|
interface DetectPIIStepInput {
|
|
595
704
|
/** Text to scan for personally identifiable information */
|
|
596
705
|
input: string;
|
|
@@ -712,7 +821,7 @@ interface FetchGoogleDocStepInput {
|
|
|
712
821
|
/** Google Document ID (from the document URL) */
|
|
713
822
|
documentId: string;
|
|
714
823
|
/** Google OAuth connection ID */
|
|
715
|
-
connectionId
|
|
824
|
+
connectionId?: string;
|
|
716
825
|
/** Output format: "html", "markdown", "json", or "plain" */
|
|
717
826
|
exportType: "html" | "markdown" | "json" | "plain";
|
|
718
827
|
}
|
|
@@ -726,7 +835,7 @@ interface FetchGoogleSheetStepInput {
|
|
|
726
835
|
/** Cell range in A1 notation (e.g. "Sheet1!A1:C10") */
|
|
727
836
|
range: string;
|
|
728
837
|
/** Google OAuth connection ID */
|
|
729
|
-
connectionId
|
|
838
|
+
connectionId?: string;
|
|
730
839
|
/** Output format: "csv" or "json" */
|
|
731
840
|
exportType: "csv" | "json";
|
|
732
841
|
}
|
|
@@ -736,7 +845,7 @@ interface FetchGoogleSheetStepOutput {
|
|
|
736
845
|
}
|
|
737
846
|
interface FetchSlackChannelHistoryStepInput {
|
|
738
847
|
/** Slack OAuth connection ID (leave empty to allow user to select) */
|
|
739
|
-
connectionId
|
|
848
|
+
connectionId?: string;
|
|
740
849
|
/** Slack channel ID (leave empty to allow user to select a channel) */
|
|
741
850
|
channelId: string;
|
|
742
851
|
/** Maximum number of messages to return (1-15) */
|
|
@@ -1276,6 +1385,12 @@ interface GeneratePdfStepInput {
|
|
|
1276
1385
|
};
|
|
1277
1386
|
/** Single page app source configuration (advanced) */
|
|
1278
1387
|
spaSource?: {
|
|
1388
|
+
/** Source code of the SPA (legacy, use files instead) */
|
|
1389
|
+
source?: string;
|
|
1390
|
+
/** Last compiled source (cached) */
|
|
1391
|
+
lastCompiledSource?: string;
|
|
1392
|
+
/** Multi-file SPA source */
|
|
1393
|
+
files?: Record<string, unknown>;
|
|
1279
1394
|
/** Available route paths in the SPA */
|
|
1280
1395
|
paths: string[];
|
|
1281
1396
|
/** Root URL of the SPA bundle */
|
|
@@ -1365,9 +1480,51 @@ interface GenerateVideoStepOutput {
|
|
|
1365
1480
|
/** CDN URL of the generated video, or array of URLs when generating multiple variants */
|
|
1366
1481
|
videoUrl: string | string[];
|
|
1367
1482
|
}
|
|
1483
|
+
interface GetGmailDraftStepInput {
|
|
1484
|
+
/** Gmail draft ID to retrieve */
|
|
1485
|
+
draftId: string;
|
|
1486
|
+
/** Google OAuth connection ID */
|
|
1487
|
+
connectionId?: string;
|
|
1488
|
+
}
|
|
1489
|
+
interface GetGmailDraftStepOutput {
|
|
1490
|
+
/** Gmail draft ID */
|
|
1491
|
+
draftId: string;
|
|
1492
|
+
/** Gmail message ID */
|
|
1493
|
+
messageId: string;
|
|
1494
|
+
/** Email subject */
|
|
1495
|
+
subject: string;
|
|
1496
|
+
/** Recipient email */
|
|
1497
|
+
to: string;
|
|
1498
|
+
/** Sender email */
|
|
1499
|
+
from: string;
|
|
1500
|
+
/** Draft body content */
|
|
1501
|
+
body: string;
|
|
1502
|
+
}
|
|
1503
|
+
interface GetGmailEmailStepInput {
|
|
1504
|
+
/** Gmail message ID to retrieve */
|
|
1505
|
+
messageId: string;
|
|
1506
|
+
/** Google OAuth connection ID */
|
|
1507
|
+
connectionId?: string;
|
|
1508
|
+
}
|
|
1509
|
+
interface GetGmailEmailStepOutput {
|
|
1510
|
+
/** Gmail message ID */
|
|
1511
|
+
messageId: string;
|
|
1512
|
+
/** Email subject */
|
|
1513
|
+
subject: string;
|
|
1514
|
+
/** Sender email */
|
|
1515
|
+
from: string;
|
|
1516
|
+
/** Recipient email */
|
|
1517
|
+
to: string;
|
|
1518
|
+
/** Email date */
|
|
1519
|
+
date: string;
|
|
1520
|
+
/** Email body content */
|
|
1521
|
+
body: string;
|
|
1522
|
+
/** Comma-separated label IDs */
|
|
1523
|
+
labels: string;
|
|
1524
|
+
}
|
|
1368
1525
|
interface GetGoogleCalendarEventStepInput {
|
|
1369
1526
|
/** Google OAuth connection ID */
|
|
1370
|
-
connectionId
|
|
1527
|
+
connectionId?: string;
|
|
1371
1528
|
/** Google Calendar event ID to retrieve */
|
|
1372
1529
|
eventId: string;
|
|
1373
1530
|
/** Format for the variable output: "json" or "text" */
|
|
@@ -1417,6 +1574,39 @@ interface GetGoogleCalendarEventStepOutput {
|
|
|
1417
1574
|
})[] | null;
|
|
1418
1575
|
};
|
|
1419
1576
|
}
|
|
1577
|
+
interface GetGoogleDriveFileStepInput {
|
|
1578
|
+
/** Google Drive file ID */
|
|
1579
|
+
fileId: string;
|
|
1580
|
+
/** Google OAuth connection ID */
|
|
1581
|
+
connectionId?: string;
|
|
1582
|
+
}
|
|
1583
|
+
interface GetGoogleDriveFileStepOutput {
|
|
1584
|
+
/** CDN URL of the downloaded file */
|
|
1585
|
+
url: string;
|
|
1586
|
+
/** Original file name */
|
|
1587
|
+
name: string;
|
|
1588
|
+
/** File MIME type */
|
|
1589
|
+
mimeType: string;
|
|
1590
|
+
/** File size in bytes */
|
|
1591
|
+
size: number;
|
|
1592
|
+
}
|
|
1593
|
+
interface GetGoogleSheetInfoStepInput {
|
|
1594
|
+
/** Google Spreadsheet ID or URL */
|
|
1595
|
+
documentId: string;
|
|
1596
|
+
/** Google OAuth connection ID */
|
|
1597
|
+
connectionId?: string;
|
|
1598
|
+
}
|
|
1599
|
+
interface GetGoogleSheetInfoStepOutput {
|
|
1600
|
+
/** Spreadsheet title */
|
|
1601
|
+
title: string;
|
|
1602
|
+
/** List of sheets with their properties */
|
|
1603
|
+
sheets: {
|
|
1604
|
+
sheetId: number;
|
|
1605
|
+
title: string;
|
|
1606
|
+
rowCount: number;
|
|
1607
|
+
columnCount: number;
|
|
1608
|
+
}[];
|
|
1609
|
+
}
|
|
1420
1610
|
interface GetMediaMetadataStepInput {
|
|
1421
1611
|
/** URL of the audio or video file to analyze */
|
|
1422
1612
|
mediaUrl: string;
|
|
@@ -1457,7 +1647,7 @@ interface HttpRequestStepOutput {
|
|
|
1457
1647
|
}
|
|
1458
1648
|
interface HubspotCreateCompanyStepInput {
|
|
1459
1649
|
/** HubSpot OAuth connection ID */
|
|
1460
|
-
connectionId
|
|
1650
|
+
connectionId?: string;
|
|
1461
1651
|
/** Company data including domain, name, and additional properties */
|
|
1462
1652
|
company: {
|
|
1463
1653
|
/** Company domain, used for matching existing companies */
|
|
@@ -1481,7 +1671,7 @@ interface HubspotCreateCompanyStepOutput {
|
|
|
1481
1671
|
}
|
|
1482
1672
|
interface HubspotCreateContactStepInput {
|
|
1483
1673
|
/** HubSpot OAuth connection ID */
|
|
1484
|
-
connectionId
|
|
1674
|
+
connectionId?: string;
|
|
1485
1675
|
/** Contact data including email, first name, last name, and additional properties */
|
|
1486
1676
|
contact: {
|
|
1487
1677
|
/** Contact email address, used for matching existing contacts */
|
|
@@ -1509,7 +1699,7 @@ interface HubspotCreateContactStepOutput {
|
|
|
1509
1699
|
}
|
|
1510
1700
|
interface HubspotGetCompanyStepInput {
|
|
1511
1701
|
/** HubSpot OAuth connection ID */
|
|
1512
|
-
connectionId
|
|
1702
|
+
connectionId?: string;
|
|
1513
1703
|
/** How to look up the company: by domain name or HubSpot company ID */
|
|
1514
1704
|
searchBy: "domain" | "id";
|
|
1515
1705
|
/** Domain to search by (used when searchBy is 'domain') */
|
|
@@ -1531,7 +1721,7 @@ interface HubspotGetCompanyStepOutput {
|
|
|
1531
1721
|
}
|
|
1532
1722
|
interface HubspotGetContactStepInput {
|
|
1533
1723
|
/** HubSpot OAuth connection ID */
|
|
1534
|
-
connectionId
|
|
1724
|
+
connectionId?: string;
|
|
1535
1725
|
/** How to look up the contact: by email address or HubSpot contact ID */
|
|
1536
1726
|
searchBy: "email" | "id";
|
|
1537
1727
|
/** Email address to search by (used when searchBy is 'email') */
|
|
@@ -1784,9 +1974,32 @@ interface InsertVideoClipsStepOutput {
|
|
|
1784
1974
|
}
|
|
1785
1975
|
type ListDataSourcesStepInput = Record<string, unknown>;
|
|
1786
1976
|
type ListDataSourcesStepOutput = unknown;
|
|
1977
|
+
interface ListGmailDraftsStepInput {
|
|
1978
|
+
/** Google OAuth connection ID */
|
|
1979
|
+
connectionId?: string;
|
|
1980
|
+
/** Max drafts to return (default: 10, max: 50) */
|
|
1981
|
+
limit?: string;
|
|
1982
|
+
/** Format for the variable output: "json" or "text" */
|
|
1983
|
+
exportType: "json" | "text";
|
|
1984
|
+
}
|
|
1985
|
+
interface ListGmailDraftsStepOutput {
|
|
1986
|
+
/** List of draft summaries */
|
|
1987
|
+
drafts: {
|
|
1988
|
+
/** Gmail draft ID */
|
|
1989
|
+
draftId: string;
|
|
1990
|
+
/** Gmail message ID */
|
|
1991
|
+
messageId: string;
|
|
1992
|
+
/** Email subject */
|
|
1993
|
+
subject: string;
|
|
1994
|
+
/** Recipient email */
|
|
1995
|
+
to: string;
|
|
1996
|
+
/** Short preview text */
|
|
1997
|
+
snippet: string;
|
|
1998
|
+
}[];
|
|
1999
|
+
}
|
|
1787
2000
|
interface ListGoogleCalendarEventsStepInput {
|
|
1788
2001
|
/** Google OAuth connection ID */
|
|
1789
|
-
connectionId
|
|
2002
|
+
connectionId?: string;
|
|
1790
2003
|
/** Maximum number of events to return (default: 10) */
|
|
1791
2004
|
limit: number;
|
|
1792
2005
|
/** Format for the variable output: "json" or "text" */
|
|
@@ -1836,6 +2049,28 @@ interface ListGoogleCalendarEventsStepOutput {
|
|
|
1836
2049
|
})[] | null;
|
|
1837
2050
|
})[];
|
|
1838
2051
|
}
|
|
2052
|
+
interface ListGoogleDriveFilesStepInput {
|
|
2053
|
+
/** Google Drive folder ID (defaults to root) */
|
|
2054
|
+
folderId?: string;
|
|
2055
|
+
/** Max files to return (default: 20) */
|
|
2056
|
+
limit?: number;
|
|
2057
|
+
/** Google OAuth connection ID */
|
|
2058
|
+
connectionId?: string;
|
|
2059
|
+
/** Format for the variable output: "json" or "text" */
|
|
2060
|
+
exportType: "json" | "text";
|
|
2061
|
+
}
|
|
2062
|
+
interface ListGoogleDriveFilesStepOutput {
|
|
2063
|
+
/** List of files in the folder */
|
|
2064
|
+
files: {
|
|
2065
|
+
id: string;
|
|
2066
|
+
name: string;
|
|
2067
|
+
mimeType: string;
|
|
2068
|
+
size: string;
|
|
2069
|
+
webViewLink: string;
|
|
2070
|
+
createdTime: string;
|
|
2071
|
+
modifiedTime: string;
|
|
2072
|
+
}[];
|
|
2073
|
+
}
|
|
1839
2074
|
interface LogicStepInput {
|
|
1840
2075
|
/** Prompt text providing context for the AI evaluation */
|
|
1841
2076
|
context: string;
|
|
@@ -1950,7 +2185,7 @@ interface NotionCreatePageStepInput {
|
|
|
1950
2185
|
/** Page title */
|
|
1951
2186
|
title: string;
|
|
1952
2187
|
/** Notion OAuth connection ID */
|
|
1953
|
-
connectionId
|
|
2188
|
+
connectionId?: string;
|
|
1954
2189
|
}
|
|
1955
2190
|
interface NotionCreatePageStepOutput {
|
|
1956
2191
|
/** Notion page ID of the created page */
|
|
@@ -1966,7 +2201,7 @@ interface NotionUpdatePageStepInput {
|
|
|
1966
2201
|
/** How to apply the content: 'append' adds to end, 'overwrite' replaces all existing content */
|
|
1967
2202
|
mode: "append" | "overwrite";
|
|
1968
2203
|
/** Notion OAuth connection ID */
|
|
1969
|
-
connectionId
|
|
2204
|
+
connectionId?: string;
|
|
1970
2205
|
}
|
|
1971
2206
|
interface NotionUpdatePageStepOutput {
|
|
1972
2207
|
/** Notion page ID of the updated page */
|
|
@@ -2035,7 +2270,7 @@ interface PostToLinkedInStepInput {
|
|
|
2035
2270
|
/** URL of an image to attach to the post */
|
|
2036
2271
|
imageUrl?: string;
|
|
2037
2272
|
/** LinkedIn OAuth connection ID */
|
|
2038
|
-
connectionId
|
|
2273
|
+
connectionId?: string;
|
|
2039
2274
|
}
|
|
2040
2275
|
type PostToLinkedInStepOutput = unknown;
|
|
2041
2276
|
interface PostToSlackChannelStepInput {
|
|
@@ -2046,14 +2281,14 @@ interface PostToSlackChannelStepInput {
|
|
|
2046
2281
|
/** Message content (plain text/markdown for "string" type, or JSON for "blocks" type) */
|
|
2047
2282
|
message: string;
|
|
2048
2283
|
/** Slack OAuth connection ID (leave empty to allow user to select) */
|
|
2049
|
-
connectionId
|
|
2284
|
+
connectionId?: string;
|
|
2050
2285
|
}
|
|
2051
2286
|
type PostToSlackChannelStepOutput = unknown;
|
|
2052
2287
|
interface PostToXStepInput {
|
|
2053
2288
|
/** The text content of the post (max 280 characters) */
|
|
2054
2289
|
text: string;
|
|
2055
2290
|
/** X (Twitter) OAuth connection ID */
|
|
2056
|
-
connectionId
|
|
2291
|
+
connectionId?: string;
|
|
2057
2292
|
}
|
|
2058
2293
|
type PostToXStepOutput = unknown;
|
|
2059
2294
|
interface PostToZapierStepInput {
|
|
@@ -2088,7 +2323,7 @@ interface QueryDataSourceStepOutput {
|
|
|
2088
2323
|
}
|
|
2089
2324
|
interface QueryExternalDatabaseStepInput {
|
|
2090
2325
|
/** Database connection ID configured in the workspace */
|
|
2091
|
-
connectionId
|
|
2326
|
+
connectionId?: string;
|
|
2092
2327
|
/** SQL query to execute (supports variable interpolation) */
|
|
2093
2328
|
query: string;
|
|
2094
2329
|
/** Output format for the result variable */
|
|
@@ -2118,6 +2353,20 @@ interface RemoveBackgroundFromImageStepOutput {
|
|
|
2118
2353
|
/** CDN URL of the image with background removed (transparent PNG) */
|
|
2119
2354
|
imageUrl: string;
|
|
2120
2355
|
}
|
|
2356
|
+
interface ReplyToGmailEmailStepInput {
|
|
2357
|
+
/** Gmail message ID to reply to */
|
|
2358
|
+
messageId: string;
|
|
2359
|
+
/** Reply body content */
|
|
2360
|
+
message: string;
|
|
2361
|
+
/** Body format: "plain", "html", or "markdown" */
|
|
2362
|
+
messageType: "plain" | "html" | "markdown";
|
|
2363
|
+
/** Google OAuth connection ID */
|
|
2364
|
+
connectionId?: string;
|
|
2365
|
+
}
|
|
2366
|
+
interface ReplyToGmailEmailStepOutput {
|
|
2367
|
+
/** Gmail message ID of the sent reply */
|
|
2368
|
+
messageId: string;
|
|
2369
|
+
}
|
|
2121
2370
|
interface ResizeVideoStepInput {
|
|
2122
2371
|
/** URL of the source video to resize */
|
|
2123
2372
|
videoUrl: string;
|
|
@@ -2398,6 +2647,86 @@ interface SearchGoogleStepOutput {
|
|
|
2398
2647
|
url: string;
|
|
2399
2648
|
}[];
|
|
2400
2649
|
}
|
|
2650
|
+
interface SearchGoogleCalendarEventsStepInput {
|
|
2651
|
+
/** Text search term */
|
|
2652
|
+
query?: string;
|
|
2653
|
+
/** Start of time range (ISO 8601) */
|
|
2654
|
+
timeMin?: string;
|
|
2655
|
+
/** End of time range (ISO 8601) */
|
|
2656
|
+
timeMax?: string;
|
|
2657
|
+
/** Calendar ID (defaults to "primary") */
|
|
2658
|
+
calendarId?: string;
|
|
2659
|
+
/** Maximum number of events to return (default: 10) */
|
|
2660
|
+
limit?: number;
|
|
2661
|
+
/** Format for the variable output: "json" or "text" */
|
|
2662
|
+
exportType: "json" | "text";
|
|
2663
|
+
/** Google OAuth connection ID */
|
|
2664
|
+
connectionId?: string;
|
|
2665
|
+
}
|
|
2666
|
+
interface SearchGoogleCalendarEventsStepOutput {
|
|
2667
|
+
/** List of matching calendar events */
|
|
2668
|
+
events: ({
|
|
2669
|
+
/** Google Calendar event ID */
|
|
2670
|
+
id?: string | null;
|
|
2671
|
+
/** Event status (e.g. "confirmed", "tentative", "cancelled") */
|
|
2672
|
+
status?: string | null;
|
|
2673
|
+
/** URL to view the event in Google Calendar */
|
|
2674
|
+
htmlLink?: string | null;
|
|
2675
|
+
/** Timestamp when the event was created */
|
|
2676
|
+
created?: string | null;
|
|
2677
|
+
/** Timestamp when the event was last updated */
|
|
2678
|
+
updated?: string | null;
|
|
2679
|
+
/** Event title */
|
|
2680
|
+
summary?: string | null;
|
|
2681
|
+
/** Event description */
|
|
2682
|
+
description?: string | null;
|
|
2683
|
+
/** Event location */
|
|
2684
|
+
location?: string | null;
|
|
2685
|
+
/** Event organizer */
|
|
2686
|
+
organizer?: {
|
|
2687
|
+
displayName?: string | null;
|
|
2688
|
+
email?: string | null;
|
|
2689
|
+
} | null;
|
|
2690
|
+
/** Event start time and timezone */
|
|
2691
|
+
start?: {
|
|
2692
|
+
dateTime?: string | null;
|
|
2693
|
+
timeZone?: string | null;
|
|
2694
|
+
} | null;
|
|
2695
|
+
/** Event end time and timezone */
|
|
2696
|
+
end?: {
|
|
2697
|
+
dateTime?: string | null;
|
|
2698
|
+
timeZone?: string | null;
|
|
2699
|
+
} | null;
|
|
2700
|
+
/** List of event attendees */
|
|
2701
|
+
attendees?: ({
|
|
2702
|
+
displayName?: string | null;
|
|
2703
|
+
email?: string | null;
|
|
2704
|
+
responseStatus?: string | null;
|
|
2705
|
+
})[] | null;
|
|
2706
|
+
})[];
|
|
2707
|
+
}
|
|
2708
|
+
interface SearchGoogleDriveStepInput {
|
|
2709
|
+
/** Search keyword */
|
|
2710
|
+
query: string;
|
|
2711
|
+
/** Max files to return (default: 20) */
|
|
2712
|
+
limit?: number;
|
|
2713
|
+
/** Google OAuth connection ID */
|
|
2714
|
+
connectionId?: string;
|
|
2715
|
+
/** Format for the variable output: "json" or "text" */
|
|
2716
|
+
exportType: "json" | "text";
|
|
2717
|
+
}
|
|
2718
|
+
interface SearchGoogleDriveStepOutput {
|
|
2719
|
+
/** List of matching files */
|
|
2720
|
+
files: {
|
|
2721
|
+
id: string;
|
|
2722
|
+
name: string;
|
|
2723
|
+
mimeType: string;
|
|
2724
|
+
size: string;
|
|
2725
|
+
webViewLink: string;
|
|
2726
|
+
createdTime: string;
|
|
2727
|
+
modifiedTime: string;
|
|
2728
|
+
}[];
|
|
2729
|
+
}
|
|
2401
2730
|
interface SearchGoogleImagesStepInput {
|
|
2402
2731
|
/** The image search query */
|
|
2403
2732
|
query: string;
|
|
@@ -2581,7 +2910,7 @@ interface SendEmailStepInput {
|
|
|
2581
2910
|
/** Email body content (plain text, markdown, HTML, or a CDN URL to an HTML file) */
|
|
2582
2911
|
body: string;
|
|
2583
2912
|
/** OAuth connection ID(s) for the recipient(s), comma-separated for multiple */
|
|
2584
|
-
connectionId
|
|
2913
|
+
connectionId?: string;
|
|
2585
2914
|
/** When true, auto-convert the body text into a styled HTML email using AI */
|
|
2586
2915
|
generateHtml?: boolean;
|
|
2587
2916
|
/** Natural language instructions for the HTML generation style */
|
|
@@ -2629,7 +2958,9 @@ interface SendSMSStepInput {
|
|
|
2629
2958
|
/** SMS message body text */
|
|
2630
2959
|
body: string;
|
|
2631
2960
|
/** OAuth connection ID for the recipient phone number */
|
|
2632
|
-
connectionId
|
|
2961
|
+
connectionId?: string;
|
|
2962
|
+
/** Optional array of media URLs to send as MMS (up to 10, 5MB each) */
|
|
2963
|
+
mediaUrls?: string[];
|
|
2633
2964
|
}
|
|
2634
2965
|
type SendSMSStepOutput = unknown;
|
|
2635
2966
|
interface SetRunTitleStepInput {
|
|
@@ -2640,14 +2971,32 @@ type SetRunTitleStepOutput = unknown;
|
|
|
2640
2971
|
interface SetVariableStepInput {
|
|
2641
2972
|
/** Value to assign (string or array of strings, supports variable interpolation) */
|
|
2642
2973
|
value: string | string[];
|
|
2643
|
-
/** UI input type hint controlling the editor widget */
|
|
2644
|
-
type: "imageUrl" | "videoUrl" | "fileUrl" | "plaintext" | "textArray" | "imageUrlArray" | "videoUrlArray";
|
|
2645
2974
|
}
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2975
|
+
type SetVariableStepOutput = Record<string, unknown>;
|
|
2976
|
+
interface TelegramEditMessageStepInput {
|
|
2977
|
+
/** Telegram bot token in "botId:token" format */
|
|
2978
|
+
botToken: string;
|
|
2979
|
+
/** Telegram chat ID containing the message */
|
|
2980
|
+
chatId: string;
|
|
2981
|
+
/** ID of the message to edit */
|
|
2982
|
+
messageId: string;
|
|
2983
|
+
/** New message text (MarkdownV2 formatting supported) */
|
|
2984
|
+
text: string;
|
|
2985
|
+
}
|
|
2986
|
+
type TelegramEditMessageStepOutput = unknown;
|
|
2987
|
+
interface TelegramReplyToMessageStepInput {
|
|
2988
|
+
/** Telegram bot token in "botId:token" format */
|
|
2989
|
+
botToken: string;
|
|
2990
|
+
/** Telegram chat ID to send the reply to */
|
|
2991
|
+
chatId: string;
|
|
2992
|
+
/** ID of the message to reply to */
|
|
2993
|
+
replyToMessageId: string;
|
|
2994
|
+
/** Reply text (MarkdownV2 formatting supported) */
|
|
2995
|
+
text: string;
|
|
2996
|
+
}
|
|
2997
|
+
interface TelegramReplyToMessageStepOutput {
|
|
2998
|
+
/** ID of the sent reply message */
|
|
2999
|
+
messageId: number;
|
|
2651
3000
|
}
|
|
2652
3001
|
interface TelegramSendAudioStepInput {
|
|
2653
3002
|
/** Telegram bot token in "botId:token" format */
|
|
@@ -2692,7 +3041,10 @@ interface TelegramSendMessageStepInput {
|
|
|
2692
3041
|
/** Message text to send (MarkdownV2 formatting supported) */
|
|
2693
3042
|
text: string;
|
|
2694
3043
|
}
|
|
2695
|
-
|
|
3044
|
+
interface TelegramSendMessageStepOutput {
|
|
3045
|
+
/** ID of the sent Telegram message */
|
|
3046
|
+
messageId: number;
|
|
3047
|
+
}
|
|
2696
3048
|
interface TelegramSendVideoStepInput {
|
|
2697
3049
|
/** Telegram bot token in "botId:token" format */
|
|
2698
3050
|
botToken: string;
|
|
@@ -2760,7 +3112,7 @@ interface TrimMediaStepOutput {
|
|
|
2760
3112
|
}
|
|
2761
3113
|
interface UpdateGoogleCalendarEventStepInput {
|
|
2762
3114
|
/** Google OAuth connection ID */
|
|
2763
|
-
connectionId
|
|
3115
|
+
connectionId?: string;
|
|
2764
3116
|
/** Google Calendar event ID to update */
|
|
2765
3117
|
eventId: string;
|
|
2766
3118
|
/** Updated event title */
|
|
@@ -2788,7 +3140,7 @@ interface UpdateGoogleDocStepInput {
|
|
|
2788
3140
|
/** Google Document ID to update */
|
|
2789
3141
|
documentId: string;
|
|
2790
3142
|
/** Google OAuth connection ID */
|
|
2791
|
-
connectionId
|
|
3143
|
+
connectionId?: string;
|
|
2792
3144
|
/** New content to write to the document */
|
|
2793
3145
|
text: string;
|
|
2794
3146
|
/** Format of the text field: "plain", "html", or "markdown" */
|
|
@@ -2804,7 +3156,7 @@ interface UpdateGoogleSheetStepInput {
|
|
|
2804
3156
|
/** CSV data to write to the spreadsheet */
|
|
2805
3157
|
text: string;
|
|
2806
3158
|
/** Google OAuth connection ID */
|
|
2807
|
-
connectionId
|
|
3159
|
+
connectionId?: string;
|
|
2808
3160
|
/** Google Spreadsheet ID to update */
|
|
2809
3161
|
spreadsheetId: string;
|
|
2810
3162
|
/** Target cell range in A1 notation (used with "range" operationType) */
|
|
@@ -2984,7 +3336,7 @@ type GenerateAssetStepOutput = GeneratePdfStepOutput;
|
|
|
2984
3336
|
type GenerateTextStepInput = UserMessageStepInput;
|
|
2985
3337
|
type GenerateTextStepOutput = UserMessageStepOutput;
|
|
2986
3338
|
/** Union of all available step type names. */
|
|
2987
|
-
type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGoogleCalendarEvent" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generateChart" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateStaticVideoFromImage" | "generateVideo" | "getGoogleCalendarEvent" | "getMediaMetadata" | "httpRequest" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGoogleCalendarEvents" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "redactPII" | "removeBackgroundFromImage" | "resizeVideo" | "runPackagedWorkflow" | "scrapeFacebookPage" | "scrapeFacebookPosts" | "scrapeInstagramComments" | "scrapeInstagramMentions" | "scrapeInstagramPosts" | "scrapeInstagramProfile" | "scrapeInstagramReels" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeMetaThreadsProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "searchGoogle" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendSMS" | "setRunTitle" | "setVariable" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
|
|
3339
|
+
type StepName = "activeCampaignAddNote" | "activeCampaignCreateContact" | "addSubtitlesToVideo" | "airtableCreateUpdateRecord" | "airtableDeleteRecord" | "airtableGetRecord" | "airtableGetTableRecords" | "analyzeImage" | "analyzeVideo" | "captureThumbnail" | "codaCreateUpdatePage" | "codaCreateUpdateRow" | "codaFindRow" | "codaGetPage" | "codaGetTableRows" | "convertPdfToImages" | "createDataSource" | "createGoogleCalendarEvent" | "createGoogleDoc" | "createGoogleSheet" | "deleteDataSource" | "deleteDataSourceDocument" | "deleteGmailEmail" | "deleteGoogleCalendarEvent" | "deleteGoogleSheetRows" | "detectPII" | "downloadVideo" | "enhanceImageGenerationPrompt" | "enhanceVideoGenerationPrompt" | "enrichPerson" | "extractAudioFromVideo" | "extractText" | "fetchDataSourceDocument" | "fetchGoogleDoc" | "fetchGoogleSheet" | "fetchSlackChannelHistory" | "fetchYoutubeCaptions" | "fetchYoutubeChannel" | "fetchYoutubeComments" | "fetchYoutubeVideo" | "generateChart" | "generateImage" | "generateLipsync" | "generateMusic" | "generatePdf" | "generateStaticVideoFromImage" | "generateVideo" | "getGmailDraft" | "getGmailEmail" | "getGoogleCalendarEvent" | "getGoogleDriveFile" | "getGoogleSheetInfo" | "getMediaMetadata" | "httpRequest" | "hubspotCreateCompany" | "hubspotCreateContact" | "hubspotGetCompany" | "hubspotGetContact" | "hunterApiCompanyEnrichment" | "hunterApiDomainSearch" | "hunterApiEmailFinder" | "hunterApiEmailVerification" | "hunterApiPersonEnrichment" | "imageFaceSwap" | "imageRemoveWatermark" | "insertVideoClips" | "listDataSources" | "listGmailDrafts" | "listGoogleCalendarEvents" | "listGoogleDriveFiles" | "logic" | "makeDotComRunScenario" | "mergeAudio" | "mergeVideos" | "mixAudioIntoVideo" | "muteVideo" | "n8nRunNode" | "notionCreatePage" | "notionUpdatePage" | "peopleSearch" | "postToLinkedIn" | "postToSlackChannel" | "postToX" | "postToZapier" | "queryDataSource" | "queryExternalDatabase" | "redactPII" | "removeBackgroundFromImage" | "replyToGmailEmail" | "resizeVideo" | "runPackagedWorkflow" | "scrapeFacebookPage" | "scrapeFacebookPosts" | "scrapeInstagramComments" | "scrapeInstagramMentions" | "scrapeInstagramPosts" | "scrapeInstagramProfile" | "scrapeInstagramReels" | "scrapeLinkedInCompany" | "scrapeLinkedInProfile" | "scrapeMetaThreadsProfile" | "scrapeUrl" | "scrapeXPost" | "scrapeXProfile" | "searchGoogle" | "searchGoogleCalendarEvents" | "searchGoogleDrive" | "searchGoogleImages" | "searchGoogleNews" | "searchGoogleTrends" | "searchPerplexity" | "searchXPosts" | "searchYoutube" | "searchYoutubeTrends" | "sendEmail" | "sendSMS" | "setRunTitle" | "setVariable" | "telegramEditMessage" | "telegramReplyToMessage" | "telegramSendAudio" | "telegramSendFile" | "telegramSendImage" | "telegramSendMessage" | "telegramSendVideo" | "telegramSetTyping" | "textToSpeech" | "transcribeAudio" | "trimMedia" | "updateGoogleCalendarEvent" | "updateGoogleDoc" | "updateGoogleSheet" | "uploadDataSourceDocument" | "upscaleImage" | "upscaleVideo" | "userMessage" | "videoFaceSwap" | "videoRemoveBackground" | "videoRemoveWatermark" | "watermarkImage" | "watermarkVideo";
|
|
2988
3340
|
/** Maps step names to their input types. */
|
|
2989
3341
|
interface StepInputMap {
|
|
2990
3342
|
activeCampaignAddNote: ActiveCampaignAddNoteStepInput;
|
|
@@ -3009,7 +3361,9 @@ interface StepInputMap {
|
|
|
3009
3361
|
createGoogleSheet: CreateGoogleSheetStepInput;
|
|
3010
3362
|
deleteDataSource: DeleteDataSourceStepInput;
|
|
3011
3363
|
deleteDataSourceDocument: DeleteDataSourceDocumentStepInput;
|
|
3364
|
+
deleteGmailEmail: DeleteGmailEmailStepInput;
|
|
3012
3365
|
deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepInput;
|
|
3366
|
+
deleteGoogleSheetRows: DeleteGoogleSheetRowsStepInput;
|
|
3013
3367
|
detectPII: DetectPIIStepInput;
|
|
3014
3368
|
downloadVideo: DownloadVideoStepInput;
|
|
3015
3369
|
enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepInput;
|
|
@@ -3032,7 +3386,11 @@ interface StepInputMap {
|
|
|
3032
3386
|
generatePdf: GeneratePdfStepInput;
|
|
3033
3387
|
generateStaticVideoFromImage: GenerateStaticVideoFromImageStepInput;
|
|
3034
3388
|
generateVideo: GenerateVideoStepInput;
|
|
3389
|
+
getGmailDraft: GetGmailDraftStepInput;
|
|
3390
|
+
getGmailEmail: GetGmailEmailStepInput;
|
|
3035
3391
|
getGoogleCalendarEvent: GetGoogleCalendarEventStepInput;
|
|
3392
|
+
getGoogleDriveFile: GetGoogleDriveFileStepInput;
|
|
3393
|
+
getGoogleSheetInfo: GetGoogleSheetInfoStepInput;
|
|
3036
3394
|
getMediaMetadata: GetMediaMetadataStepInput;
|
|
3037
3395
|
httpRequest: HttpRequestStepInput;
|
|
3038
3396
|
hubspotCreateCompany: HubspotCreateCompanyStepInput;
|
|
@@ -3048,7 +3406,9 @@ interface StepInputMap {
|
|
|
3048
3406
|
imageRemoveWatermark: ImageRemoveWatermarkStepInput;
|
|
3049
3407
|
insertVideoClips: InsertVideoClipsStepInput;
|
|
3050
3408
|
listDataSources: ListDataSourcesStepInput;
|
|
3409
|
+
listGmailDrafts: ListGmailDraftsStepInput;
|
|
3051
3410
|
listGoogleCalendarEvents: ListGoogleCalendarEventsStepInput;
|
|
3411
|
+
listGoogleDriveFiles: ListGoogleDriveFilesStepInput;
|
|
3052
3412
|
logic: LogicStepInput;
|
|
3053
3413
|
makeDotComRunScenario: MakeDotComRunScenarioStepInput;
|
|
3054
3414
|
mergeAudio: MergeAudioStepInput;
|
|
@@ -3067,6 +3427,7 @@ interface StepInputMap {
|
|
|
3067
3427
|
queryExternalDatabase: QueryExternalDatabaseStepInput;
|
|
3068
3428
|
redactPII: RedactPIIStepInput;
|
|
3069
3429
|
removeBackgroundFromImage: RemoveBackgroundFromImageStepInput;
|
|
3430
|
+
replyToGmailEmail: ReplyToGmailEmailStepInput;
|
|
3070
3431
|
resizeVideo: ResizeVideoStepInput;
|
|
3071
3432
|
runPackagedWorkflow: RunPackagedWorkflowStepInput;
|
|
3072
3433
|
scrapeFacebookPage: ScrapeFacebookPageStepInput;
|
|
@@ -3083,6 +3444,8 @@ interface StepInputMap {
|
|
|
3083
3444
|
scrapeXPost: ScrapeXPostStepInput;
|
|
3084
3445
|
scrapeXProfile: ScrapeXProfileStepInput;
|
|
3085
3446
|
searchGoogle: SearchGoogleStepInput;
|
|
3447
|
+
searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepInput;
|
|
3448
|
+
searchGoogleDrive: SearchGoogleDriveStepInput;
|
|
3086
3449
|
searchGoogleImages: SearchGoogleImagesStepInput;
|
|
3087
3450
|
searchGoogleNews: SearchGoogleNewsStepInput;
|
|
3088
3451
|
searchGoogleTrends: SearchGoogleTrendsStepInput;
|
|
@@ -3094,6 +3457,8 @@ interface StepInputMap {
|
|
|
3094
3457
|
sendSMS: SendSMSStepInput;
|
|
3095
3458
|
setRunTitle: SetRunTitleStepInput;
|
|
3096
3459
|
setVariable: SetVariableStepInput;
|
|
3460
|
+
telegramEditMessage: TelegramEditMessageStepInput;
|
|
3461
|
+
telegramReplyToMessage: TelegramReplyToMessageStepInput;
|
|
3097
3462
|
telegramSendAudio: TelegramSendAudioStepInput;
|
|
3098
3463
|
telegramSendFile: TelegramSendFileStepInput;
|
|
3099
3464
|
telegramSendImage: TelegramSendImageStepInput;
|
|
@@ -3140,7 +3505,9 @@ interface StepOutputMap {
|
|
|
3140
3505
|
createGoogleSheet: CreateGoogleSheetStepOutput;
|
|
3141
3506
|
deleteDataSource: DeleteDataSourceStepOutput;
|
|
3142
3507
|
deleteDataSourceDocument: DeleteDataSourceDocumentStepOutput;
|
|
3508
|
+
deleteGmailEmail: DeleteGmailEmailStepOutput;
|
|
3143
3509
|
deleteGoogleCalendarEvent: DeleteGoogleCalendarEventStepOutput;
|
|
3510
|
+
deleteGoogleSheetRows: DeleteGoogleSheetRowsStepOutput;
|
|
3144
3511
|
detectPII: DetectPIIStepOutput;
|
|
3145
3512
|
downloadVideo: DownloadVideoStepOutput;
|
|
3146
3513
|
enhanceImageGenerationPrompt: EnhanceImageGenerationPromptStepOutput;
|
|
@@ -3163,7 +3530,11 @@ interface StepOutputMap {
|
|
|
3163
3530
|
generatePdf: GeneratePdfStepOutput;
|
|
3164
3531
|
generateStaticVideoFromImage: GenerateStaticVideoFromImageStepOutput;
|
|
3165
3532
|
generateVideo: GenerateVideoStepOutput;
|
|
3533
|
+
getGmailDraft: GetGmailDraftStepOutput;
|
|
3534
|
+
getGmailEmail: GetGmailEmailStepOutput;
|
|
3166
3535
|
getGoogleCalendarEvent: GetGoogleCalendarEventStepOutput;
|
|
3536
|
+
getGoogleDriveFile: GetGoogleDriveFileStepOutput;
|
|
3537
|
+
getGoogleSheetInfo: GetGoogleSheetInfoStepOutput;
|
|
3167
3538
|
getMediaMetadata: GetMediaMetadataStepOutput;
|
|
3168
3539
|
httpRequest: HttpRequestStepOutput;
|
|
3169
3540
|
hubspotCreateCompany: HubspotCreateCompanyStepOutput;
|
|
@@ -3179,7 +3550,9 @@ interface StepOutputMap {
|
|
|
3179
3550
|
imageRemoveWatermark: ImageRemoveWatermarkStepOutput;
|
|
3180
3551
|
insertVideoClips: InsertVideoClipsStepOutput;
|
|
3181
3552
|
listDataSources: ListDataSourcesStepOutput;
|
|
3553
|
+
listGmailDrafts: ListGmailDraftsStepOutput;
|
|
3182
3554
|
listGoogleCalendarEvents: ListGoogleCalendarEventsStepOutput;
|
|
3555
|
+
listGoogleDriveFiles: ListGoogleDriveFilesStepOutput;
|
|
3183
3556
|
logic: LogicStepOutput;
|
|
3184
3557
|
makeDotComRunScenario: MakeDotComRunScenarioStepOutput;
|
|
3185
3558
|
mergeAudio: MergeAudioStepOutput;
|
|
@@ -3198,6 +3571,7 @@ interface StepOutputMap {
|
|
|
3198
3571
|
queryExternalDatabase: QueryExternalDatabaseStepOutput;
|
|
3199
3572
|
redactPII: RedactPIIStepOutput;
|
|
3200
3573
|
removeBackgroundFromImage: RemoveBackgroundFromImageStepOutput;
|
|
3574
|
+
replyToGmailEmail: ReplyToGmailEmailStepOutput;
|
|
3201
3575
|
resizeVideo: ResizeVideoStepOutput;
|
|
3202
3576
|
runPackagedWorkflow: RunPackagedWorkflowStepOutput;
|
|
3203
3577
|
scrapeFacebookPage: ScrapeFacebookPageStepOutput;
|
|
@@ -3214,6 +3588,8 @@ interface StepOutputMap {
|
|
|
3214
3588
|
scrapeXPost: ScrapeXPostStepOutput;
|
|
3215
3589
|
scrapeXProfile: ScrapeXProfileStepOutput;
|
|
3216
3590
|
searchGoogle: SearchGoogleStepOutput;
|
|
3591
|
+
searchGoogleCalendarEvents: SearchGoogleCalendarEventsStepOutput;
|
|
3592
|
+
searchGoogleDrive: SearchGoogleDriveStepOutput;
|
|
3217
3593
|
searchGoogleImages: SearchGoogleImagesStepOutput;
|
|
3218
3594
|
searchGoogleNews: SearchGoogleNewsStepOutput;
|
|
3219
3595
|
searchGoogleTrends: SearchGoogleTrendsStepOutput;
|
|
@@ -3225,6 +3601,8 @@ interface StepOutputMap {
|
|
|
3225
3601
|
sendSMS: SendSMSStepOutput;
|
|
3226
3602
|
setRunTitle: SetRunTitleStepOutput;
|
|
3227
3603
|
setVariable: SetVariableStepOutput;
|
|
3604
|
+
telegramEditMessage: TelegramEditMessageStepOutput;
|
|
3605
|
+
telegramReplyToMessage: TelegramReplyToMessageStepOutput;
|
|
3228
3606
|
telegramSendAudio: TelegramSendAudioStepOutput;
|
|
3229
3607
|
telegramSendFile: TelegramSendFileStepOutput;
|
|
3230
3608
|
telegramSendImage: TelegramSendImageStepOutput;
|
|
@@ -3261,7 +3639,6 @@ interface StepMethods {
|
|
|
3261
3639
|
* const result = await agent.activeCampaignAddNote({
|
|
3262
3640
|
* contactId: ``,
|
|
3263
3641
|
* note: ``,
|
|
3264
|
-
* connectionId: ``,
|
|
3265
3642
|
* });
|
|
3266
3643
|
* ```
|
|
3267
3644
|
*/
|
|
@@ -3283,7 +3660,6 @@ interface StepMethods {
|
|
|
3283
3660
|
* phone: ``,
|
|
3284
3661
|
* accountId: ``,
|
|
3285
3662
|
* customFields: {},
|
|
3286
|
-
* connectionId: ``,
|
|
3287
3663
|
* });
|
|
3288
3664
|
* ```
|
|
3289
3665
|
*/
|
|
@@ -3327,7 +3703,6 @@ interface StepMethods {
|
|
|
3327
3703
|
* @example
|
|
3328
3704
|
* ```typescript
|
|
3329
3705
|
* const result = await agent.airtableCreateUpdateRecord({
|
|
3330
|
-
* connectionId: ``,
|
|
3331
3706
|
* baseId: ``,
|
|
3332
3707
|
* tableId: ``,
|
|
3333
3708
|
* fields: ``,
|
|
@@ -3346,7 +3721,6 @@ interface StepMethods {
|
|
|
3346
3721
|
* @example
|
|
3347
3722
|
* ```typescript
|
|
3348
3723
|
* const result = await agent.airtableDeleteRecord({
|
|
3349
|
-
* connectionId: ``,
|
|
3350
3724
|
* baseId: ``,
|
|
3351
3725
|
* tableId: ``,
|
|
3352
3726
|
* recordId: ``,
|
|
@@ -3364,7 +3738,6 @@ interface StepMethods {
|
|
|
3364
3738
|
* @example
|
|
3365
3739
|
* ```typescript
|
|
3366
3740
|
* const result = await agent.airtableGetRecord({
|
|
3367
|
-
* connectionId: ``,
|
|
3368
3741
|
* baseId: ``,
|
|
3369
3742
|
* tableId: ``,
|
|
3370
3743
|
* recordId: ``,
|
|
@@ -3383,7 +3756,6 @@ interface StepMethods {
|
|
|
3383
3756
|
* @example
|
|
3384
3757
|
* ```typescript
|
|
3385
3758
|
* const result = await agent.airtableGetTableRecords({
|
|
3386
|
-
* connectionId: ``,
|
|
3387
3759
|
* baseId: ``,
|
|
3388
3760
|
* tableId: ``,
|
|
3389
3761
|
* });
|
|
@@ -3446,7 +3818,6 @@ interface StepMethods {
|
|
|
3446
3818
|
* @example
|
|
3447
3819
|
* ```typescript
|
|
3448
3820
|
* const result = await agent.codaCreateUpdatePage({
|
|
3449
|
-
* connectionId: ``,
|
|
3450
3821
|
* pageData: {},
|
|
3451
3822
|
* });
|
|
3452
3823
|
* ```
|
|
@@ -3463,7 +3834,6 @@ interface StepMethods {
|
|
|
3463
3834
|
* @example
|
|
3464
3835
|
* ```typescript
|
|
3465
3836
|
* const result = await agent.codaCreateUpdateRow({
|
|
3466
|
-
* connectionId: ``,
|
|
3467
3837
|
* docId: ``,
|
|
3468
3838
|
* tableId: ``,
|
|
3469
3839
|
* rowData: {},
|
|
@@ -3482,7 +3852,6 @@ interface StepMethods {
|
|
|
3482
3852
|
* @example
|
|
3483
3853
|
* ```typescript
|
|
3484
3854
|
* const result = await agent.codaFindRow({
|
|
3485
|
-
* connectionId: ``,
|
|
3486
3855
|
* docId: ``,
|
|
3487
3856
|
* tableId: ``,
|
|
3488
3857
|
* rowData: {},
|
|
@@ -3501,7 +3870,6 @@ interface StepMethods {
|
|
|
3501
3870
|
* @example
|
|
3502
3871
|
* ```typescript
|
|
3503
3872
|
* const result = await agent.codaGetPage({
|
|
3504
|
-
* connectionId: ``,
|
|
3505
3873
|
* docId: ``,
|
|
3506
3874
|
* pageId: ``,
|
|
3507
3875
|
* });
|
|
@@ -3519,7 +3887,6 @@ interface StepMethods {
|
|
|
3519
3887
|
* @example
|
|
3520
3888
|
* ```typescript
|
|
3521
3889
|
* const result = await agent.codaGetTableRows({
|
|
3522
|
-
* connectionId: ``,
|
|
3523
3890
|
* docId: ``,
|
|
3524
3891
|
* tableId: ``,
|
|
3525
3892
|
* });
|
|
@@ -3569,7 +3936,6 @@ interface StepMethods {
|
|
|
3569
3936
|
* @example
|
|
3570
3937
|
* ```typescript
|
|
3571
3938
|
* const result = await agent.createGoogleCalendarEvent({
|
|
3572
|
-
* connectionId: ``,
|
|
3573
3939
|
* summary: ``,
|
|
3574
3940
|
* startDateTime: ``,
|
|
3575
3941
|
* endDateTime: ``,
|
|
@@ -3588,7 +3954,6 @@ interface StepMethods {
|
|
|
3588
3954
|
* const result = await agent.createGoogleDoc({
|
|
3589
3955
|
* title: ``,
|
|
3590
3956
|
* text: ``,
|
|
3591
|
-
* connectionId: ``,
|
|
3592
3957
|
* textType: "plain",
|
|
3593
3958
|
* });
|
|
3594
3959
|
* ```
|
|
@@ -3602,7 +3967,6 @@ interface StepMethods {
|
|
|
3602
3967
|
* const result = await agent.createGoogleSheet({
|
|
3603
3968
|
* title: ``,
|
|
3604
3969
|
* text: ``,
|
|
3605
|
-
* connectionId: ``,
|
|
3606
3970
|
* });
|
|
3607
3971
|
* ```
|
|
3608
3972
|
*/
|
|
@@ -3640,6 +4004,21 @@ interface StepMethods {
|
|
|
3640
4004
|
* ```
|
|
3641
4005
|
*/
|
|
3642
4006
|
deleteDataSourceDocument(step: DeleteDataSourceDocumentStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteDataSourceDocumentStepOutput>>;
|
|
4007
|
+
/**
|
|
4008
|
+
* Move an email to trash in the connected Gmail account (recoverable delete).
|
|
4009
|
+
*
|
|
4010
|
+
* @remarks
|
|
4011
|
+
* - Requires a Google OAuth connection with Gmail modify scope.
|
|
4012
|
+
* - Uses trash (recoverable) rather than permanent delete.
|
|
4013
|
+
*
|
|
4014
|
+
* @example
|
|
4015
|
+
* ```typescript
|
|
4016
|
+
* const result = await agent.deleteGmailEmail({
|
|
4017
|
+
* messageId: ``,
|
|
4018
|
+
* });
|
|
4019
|
+
* ```
|
|
4020
|
+
*/
|
|
4021
|
+
deleteGmailEmail(step: DeleteGmailEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGmailEmailStepOutput>>;
|
|
3643
4022
|
/**
|
|
3644
4023
|
* Retrieve a specific event from a Google Calendar by event ID.
|
|
3645
4024
|
*
|
|
@@ -3650,12 +4029,29 @@ interface StepMethods {
|
|
|
3650
4029
|
* @example
|
|
3651
4030
|
* ```typescript
|
|
3652
4031
|
* const result = await agent.deleteGoogleCalendarEvent({
|
|
3653
|
-
* connectionId: ``,
|
|
3654
4032
|
* eventId: ``,
|
|
3655
4033
|
* });
|
|
3656
4034
|
* ```
|
|
3657
4035
|
*/
|
|
3658
4036
|
deleteGoogleCalendarEvent(step: DeleteGoogleCalendarEventStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGoogleCalendarEventStepOutput>>;
|
|
4037
|
+
/**
|
|
4038
|
+
* Delete a range of rows from a Google Spreadsheet.
|
|
4039
|
+
*
|
|
4040
|
+
* @remarks
|
|
4041
|
+
* - Requires a Google OAuth connection with Drive scope.
|
|
4042
|
+
* - startRow and endRow are 1-based row numbers (inclusive).
|
|
4043
|
+
* - If sheetName is omitted, operates on the first sheet.
|
|
4044
|
+
*
|
|
4045
|
+
* @example
|
|
4046
|
+
* ```typescript
|
|
4047
|
+
* const result = await agent.deleteGoogleSheetRows({
|
|
4048
|
+
* documentId: ``,
|
|
4049
|
+
* startRow: ``,
|
|
4050
|
+
* endRow: ``,
|
|
4051
|
+
* });
|
|
4052
|
+
* ```
|
|
4053
|
+
*/
|
|
4054
|
+
deleteGoogleSheetRows(step: DeleteGoogleSheetRowsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGoogleSheetRowsStepOutput>>;
|
|
3659
4055
|
/**
|
|
3660
4056
|
* Scan text for personally identifiable information using Microsoft Presidio.
|
|
3661
4057
|
*
|
|
@@ -3796,7 +4192,6 @@ interface StepMethods {
|
|
|
3796
4192
|
* ```typescript
|
|
3797
4193
|
* const result = await agent.fetchGoogleDoc({
|
|
3798
4194
|
* documentId: ``,
|
|
3799
|
-
* connectionId: ``,
|
|
3800
4195
|
* exportType: "html",
|
|
3801
4196
|
* });
|
|
3802
4197
|
* ```
|
|
@@ -3814,7 +4209,6 @@ interface StepMethods {
|
|
|
3814
4209
|
* const result = await agent.fetchGoogleSheet({
|
|
3815
4210
|
* spreadsheetId: ``,
|
|
3816
4211
|
* range: ``,
|
|
3817
|
-
* connectionId: ``,
|
|
3818
4212
|
* exportType: "csv",
|
|
3819
4213
|
* });
|
|
3820
4214
|
* ```
|
|
@@ -3829,7 +4223,6 @@ interface StepMethods {
|
|
|
3829
4223
|
* @example
|
|
3830
4224
|
* ```typescript
|
|
3831
4225
|
* const result = await agent.fetchSlackChannelHistory({
|
|
3832
|
-
* connectionId: ``,
|
|
3833
4226
|
* channelId: ``,
|
|
3834
4227
|
* });
|
|
3835
4228
|
* ```
|
|
@@ -4014,6 +4407,36 @@ interface StepMethods {
|
|
|
4014
4407
|
* ```
|
|
4015
4408
|
*/
|
|
4016
4409
|
generateVideo(step: GenerateVideoStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GenerateVideoStepOutput>>;
|
|
4410
|
+
/**
|
|
4411
|
+
* Retrieve a specific draft from Gmail by draft ID.
|
|
4412
|
+
*
|
|
4413
|
+
* @remarks
|
|
4414
|
+
* - Requires a Google OAuth connection with Gmail readonly scope.
|
|
4415
|
+
* - Returns the draft content including subject, recipients, sender, and body.
|
|
4416
|
+
*
|
|
4417
|
+
* @example
|
|
4418
|
+
* ```typescript
|
|
4419
|
+
* const result = await agent.getGmailDraft({
|
|
4420
|
+
* draftId: ``,
|
|
4421
|
+
* });
|
|
4422
|
+
* ```
|
|
4423
|
+
*/
|
|
4424
|
+
getGmailDraft(step: GetGmailDraftStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGmailDraftStepOutput>>;
|
|
4425
|
+
/**
|
|
4426
|
+
* Retrieve a specific email from Gmail by message ID.
|
|
4427
|
+
*
|
|
4428
|
+
* @remarks
|
|
4429
|
+
* - Requires a Google OAuth connection with Gmail readonly scope.
|
|
4430
|
+
* - Returns the email subject, sender, recipient, date, body (plain text preferred, falls back to HTML), and labels.
|
|
4431
|
+
*
|
|
4432
|
+
* @example
|
|
4433
|
+
* ```typescript
|
|
4434
|
+
* const result = await agent.getGmailEmail({
|
|
4435
|
+
* messageId: ``,
|
|
4436
|
+
* });
|
|
4437
|
+
* ```
|
|
4438
|
+
*/
|
|
4439
|
+
getGmailEmail(step: GetGmailEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGmailEmailStepOutput>>;
|
|
4017
4440
|
/**
|
|
4018
4441
|
* Retrieve a specific event from a Google Calendar by event ID.
|
|
4019
4442
|
*
|
|
@@ -4024,13 +4447,44 @@ interface StepMethods {
|
|
|
4024
4447
|
* @example
|
|
4025
4448
|
* ```typescript
|
|
4026
4449
|
* const result = await agent.getGoogleCalendarEvent({
|
|
4027
|
-
* connectionId: ``,
|
|
4028
4450
|
* eventId: ``,
|
|
4029
4451
|
* exportType: "json",
|
|
4030
4452
|
* });
|
|
4031
4453
|
* ```
|
|
4032
4454
|
*/
|
|
4033
4455
|
getGoogleCalendarEvent(step: GetGoogleCalendarEventStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGoogleCalendarEventStepOutput>>;
|
|
4456
|
+
/**
|
|
4457
|
+
* Download a file from Google Drive and rehost it on the CDN. Returns a public CDN URL.
|
|
4458
|
+
*
|
|
4459
|
+
* @remarks
|
|
4460
|
+
* - Requires a Google OAuth connection with Drive scope.
|
|
4461
|
+
* - Google-native files (Docs, Sheets, Slides) cannot be downloaded — use dedicated steps instead.
|
|
4462
|
+
* - Maximum file size: 200MB.
|
|
4463
|
+
* - The file is downloaded and re-uploaded to the CDN; the returned URL is publicly accessible.
|
|
4464
|
+
*
|
|
4465
|
+
* @example
|
|
4466
|
+
* ```typescript
|
|
4467
|
+
* const result = await agent.getGoogleDriveFile({
|
|
4468
|
+
* fileId: ``,
|
|
4469
|
+
* });
|
|
4470
|
+
* ```
|
|
4471
|
+
*/
|
|
4472
|
+
getGoogleDriveFile(step: GetGoogleDriveFileStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGoogleDriveFileStepOutput>>;
|
|
4473
|
+
/**
|
|
4474
|
+
* Get metadata about a Google Spreadsheet including sheet names, row counts, and column counts.
|
|
4475
|
+
*
|
|
4476
|
+
* @remarks
|
|
4477
|
+
* - Requires a Google OAuth connection with Drive scope.
|
|
4478
|
+
* - Returns the spreadsheet title and a list of all sheets with their dimensions.
|
|
4479
|
+
*
|
|
4480
|
+
* @example
|
|
4481
|
+
* ```typescript
|
|
4482
|
+
* const result = await agent.getGoogleSheetInfo({
|
|
4483
|
+
* documentId: ``,
|
|
4484
|
+
* });
|
|
4485
|
+
* ```
|
|
4486
|
+
*/
|
|
4487
|
+
getGoogleSheetInfo(step: GetGoogleSheetInfoStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<GetGoogleSheetInfoStepOutput>>;
|
|
4034
4488
|
/**
|
|
4035
4489
|
* Get info about a media file
|
|
4036
4490
|
*
|
|
@@ -4075,7 +4529,6 @@ interface StepMethods {
|
|
|
4075
4529
|
* @example
|
|
4076
4530
|
* ```typescript
|
|
4077
4531
|
* const result = await agent.hubspotCreateCompany({
|
|
4078
|
-
* connectionId: ``,
|
|
4079
4532
|
* company: {},
|
|
4080
4533
|
* enabledProperties: [],
|
|
4081
4534
|
* });
|
|
@@ -4094,7 +4547,6 @@ interface StepMethods {
|
|
|
4094
4547
|
* @example
|
|
4095
4548
|
* ```typescript
|
|
4096
4549
|
* const result = await agent.hubspotCreateContact({
|
|
4097
|
-
* connectionId: ``,
|
|
4098
4550
|
* contact: {},
|
|
4099
4551
|
* enabledProperties: [],
|
|
4100
4552
|
* companyDomain: ``,
|
|
@@ -4114,7 +4566,6 @@ interface StepMethods {
|
|
|
4114
4566
|
* @example
|
|
4115
4567
|
* ```typescript
|
|
4116
4568
|
* const result = await agent.hubspotGetCompany({
|
|
4117
|
-
* connectionId: ``,
|
|
4118
4569
|
* searchBy: "domain",
|
|
4119
4570
|
* companyDomain: ``,
|
|
4120
4571
|
* companyId: ``,
|
|
@@ -4134,7 +4585,6 @@ interface StepMethods {
|
|
|
4134
4585
|
* @example
|
|
4135
4586
|
* ```typescript
|
|
4136
4587
|
* const result = await agent.hubspotGetContact({
|
|
4137
|
-
* connectionId: ``,
|
|
4138
4588
|
* searchBy: "email",
|
|
4139
4589
|
* contactEmail: ``,
|
|
4140
4590
|
* contactId: ``,
|
|
@@ -4279,6 +4729,22 @@ interface StepMethods {
|
|
|
4279
4729
|
* ```
|
|
4280
4730
|
*/
|
|
4281
4731
|
listDataSources(step: ListDataSourcesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListDataSourcesStepOutput>>;
|
|
4732
|
+
/**
|
|
4733
|
+
* List drafts in the connected Gmail account.
|
|
4734
|
+
*
|
|
4735
|
+
* @remarks
|
|
4736
|
+
* - Requires a Google OAuth connection with Gmail readonly scope.
|
|
4737
|
+
* - Returns up to 50 drafts (default 10).
|
|
4738
|
+
* - The variable receives text or JSON depending on exportType.
|
|
4739
|
+
*
|
|
4740
|
+
* @example
|
|
4741
|
+
* ```typescript
|
|
4742
|
+
* const result = await agent.listGmailDrafts({
|
|
4743
|
+
* exportType: "json",
|
|
4744
|
+
* });
|
|
4745
|
+
* ```
|
|
4746
|
+
*/
|
|
4747
|
+
listGmailDrafts(step: ListGmailDraftsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGmailDraftsStepOutput>>;
|
|
4282
4748
|
/**
|
|
4283
4749
|
* List upcoming events from a Google Calendar, ordered by start time.
|
|
4284
4750
|
*
|
|
@@ -4290,13 +4756,28 @@ interface StepMethods {
|
|
|
4290
4756
|
* @example
|
|
4291
4757
|
* ```typescript
|
|
4292
4758
|
* const result = await agent.listGoogleCalendarEvents({
|
|
4293
|
-
* connectionId: ``,
|
|
4294
4759
|
* limit: 0,
|
|
4295
4760
|
* exportType: "json",
|
|
4296
4761
|
* });
|
|
4297
4762
|
* ```
|
|
4298
4763
|
*/
|
|
4299
4764
|
listGoogleCalendarEvents(step: ListGoogleCalendarEventsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGoogleCalendarEventsStepOutput>>;
|
|
4765
|
+
/**
|
|
4766
|
+
* List files in a Google Drive folder.
|
|
4767
|
+
*
|
|
4768
|
+
* @remarks
|
|
4769
|
+
* - Requires a Google OAuth connection with Drive scope.
|
|
4770
|
+
* - If folderId is omitted, lists files in the root folder.
|
|
4771
|
+
* - Returns file metadata including name, type, size, and links.
|
|
4772
|
+
*
|
|
4773
|
+
* @example
|
|
4774
|
+
* ```typescript
|
|
4775
|
+
* const result = await agent.listGoogleDriveFiles({
|
|
4776
|
+
* exportType: "json",
|
|
4777
|
+
* });
|
|
4778
|
+
* ```
|
|
4779
|
+
*/
|
|
4780
|
+
listGoogleDriveFiles(step: ListGoogleDriveFilesStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ListGoogleDriveFilesStepOutput>>;
|
|
4300
4781
|
/**
|
|
4301
4782
|
* Use an AI model to evaluate which condition from a list is most true, given a context prompt.
|
|
4302
4783
|
*
|
|
@@ -4413,7 +4894,6 @@ interface StepMethods {
|
|
|
4413
4894
|
* pageId: ``,
|
|
4414
4895
|
* content: ``,
|
|
4415
4896
|
* title: ``,
|
|
4416
|
-
* connectionId: ``,
|
|
4417
4897
|
* });
|
|
4418
4898
|
* ```
|
|
4419
4899
|
*/
|
|
@@ -4432,7 +4912,6 @@ interface StepMethods {
|
|
|
4432
4912
|
* pageId: ``,
|
|
4433
4913
|
* content: ``,
|
|
4434
4914
|
* mode: "append",
|
|
4435
|
-
* connectionId: ``,
|
|
4436
4915
|
* });
|
|
4437
4916
|
* ```
|
|
4438
4917
|
*/
|
|
@@ -4472,7 +4951,6 @@ interface StepMethods {
|
|
|
4472
4951
|
* const result = await agent.postToLinkedIn({
|
|
4473
4952
|
* message: ``,
|
|
4474
4953
|
* visibility: "PUBLIC",
|
|
4475
|
-
* connectionId: ``,
|
|
4476
4954
|
* });
|
|
4477
4955
|
* ```
|
|
4478
4956
|
*/
|
|
@@ -4491,7 +4969,6 @@ interface StepMethods {
|
|
|
4491
4969
|
* channelId: ``,
|
|
4492
4970
|
* messageType: "string",
|
|
4493
4971
|
* message: ``,
|
|
4494
|
-
* connectionId: ``,
|
|
4495
4972
|
* });
|
|
4496
4973
|
* ```
|
|
4497
4974
|
*/
|
|
@@ -4507,7 +4984,6 @@ interface StepMethods {
|
|
|
4507
4984
|
* ```typescript
|
|
4508
4985
|
* const result = await agent.postToX({
|
|
4509
4986
|
* text: ``,
|
|
4510
|
-
* connectionId: ``,
|
|
4511
4987
|
* });
|
|
4512
4988
|
* ```
|
|
4513
4989
|
*/
|
|
@@ -4557,7 +5033,6 @@ interface StepMethods {
|
|
|
4557
5033
|
* @example
|
|
4558
5034
|
* ```typescript
|
|
4559
5035
|
* const result = await agent.queryExternalDatabase({
|
|
4560
|
-
* connectionId: ``,
|
|
4561
5036
|
* query: ``,
|
|
4562
5037
|
* outputFormat: "json",
|
|
4563
5038
|
* });
|
|
@@ -4596,6 +5071,24 @@ interface StepMethods {
|
|
|
4596
5071
|
* ```
|
|
4597
5072
|
*/
|
|
4598
5073
|
removeBackgroundFromImage(step: RemoveBackgroundFromImageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<RemoveBackgroundFromImageStepOutput>>;
|
|
5074
|
+
/**
|
|
5075
|
+
* Reply to an existing email in Gmail. The reply is threaded under the original message.
|
|
5076
|
+
*
|
|
5077
|
+
* @remarks
|
|
5078
|
+
* - Requires a Google OAuth connection with Gmail compose and readonly scopes.
|
|
5079
|
+
* - The reply is sent to the original sender and threaded under the original message.
|
|
5080
|
+
* - messageType controls the body format: "plain", "html", or "markdown".
|
|
5081
|
+
*
|
|
5082
|
+
* @example
|
|
5083
|
+
* ```typescript
|
|
5084
|
+
* const result = await agent.replyToGmailEmail({
|
|
5085
|
+
* messageId: ``,
|
|
5086
|
+
* message: ``,
|
|
5087
|
+
* messageType: "plain",
|
|
5088
|
+
* });
|
|
5089
|
+
* ```
|
|
5090
|
+
*/
|
|
5091
|
+
replyToGmailEmail(step: ReplyToGmailEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<ReplyToGmailEmailStepOutput>>;
|
|
4599
5092
|
/**
|
|
4600
5093
|
* Resize a video file
|
|
4601
5094
|
*
|
|
@@ -4814,6 +5307,38 @@ interface StepMethods {
|
|
|
4814
5307
|
* ```
|
|
4815
5308
|
*/
|
|
4816
5309
|
searchGoogle(step: SearchGoogleStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SearchGoogleStepOutput>>;
|
|
5310
|
+
/**
|
|
5311
|
+
* Search for events in a Google Calendar by keyword, date range, or both.
|
|
5312
|
+
*
|
|
5313
|
+
* @remarks
|
|
5314
|
+
* - Requires a Google OAuth connection with Calendar events scope.
|
|
5315
|
+
* - Supports keyword search via "query" and date filtering via "timeMin"/"timeMax" (ISO 8601 format).
|
|
5316
|
+
* - Unlike "List Events" which only shows future events, this allows searching past events too.
|
|
5317
|
+
*
|
|
5318
|
+
* @example
|
|
5319
|
+
* ```typescript
|
|
5320
|
+
* const result = await agent.searchGoogleCalendarEvents({
|
|
5321
|
+
* exportType: "json",
|
|
5322
|
+
* });
|
|
5323
|
+
* ```
|
|
5324
|
+
*/
|
|
5325
|
+
searchGoogleCalendarEvents(step: SearchGoogleCalendarEventsStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SearchGoogleCalendarEventsStepOutput>>;
|
|
5326
|
+
/**
|
|
5327
|
+
* Search for files in Google Drive by keyword.
|
|
5328
|
+
*
|
|
5329
|
+
* @remarks
|
|
5330
|
+
* - Requires a Google OAuth connection with Drive scope.
|
|
5331
|
+
* - Searches file content and names using Google Drive's fullText search.
|
|
5332
|
+
*
|
|
5333
|
+
* @example
|
|
5334
|
+
* ```typescript
|
|
5335
|
+
* const result = await agent.searchGoogleDrive({
|
|
5336
|
+
* query: ``,
|
|
5337
|
+
* exportType: "json",
|
|
5338
|
+
* });
|
|
5339
|
+
* ```
|
|
5340
|
+
*/
|
|
5341
|
+
searchGoogleDrive(step: SearchGoogleDriveStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SearchGoogleDriveStepOutput>>;
|
|
4817
5342
|
/**
|
|
4818
5343
|
* Search Google Images and return image results with URLs and metadata.
|
|
4819
5344
|
*
|
|
@@ -4974,22 +5499,23 @@ interface StepMethods {
|
|
|
4974
5499
|
* const result = await agent.sendEmail({
|
|
4975
5500
|
* subject: ``,
|
|
4976
5501
|
* body: ``,
|
|
4977
|
-
* connectionId: ``,
|
|
4978
5502
|
* });
|
|
4979
5503
|
* ```
|
|
4980
5504
|
*/
|
|
4981
5505
|
sendEmail(step: SendEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SendEmailStepOutput>>;
|
|
4982
5506
|
/**
|
|
4983
|
-
* Send an SMS
|
|
5507
|
+
* Send an SMS or MMS message to a phone number configured via OAuth connection.
|
|
4984
5508
|
*
|
|
4985
5509
|
* @remarks
|
|
4986
5510
|
* - User is responsible for configuring the connection to the number (MindStudio requires double opt-in to prevent spam)
|
|
5511
|
+
* - If mediaUrls are provided, the message is sent as MMS instead of SMS
|
|
5512
|
+
* - MMS supports up to 10 media URLs (images, video, audio, PDF) with a 5MB limit per file
|
|
5513
|
+
* - MMS is only supported on US and Canadian carriers; international numbers will receive SMS only (media silently dropped)
|
|
4987
5514
|
*
|
|
4988
5515
|
* @example
|
|
4989
5516
|
* ```typescript
|
|
4990
5517
|
* const result = await agent.sendSMS({
|
|
4991
5518
|
* body: ``,
|
|
4992
|
-
* connectionId: ``,
|
|
4993
5519
|
* });
|
|
4994
5520
|
* ```
|
|
4995
5521
|
*/
|
|
@@ -5017,11 +5543,48 @@ interface StepMethods {
|
|
|
5017
5543
|
* ```typescript
|
|
5018
5544
|
* const result = await agent.setVariable({
|
|
5019
5545
|
* value: ``,
|
|
5020
|
-
* type: "imageUrl",
|
|
5021
5546
|
* });
|
|
5022
5547
|
* ```
|
|
5023
5548
|
*/
|
|
5024
5549
|
setVariable(step: SetVariableStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<SetVariableStepOutput>>;
|
|
5550
|
+
/**
|
|
5551
|
+
* Edit a previously sent Telegram message. Use with the message ID returned by Send Telegram Message.
|
|
5552
|
+
*
|
|
5553
|
+
* @remarks
|
|
5554
|
+
* - Only text messages sent by the bot can be edited.
|
|
5555
|
+
* - The messageId is returned by the Send Telegram Message step.
|
|
5556
|
+
* - Common pattern: send a "Processing..." message, do work, then edit it with the result.
|
|
5557
|
+
*
|
|
5558
|
+
* @example
|
|
5559
|
+
* ```typescript
|
|
5560
|
+
* const result = await agent.telegramEditMessage({
|
|
5561
|
+
* botToken: ``,
|
|
5562
|
+
* chatId: ``,
|
|
5563
|
+
* messageId: ``,
|
|
5564
|
+
* text: ``,
|
|
5565
|
+
* });
|
|
5566
|
+
* ```
|
|
5567
|
+
*/
|
|
5568
|
+
telegramEditMessage(step: TelegramEditMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<TelegramEditMessageStepOutput>>;
|
|
5569
|
+
/**
|
|
5570
|
+
* Send a reply to a specific Telegram message. The reply will be visually threaded in the chat.
|
|
5571
|
+
*
|
|
5572
|
+
* @remarks
|
|
5573
|
+
* - Use the rawMessage.message_id from the incoming trigger variables to reply to the user's message.
|
|
5574
|
+
* - Especially useful in group chats where replies provide context.
|
|
5575
|
+
* - Returns the sent message ID, which can be used with Edit Telegram Message.
|
|
5576
|
+
*
|
|
5577
|
+
* @example
|
|
5578
|
+
* ```typescript
|
|
5579
|
+
* const result = await agent.telegramReplyToMessage({
|
|
5580
|
+
* botToken: ``,
|
|
5581
|
+
* chatId: ``,
|
|
5582
|
+
* replyToMessageId: ``,
|
|
5583
|
+
* text: ``,
|
|
5584
|
+
* });
|
|
5585
|
+
* ```
|
|
5586
|
+
*/
|
|
5587
|
+
telegramReplyToMessage(step: TelegramReplyToMessageStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<TelegramReplyToMessageStepOutput>>;
|
|
5025
5588
|
/**
|
|
5026
5589
|
* Send an audio file to a Telegram chat as music or a voice note via a bot.
|
|
5027
5590
|
*
|
|
@@ -5071,6 +5634,7 @@ interface StepMethods {
|
|
|
5071
5634
|
* @remarks
|
|
5072
5635
|
* - Messages are sent using MarkdownV2 formatting. Special characters are auto-escaped.
|
|
5073
5636
|
* - botToken format is "botId:token" — both parts are required.
|
|
5637
|
+
* - Returns the sent message ID, which can be used with Edit Telegram Message to update the message later.
|
|
5074
5638
|
*
|
|
5075
5639
|
* @example
|
|
5076
5640
|
* ```typescript
|
|
@@ -5162,7 +5726,6 @@ interface StepMethods {
|
|
|
5162
5726
|
* @example
|
|
5163
5727
|
* ```typescript
|
|
5164
5728
|
* const result = await agent.updateGoogleCalendarEvent({
|
|
5165
|
-
* connectionId: ``,
|
|
5166
5729
|
* eventId: ``,
|
|
5167
5730
|
* });
|
|
5168
5731
|
* ```
|
|
@@ -5179,7 +5742,6 @@ interface StepMethods {
|
|
|
5179
5742
|
* ```typescript
|
|
5180
5743
|
* const result = await agent.updateGoogleDoc({
|
|
5181
5744
|
* documentId: ``,
|
|
5182
|
-
* connectionId: ``,
|
|
5183
5745
|
* text: ``,
|
|
5184
5746
|
* textType: "plain",
|
|
5185
5747
|
* operationType: "addToTop",
|
|
@@ -5198,7 +5760,6 @@ interface StepMethods {
|
|
|
5198
5760
|
* ```typescript
|
|
5199
5761
|
* const result = await agent.updateGoogleSheet({
|
|
5200
5762
|
* text: ``,
|
|
5201
|
-
* connectionId: ``,
|
|
5202
5763
|
* spreadsheetId: ``,
|
|
5203
5764
|
* range: ``,
|
|
5204
5765
|
* operationType: "addToBottom",
|
|
@@ -5434,6 +5995,15 @@ interface MonacoSnippet {
|
|
|
5434
5995
|
declare const monacoSnippets: Record<string, MonacoSnippet>;
|
|
5435
5996
|
declare const blockTypeAliases: Record<string, string>;
|
|
5436
5997
|
|
|
5998
|
+
interface StepMetadata {
|
|
5999
|
+
stepType: string;
|
|
6000
|
+
description: string;
|
|
6001
|
+
usageNotes: string;
|
|
6002
|
+
inputSchema: Record<string, unknown>;
|
|
6003
|
+
outputSchema: Record<string, unknown> | null;
|
|
6004
|
+
}
|
|
6005
|
+
declare const stepMetadata: Record<string, StepMetadata>;
|
|
6006
|
+
|
|
5437
6007
|
/** MindStudioAgent with all generated step and helper methods. */
|
|
5438
6008
|
type MindStudioAgent = MindStudioAgent$1 & StepMethods & HelperMethods;
|
|
5439
6009
|
/** {@inheritDoc MindStudioAgent} */
|
|
@@ -5441,4 +6011,4 @@ declare const MindStudioAgent: {
|
|
|
5441
6011
|
new (options?: AgentOptions): MindStudioAgent;
|
|
5442
6012
|
};
|
|
5443
6013
|
|
|
5444
|
-
export { type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentOptions, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, type ExtractAudioFromVideoStepInput, type ExtractAudioFromVideoStepOutput, type ExtractTextStepInput, type ExtractTextStepOutput, type FetchDataSourceDocumentStepInput, type FetchDataSourceDocumentStepOutput, type FetchGoogleDocStepInput, type FetchGoogleDocStepOutput, type FetchGoogleSheetStepInput, type FetchGoogleSheetStepOutput, type FetchSlackChannelHistoryStepInput, type FetchSlackChannelHistoryStepOutput, type FetchYoutubeCaptionsStepInput, type FetchYoutubeCaptionsStepOutput, type FetchYoutubeChannelStepInput, type FetchYoutubeChannelStepOutput, type FetchYoutubeCommentsStepInput, type FetchYoutubeCommentsStepOutput, type FetchYoutubeVideoStepInput, type FetchYoutubeVideoStepOutput, type GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateChartStepInput, type GenerateChartStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HelperMethods, type HttpRequestStepInput, type HttpRequestStepOutput, type HubspotCreateCompanyStepInput, type HubspotCreateCompanyStepOutput, type HubspotCreateContactStepInput, type HubspotCreateContactStepOutput, type HubspotGetCompanyStepInput, type HubspotGetCompanyStepOutput, type HubspotGetContactStepInput, type HubspotGetContactStepOutput, type HunterApiCompanyEnrichmentStepInput, type HunterApiCompanyEnrichmentStepOutput, type HunterApiDomainSearchStepInput, type HunterApiDomainSearchStepOutput, type HunterApiEmailFinderStepInput, type HunterApiEmailFinderStepOutput, type HunterApiEmailVerificationStepInput, type HunterApiEmailVerificationStepOutput, type HunterApiPersonEnrichmentStepInput, type HunterApiPersonEnrichmentStepOutput, type ImageFaceSwapStepInput, type ImageFaceSwapStepOutput, type ImageRemoveWatermarkStepInput, type ImageRemoveWatermarkStepOutput, type InsertVideoClipsStepInput, type InsertVideoClipsStepOutput, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, type MixAudioIntoVideoStepInput, type MixAudioIntoVideoStepOutput, type ModelType, type MonacoSnippet, type MonacoSnippetField, type MonacoSnippetFieldType, type MuteVideoStepInput, type MuteVideoStepOutput, type N8nRunNodeStepInput, type N8nRunNodeStepOutput, type NotionCreatePageStepInput, type NotionCreatePageStepOutput, type NotionUpdatePageStepInput, type NotionUpdatePageStepOutput, type PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ResizeVideoStepInput, type ResizeVideoStepOutput, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type ScrapeFacebookPageStepInput, type ScrapeFacebookPageStepOutput, type ScrapeFacebookPostsStepInput, type ScrapeFacebookPostsStepOutput, type ScrapeInstagramCommentsStepInput, type ScrapeInstagramCommentsStepOutput, type ScrapeInstagramMentionsStepInput, type ScrapeInstagramMentionsStepOutput, type ScrapeInstagramPostsStepInput, type ScrapeInstagramPostsStepOutput, type ScrapeInstagramProfileStepInput, type ScrapeInstagramProfileStepOutput, type ScrapeInstagramReelsStepInput, type ScrapeInstagramReelsStepOutput, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeMetaThreadsProfileStepInput, type ScrapeMetaThreadsProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, type SearchGoogleImagesStepInput, type SearchGoogleImagesStepOutput, type SearchGoogleNewsStepInput, type SearchGoogleNewsStepOutput, type SearchGoogleStepInput, type SearchGoogleStepOutput, type SearchGoogleTrendsStepInput, type SearchGoogleTrendsStepOutput, type SearchPerplexityStepInput, type SearchPerplexityStepOutput, type SearchXPostsStepInput, type SearchXPostsStepOutput, type SearchYoutubeStepInput, type SearchYoutubeStepOutput, type SearchYoutubeTrendsStepInput, type SearchYoutubeTrendsStepOutput, type SendEmailStepInput, type SendEmailStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepMethods, type StepName, type StepOutputMap, type TelegramSendAudioStepInput, type TelegramSendAudioStepOutput, type TelegramSendFileStepInput, type TelegramSendFileStepOutput, type TelegramSendImageStepInput, type TelegramSendImageStepOutput, type TelegramSendMessageStepInput, type TelegramSendMessageStepOutput, type TelegramSendVideoStepInput, type TelegramSendVideoStepOutput, type TelegramSetTypingStepInput, type TelegramSetTypingStepOutput, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, blockTypeAliases, monacoSnippets };
|
|
6014
|
+
export { type ActiveCampaignAddNoteStepInput, type ActiveCampaignAddNoteStepOutput, type ActiveCampaignCreateContactStepInput, type ActiveCampaignCreateContactStepOutput, type AddSubtitlesToVideoStepInput, type AddSubtitlesToVideoStepOutput, type AgentInfo, type AgentOptions, type AirtableCreateUpdateRecordStepInput, type AirtableCreateUpdateRecordStepOutput, type AirtableDeleteRecordStepInput, type AirtableDeleteRecordStepOutput, type AirtableGetRecordStepInput, type AirtableGetRecordStepOutput, type AirtableGetTableRecordsStepInput, type AirtableGetTableRecordsStepOutput, type AnalyzeImageStepInput, type AnalyzeImageStepOutput, type AnalyzeVideoStepInput, type AnalyzeVideoStepOutput, type CaptureThumbnailStepInput, type CaptureThumbnailStepOutput, type CodaCreateUpdatePageStepInput, type CodaCreateUpdatePageStepOutput, type CodaCreateUpdateRowStepInput, type CodaCreateUpdateRowStepOutput, type CodaFindRowStepInput, type CodaFindRowStepOutput, type CodaGetPageStepInput, type CodaGetPageStepOutput, type CodaGetTableRowsStepInput, type CodaGetTableRowsStepOutput, type ConvertPdfToImagesStepInput, type ConvertPdfToImagesStepOutput, type CreateDataSourceStepInput, type CreateDataSourceStepOutput, type CreateGoogleCalendarEventStepInput, type CreateGoogleCalendarEventStepOutput, type CreateGoogleDocStepInput, type CreateGoogleDocStepOutput, type CreateGoogleSheetStepInput, type CreateGoogleSheetStepOutput, type DeleteDataSourceDocumentStepInput, type DeleteDataSourceDocumentStepOutput, type DeleteDataSourceStepInput, type DeleteDataSourceStepOutput, type DeleteGmailEmailStepInput, type DeleteGmailEmailStepOutput, type DeleteGoogleCalendarEventStepInput, type DeleteGoogleCalendarEventStepOutput, type DeleteGoogleSheetRowsStepInput, type DeleteGoogleSheetRowsStepOutput, type DetectPIIStepInput, type DetectPIIStepOutput, type DownloadVideoStepInput, type DownloadVideoStepOutput, type EnhanceImageGenerationPromptStepInput, type EnhanceImageGenerationPromptStepOutput, type EnhanceVideoGenerationPromptStepInput, type EnhanceVideoGenerationPromptStepOutput, type EnrichPersonStepInput, type EnrichPersonStepOutput, type ExtractAudioFromVideoStepInput, type ExtractAudioFromVideoStepOutput, type ExtractTextStepInput, type ExtractTextStepOutput, type FetchDataSourceDocumentStepInput, type FetchDataSourceDocumentStepOutput, type FetchGoogleDocStepInput, type FetchGoogleDocStepOutput, type FetchGoogleSheetStepInput, type FetchGoogleSheetStepOutput, type FetchSlackChannelHistoryStepInput, type FetchSlackChannelHistoryStepOutput, type FetchYoutubeCaptionsStepInput, type FetchYoutubeCaptionsStepOutput, type FetchYoutubeChannelStepInput, type FetchYoutubeChannelStepOutput, type FetchYoutubeCommentsStepInput, type FetchYoutubeCommentsStepOutput, type FetchYoutubeVideoStepInput, type FetchYoutubeVideoStepOutput, type GenerateAssetStepInput, type GenerateAssetStepOutput, type GenerateChartStepInput, type GenerateChartStepOutput, type GenerateImageStepInput, type GenerateImageStepOutput, type GenerateLipsyncStepInput, type GenerateLipsyncStepOutput, type GenerateMusicStepInput, type GenerateMusicStepOutput, type GeneratePdfStepInput, type GeneratePdfStepOutput, type GenerateStaticVideoFromImageStepInput, type GenerateStaticVideoFromImageStepOutput, type GenerateTextStepInput, type GenerateTextStepOutput, type GenerateVideoStepInput, type GenerateVideoStepOutput, type GetGmailDraftStepInput, type GetGmailDraftStepOutput, type GetGmailEmailStepInput, type GetGmailEmailStepOutput, type GetGoogleCalendarEventStepInput, type GetGoogleCalendarEventStepOutput, type GetGoogleDriveFileStepInput, type GetGoogleDriveFileStepOutput, type GetGoogleSheetInfoStepInput, type GetGoogleSheetInfoStepOutput, type GetMediaMetadataStepInput, type GetMediaMetadataStepOutput, type HelperMethods, type HttpRequestStepInput, type HttpRequestStepOutput, type HubspotCreateCompanyStepInput, type HubspotCreateCompanyStepOutput, type HubspotCreateContactStepInput, type HubspotCreateContactStepOutput, type HubspotGetCompanyStepInput, type HubspotGetCompanyStepOutput, type HubspotGetContactStepInput, type HubspotGetContactStepOutput, type HunterApiCompanyEnrichmentStepInput, type HunterApiCompanyEnrichmentStepOutput, type HunterApiDomainSearchStepInput, type HunterApiDomainSearchStepOutput, type HunterApiEmailFinderStepInput, type HunterApiEmailFinderStepOutput, type HunterApiEmailVerificationStepInput, type HunterApiEmailVerificationStepOutput, type HunterApiPersonEnrichmentStepInput, type HunterApiPersonEnrichmentStepOutput, type ImageFaceSwapStepInput, type ImageFaceSwapStepOutput, type ImageRemoveWatermarkStepInput, type ImageRemoveWatermarkStepOutput, type InsertVideoClipsStepInput, type InsertVideoClipsStepOutput, type ListAgentsResult, type ListDataSourcesStepInput, type ListDataSourcesStepOutput, type ListGmailDraftsStepInput, type ListGmailDraftsStepOutput, type ListGoogleCalendarEventsStepInput, type ListGoogleCalendarEventsStepOutput, type ListGoogleDriveFilesStepInput, type ListGoogleDriveFilesStepOutput, type LogicStepInput, type LogicStepOutput, type MakeDotComRunScenarioStepInput, type MakeDotComRunScenarioStepOutput, type MergeAudioStepInput, type MergeAudioStepOutput, type MergeVideosStepInput, type MergeVideosStepOutput, MindStudioAgent, MindStudioError, type MindStudioModel, type MixAudioIntoVideoStepInput, type MixAudioIntoVideoStepOutput, type ModelType, type MonacoSnippet, type MonacoSnippetField, type MonacoSnippetFieldType, type MuteVideoStepInput, type MuteVideoStepOutput, type N8nRunNodeStepInput, type N8nRunNodeStepOutput, type NotionCreatePageStepInput, type NotionCreatePageStepOutput, type NotionUpdatePageStepInput, type NotionUpdatePageStepOutput, type PeopleSearchStepInput, type PeopleSearchStepOutput, type PostToLinkedInStepInput, type PostToLinkedInStepOutput, type PostToSlackChannelStepInput, type PostToSlackChannelStepOutput, type PostToXStepInput, type PostToXStepOutput, type PostToZapierStepInput, type PostToZapierStepOutput, type QueryDataSourceStepInput, type QueryDataSourceStepOutput, type QueryExternalDatabaseStepInput, type QueryExternalDatabaseStepOutput, type RedactPIIStepInput, type RedactPIIStepOutput, type RemoveBackgroundFromImageStepInput, type RemoveBackgroundFromImageStepOutput, type ReplyToGmailEmailStepInput, type ReplyToGmailEmailStepOutput, type ResizeVideoStepInput, type ResizeVideoStepOutput, type RunAgentOptions, type RunAgentResult, type RunPackagedWorkflowStepInput, type RunPackagedWorkflowStepOutput, type ScrapeFacebookPageStepInput, type ScrapeFacebookPageStepOutput, type ScrapeFacebookPostsStepInput, type ScrapeFacebookPostsStepOutput, type ScrapeInstagramCommentsStepInput, type ScrapeInstagramCommentsStepOutput, type ScrapeInstagramMentionsStepInput, type ScrapeInstagramMentionsStepOutput, type ScrapeInstagramPostsStepInput, type ScrapeInstagramPostsStepOutput, type ScrapeInstagramProfileStepInput, type ScrapeInstagramProfileStepOutput, type ScrapeInstagramReelsStepInput, type ScrapeInstagramReelsStepOutput, type ScrapeLinkedInCompanyStepInput, type ScrapeLinkedInCompanyStepOutput, type ScrapeLinkedInProfileStepInput, type ScrapeLinkedInProfileStepOutput, type ScrapeMetaThreadsProfileStepInput, type ScrapeMetaThreadsProfileStepOutput, type ScrapeUrlStepInput, type ScrapeUrlStepOutput, type ScrapeXPostStepInput, type ScrapeXPostStepOutput, type ScrapeXProfileStepInput, type ScrapeXProfileStepOutput, type SearchGoogleCalendarEventsStepInput, type SearchGoogleCalendarEventsStepOutput, type SearchGoogleDriveStepInput, type SearchGoogleDriveStepOutput, type SearchGoogleImagesStepInput, type SearchGoogleImagesStepOutput, type SearchGoogleNewsStepInput, type SearchGoogleNewsStepOutput, type SearchGoogleStepInput, type SearchGoogleStepOutput, type SearchGoogleTrendsStepInput, type SearchGoogleTrendsStepOutput, type SearchPerplexityStepInput, type SearchPerplexityStepOutput, type SearchXPostsStepInput, type SearchXPostsStepOutput, type SearchYoutubeStepInput, type SearchYoutubeStepOutput, type SearchYoutubeTrendsStepInput, type SearchYoutubeTrendsStepOutput, type SendEmailStepInput, type SendEmailStepOutput, type SendSMSStepInput, type SendSMSStepOutput, type SetRunTitleStepInput, type SetRunTitleStepOutput, type SetVariableStepInput, type SetVariableStepOutput, type StepExecutionMeta, type StepExecutionOptions, type StepExecutionResult, type StepInputMap, type StepMetadata, type StepMethods, type StepName, type StepOutputMap, type TelegramEditMessageStepInput, type TelegramEditMessageStepOutput, type TelegramReplyToMessageStepInput, type TelegramReplyToMessageStepOutput, type TelegramSendAudioStepInput, type TelegramSendAudioStepOutput, type TelegramSendFileStepInput, type TelegramSendFileStepOutput, type TelegramSendImageStepInput, type TelegramSendImageStepOutput, type TelegramSendMessageStepInput, type TelegramSendMessageStepOutput, type TelegramSendVideoStepInput, type TelegramSendVideoStepOutput, type TelegramSetTypingStepInput, type TelegramSetTypingStepOutput, type TextToSpeechStepInput, type TextToSpeechStepOutput, type TranscribeAudioStepInput, type TranscribeAudioStepOutput, type TrimMediaStepInput, type TrimMediaStepOutput, type UpdateGoogleCalendarEventStepInput, type UpdateGoogleCalendarEventStepOutput, type UpdateGoogleDocStepInput, type UpdateGoogleDocStepOutput, type UpdateGoogleSheetStepInput, type UpdateGoogleSheetStepOutput, type UploadDataSourceDocumentStepInput, type UploadDataSourceDocumentStepOutput, type UpscaleImageStepInput, type UpscaleImageStepOutput, type UpscaleVideoStepInput, type UpscaleVideoStepOutput, type UserMessageStepInput, type UserMessageStepOutput, type VideoFaceSwapStepInput, type VideoFaceSwapStepOutput, type VideoRemoveBackgroundStepInput, type VideoRemoveBackgroundStepOutput, type VideoRemoveWatermarkStepInput, type VideoRemoveWatermarkStepOutput, type WatermarkImageStepInput, type WatermarkImageStepOutput, type WatermarkVideoStepInput, type WatermarkVideoStepOutput, blockTypeAliases, monacoSnippets, stepMetadata };
|