Skip to content

Commit 9a57601

Browse files
committed
add email bison trigger, cleanup sharepoint block
1 parent b3f6a09 commit 9a57601

61 files changed

Lines changed: 3423 additions & 344 deletions

Some content is hidden

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

apps/docs/components/ui/icon-mapping.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
382382
ses: SESIcon,
383383
sftp: SftpIcon,
384384
sharepoint: MicrosoftSharepointIcon,
385+
sharepoint_v2: MicrosoftSharepointIcon,
385386
shopify: ShopifyIcon,
386387
similarweb: SimilarwebIcon,
387388
sixtyfour: SixtyfourIcon,

apps/docs/content/docs/en/tools/emailbison.mdx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ Retrieves leads from Email Bison with optional search and tag filters.
2626

2727
| Parameter | Type | Required | Description |
2828
| --------- | ---- | -------- | ----------- |
29-
| `apiKey` | string | Yes | Email Bison API token |
3029
| `search` | string | No | Search term for filtering leads |
3130
| `campaignStatus` | string | No | Lead campaign status filter: in_sequence, sequence_finished, sequence_stopped, never_contacted, or replied |
3231
| `tagIds` | array | No | Tag IDs to include |
@@ -62,7 +61,6 @@ Retrieves a lead by Email Bison lead ID or email address.
6261

6362
| Parameter | Type | Required | Description |
6463
| --------- | ---- | -------- | ----------- |
65-
| `apiKey` | string | Yes | Email Bison API token |
6664
| `leadId` | string | Yes | Lead ID or email address |
6765

6866
#### Output
@@ -92,7 +90,6 @@ Creates a single lead in Email Bison.
9290

9391
| Parameter | Type | Required | Description |
9492
| --------- | ---- | -------- | ----------- |
95-
| `apiKey` | string | Yes | Email Bison API token |
9693
| `firstName` | string | Yes | Lead first name |
9794
| `lastName` | string | Yes | Lead last name |
9895
| `email` | string | Yes | Lead email address |
@@ -132,7 +129,6 @@ Updates an existing Email Bison lead. Fields omitted from a PUT update may be cl
132129

133130
| Parameter | Type | Required | Description |
134131
| --------- | ---- | -------- | ----------- |
135-
| `apiKey` | string | Yes | Email Bison API token |
136132
| `leadId` | string | Yes | Lead ID or email address |
137133
| `firstName` | string | Yes | Lead first name |
138134
| `lastName` | string | Yes | Lead last name |
@@ -173,7 +169,6 @@ Retrieves Email Bison campaigns.
173169

174170
| Parameter | Type | Required | Description |
175171
| --------- | ---- | -------- | ----------- |
176-
| `apiKey` | string | Yes | Email Bison API token |
177172

178173
#### Output
179174

@@ -202,7 +197,6 @@ Creates a new Email Bison campaign.
202197

203198
| Parameter | Type | Required | Description |
204199
| --------- | ---- | -------- | ----------- |
205-
| `apiKey` | string | Yes | Email Bison API token |
206200
| `name` | string | Yes | Campaign name |
207201
| `campaignType` | string | No | Campaign type: outbound or reply_followup |
208202

@@ -233,7 +227,6 @@ Updates Email Bison campaign settings.
233227

234228
| Parameter | Type | Required | Description |
235229
| --------- | ---- | -------- | ----------- |
236-
| `apiKey` | string | Yes | Email Bison API token |
237230
| `campaignId` | number | Yes | Campaign ID |
238231
| `name` | string | No | Campaign name |
239232
| `maxEmailsPerDay` | number | No | Maximum emails per day |
@@ -272,7 +265,6 @@ Pauses, resumes, or archives an Email Bison campaign.
272265

273266
| Parameter | Type | Required | Description |
274267
| --------- | ---- | -------- | ----------- |
275-
| `apiKey` | string | Yes | Email Bison API token |
276268
| `campaignId` | number | Yes | Campaign ID |
277269
| `action` | string | Yes | Status action: pause, resume, or archive |
278270

@@ -303,7 +295,6 @@ Adds existing Email Bison leads to a campaign.
303295

304296
| Parameter | Type | Required | Description |
305297
| --------- | ---- | -------- | ----------- |
306-
| `apiKey` | string | Yes | Email Bison API token |
307298
| `campaignId` | number | Yes | Campaign ID |
308299
| `leadIds` | array | Yes | Lead IDs to add to the campaign |
309300
| `items` | number | No | No description |
@@ -336,7 +327,6 @@ Retrieves Email Bison replies with optional status, folder, campaign, sender, le
336327

