@pipedream/spreadsheet_com 0.1.0 → 0.2.0
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
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Overview
|
|
2
|
+
|
|
3
|
+
The Spreadsheet.com API provides programmatic access to manage sheets, rows, and other data within Spreadsheet.com. Integrating this API into Pipedream allows you to automate tasks like updating rows based on external triggers, syncing data between multiple platforms, or even processing data using custom logic. With Pipedream, you can craft workflows that react in real-time to events, schedule data manipulation tasks, and connect to countless other services via their APIs.
|
|
4
|
+
|
|
5
|
+
# Example Use Cases
|
|
6
|
+
|
|
7
|
+
- **Sync Spreadsheet.com with Google Calendar**: When a new event is scheduled in Google Calendar, a Pipedream workflow can trigger to create or update a corresponding row in a Spreadsheet.com sheet, keeping a detailed log of your events and their details for easy tracking and analysis.
|
|
8
|
+
|
|
9
|
+
- **Manage Customer Support Tickets**: When a new support ticket is submitted through a platform like Zendesk, trigger a Pipedream workflow to add the ticket details to Spreadsheet.com. Further automation can notify support staff via Slack or email and update the ticket status in Spreadsheet.com based on follow-up actions.
|
|
10
|
+
|
|
11
|
+
- **Process E-commerce Orders**: Connect Spreadsheet.com to an e-commerce platform like Shopify. Each time an order is placed, a Pipedream workflow fires, adding order details to a sheet. It can also perform inventory checks, update stock levels, and send a restock request to your supplier if inventory runs low.
|
|
@@ -4,7 +4,12 @@ import spreadsheetCom from "../../spreadsheet_com.app.mjs";
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "spreadsheet_com-create-rows",
|
|
6
6
|
name: "Create Rows",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.2",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
description: "Adds new row(s) after last row that has data. Empty data sets are ignored. Provide data for at least 1 column. [See the documentation](https://developer.spreadsheet.com/#tag/Rows/operation/createRows)",
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import spreadsheet_com from "../../spreadsheet_com.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "spreadsheet_com-list-workbook-id-options",
|
|
5
|
+
name: "List Workbook Id Options",
|
|
6
|
+
description: "Retrieves available options for the Workbook Id field.",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
type: "action",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
spreadsheet_com,
|
|
16
|
+
page: {
|
|
17
|
+
type: "integer",
|
|
18
|
+
label: "Page",
|
|
19
|
+
description: "The page of results to retrieve.",
|
|
20
|
+
min: 0,
|
|
21
|
+
default: 0,
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
async run({ $ }) {
|
|
25
|
+
const options = await spreadsheet_com.propDefinitions.workbookId.options
|
|
26
|
+
.call(this.spreadsheet_com, {
|
|
27
|
+
page: this.page,
|
|
28
|
+
});
|
|
29
|
+
$.export("$summary", `Successfully retrieved ${options.length} option${options.length === 1
|
|
30
|
+
? ""
|
|
31
|
+
: "s"}`);
|
|
32
|
+
return options;
|
|
33
|
+
},
|
|
34
|
+
};
|
|
@@ -4,7 +4,12 @@ import spreadsheetCom from "../../spreadsheet_com.app.mjs";
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "spreadsheet_com-update-rows",
|
|
6
6
|
name: "Update Rows",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.2",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
description: "Update existing row(s). [See the documentation](https://developer.spreadsheet.com/#tag/Rows/operation/updateRows)",
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pipedream/spreadsheet_com",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Pipedream Spreadsheet.com Components",
|
|
5
5
|
"main": "spreadsheet_com.app.mjs",
|
|
6
6
|
"keywords": [
|
|
@@ -14,6 +14,6 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"moment": "^2.29.4",
|
|
17
|
-
"@pipedream/platform": "^1.
|
|
17
|
+
"@pipedream/platform": "^1.6.8"
|
|
18
18
|
}
|
|
19
19
|
}
|