337328
| Parameter | Type | Required | Description |
338329
| --------- | ---- | -------- | ----------- |
339-
| `apiKey` | string | Yes | Email Bison API token |
340330
| `search` | string | No | Search term for replies |
341331
| `status` | string | No | Reply status: interested, automated_reply, or not_automated_reply |
342332
| `folder` | string | No | Reply folder: inbox, sent, spam, bounced, or all |
@@ -374,7 +364,6 @@ Retrieves all Email Bison tags for the authenticated workspace.
374364

375365
| Parameter | Type | Required | Description |
376366
| --------- | ---- | -------- | ----------- |
377-
| `apiKey` | string | Yes | Email Bison API token |
378367

379368
#### Output
380369

@@ -403,7 +392,6 @@ Creates a new Email Bison tag.
403392

404393
| Parameter | Type | Required | Description |
405394
| --------- | ---- | -------- | ----------- |
406-
| `apiKey` | string | Yes | Email Bison API token |
407395
| `name` | string | Yes | Tag name |
408396

409397
#### Output
@@ -433,7 +421,6 @@ Attaches Email Bison tags to one or more leads.
433421

434422
| Parameter | Type | Required | Description |
435423
| --------- | ---- | -------- | ----------- |
436-
| `apiKey` | string | Yes | Email Bison API token |
437424
| `tagIds` | array | Yes | Tag IDs to attach |
438425
| `items` | number | No | No description |
439426
| `leadIds` | array | Yes | Lead IDs to tag |

apps/docs/content/docs/en/tools/sharepoint.mdx

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Sharepoint
2+
title: SharePoint
33
description: Work with pages and lists
44
---
55

66
import { BlockInfoCard } from "@/components/ui/block-info-card"
77

88
<BlockInfoCard
9-
type="sharepoint"
9+
type="sharepoint_v2"
1010
color="#E0E0E0"
1111
/>
1212

@@ -73,6 +73,7 @@ Read a specific page from a SharePoint site
7373
| `pageId` | string | No | The ID of the page to read. Example: a GUID like 12345678-1234-1234-1234-123456789012 |
7474
| `pageName` | string | No | The name of the page to read \(alternative to pageId\). Example: Home.aspx or About-Us.aspx |
7575
| `maxPages` | number | No | Maximum number of pages to return when listing all pages \(default: 10, max: 50\) |
76+
| `nextPageUrl` | string | No | Full @odata.nextLink URL from a previous Microsoft Graph page response |
7677

7778
#### Output
7879

@@ -84,6 +85,7 @@ Read a specific page from a SharePoint site
8485
|`title` | string | The title of the page |
8586
|`webUrl` | string | The URL to access the page |
8687
|`pageLayout` | string | The layout type of the page |
88+
|`description` | string | The description of the page |
8789
|`createdDateTime` | string | When the page was created |
8890
|`lastModifiedDateTime` | string | When the page was last modified |
8991
| `pages` | array | List of SharePoint pages |
@@ -93,6 +95,7 @@ Read a specific page from a SharePoint site
9395
|`title` | string | The title of the page |
9496
|`webUrl` | string | The URL to access the page |
9597
|`pageLayout` | string | The layout type of the page |
98+
|`description` | string | The description of the page |
9699
|`createdDateTime` | string | When the page was created |
97100
|`lastModifiedDateTime` | string | When the page was last modified |
98101
|`content` | object | content output from the tool |
@@ -102,6 +105,7 @@ Read a specific page from a SharePoint site
102105
|`content` | string | Extracted text content from the page |
103106
|`canvasLayout` | object | Raw SharePoint canvas layout structure |
104107
| `totalPages` | number | Total number of pages found |
108+
| `nextPageUrl` | string | Full Microsoft Graph @odata.nextLink URL for the next page of results |
105109

106110
### `sharepoint_list_sites`
107111

@@ -112,7 +116,9 @@ List details of all SharePoint sites
112116
| Parameter | Type | Required | Description |
113117
| --------- | ---- | -------- | ----------- |
114118
| `siteSelector` | string | No | Select the SharePoint site |
119+
| `siteId` | string | No | The ID of the SharePoint site \(internal use\) |
115120
| `groupId` | string | No | The group ID for accessing a group team site. Example: a GUID like 12345678-1234-1234-1234-123456789012 |
121+
| `nextPageUrl` | string | No | Full @odata.nextLink URL from a previous Microsoft Graph page response |
116122

117123
#### Output
118124

@@ -139,6 +145,7 @@ List details of all SharePoint sites
139145
|`description` | string | The description of the site |
140146
|`createdDateTime` | string | When the site was created |
141147
|`lastModifiedDateTime` | string | When the site was last modified |
148+
| `nextPageUrl` | string | Full Microsoft Graph @odata.nextLink URL for the next page of results |
142149

143150
### `sharepoint_create_list`
144151

@@ -153,7 +160,7 @@ Create a new list in a SharePoint site
153160
| `listDisplayName` | string | Yes | Display name of the list to create. Example: Project Tasks or Customer Contacts |
154161
| `listDescription` | string | No | Description of the list |
155162
| `listTemplate` | string | No | List template name \(e.g., 'genericList'\) |
156-
| `pageContent` | string | No | Optional JSON of columns. Either a top-level array of column definitions or an object with \{ columns: \[...\] \}. |
163+
| `pageContent` | json | No | Optional JSON of columns. Either a top-level array of column definitions or an object with \{ columns: \[...\] \}. |
157164

158165
#### Output
159166

@@ -179,6 +186,9 @@ Get metadata (and optionally columns/items) for a SharePoint list
179186
| `siteSelector` | string | No | Select the SharePoint site |
180187
| `siteId` | string | No | The ID of the SharePoint site \(internal use\) |
181188
| `listId` | string | No | The ID of the list to retrieve. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
189+
| `includeColumns` | boolean | No | Whether to include column definitions when retrieving a specific list |
190+
| `includeItems` | boolean | No | Whether to include list items when retrieving a specific list |
191+
| `nextPageUrl` | string | No | Full @odata.nextLink URL from a previous Microsoft Graph page response |
182192

183193
#### Output
184194

@@ -194,6 +204,10 @@ Get metadata (and optionally columns/items) for a SharePoint list
194204
|`list` | object | List properties \(e.g., template\) |
195205
|`columns` | array | List column definitions |
196206
| `lists` | array | All lists in the site when no listId/title provided |
207+
| `items` | array | List items with expanded fields when reading list items |
208+
|`id` | string | Item ID |
209+
|`fields` | object | Field values for the item |
210+
| `nextPageUrl` | string | Full Microsoft Graph @odata.nextLink URL for the next page of results |
197211

198212
### `sharepoint_update_list`
199213

@@ -205,9 +219,9 @@ Update the properties (fields) on a SharePoint list item
205219
| --------- | ---- | -------- | ----------- |
206220
| `siteSelector` | string | No | Select the SharePoint site |
207221
| `siteId` | string | No | The ID of the SharePoint site \(internal use\) |
208-
| `listId` | string | No | The ID of the list containing the item. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
222+
| `listId` | string | Yes | The ID of the list containing the item. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
209223
| `itemId` | string | Yes | The ID of the list item to update. Example: 1, 42, or 123 |
210-
| `listItemFields` | object | Yes | Field values to update on the list item |
224+
| `listItemFields` | json | Yes | Field values to update on the list item |
211225

212226
#### Output
213227

@@ -228,7 +242,7 @@ Add a new item to a SharePoint list
228242
| `siteSelector` | string | No | Select the SharePoint site |
229243
| `siteId` | string | No | The ID of the SharePoint site \(internal use\) |
230244
| `listId` | string | Yes | The ID of the list to add the item to. Example: b!abc123def456 or a GUID like 12345678-1234-1234-1234-123456789012 |
231-
| `listItemFields` | object | Yes | Field values for the new list item |
245+
| `listItemFields` | json | Yes | Field values for the new list item |
232246

233247
#### Output
234248

@@ -250,7 +264,7 @@ Upload files to a SharePoint document library
250264
| `driveId` | string | No | The ID of the document library \(drive\). If not provided, uses default drive. Example: b!abc123def456 |
251265
| `folderPath` | string | No | Optional folder path within the document library. Example: /Documents/Subfolder or /Shared Documents/Reports |
252266
| `fileName` | string | No | Optional: override the uploaded file name. Example: report-2024.pdf |
253-
| `files` | file[] | No | Files to upload to SharePoint |
267+
| `files` | file[] | Yes | Files to upload to SharePoint |
254268

255269
#### Output
256270

0 commit comments

Comments
 (0)