n8n-nodes-sendit 1.2.0 → 1.3.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 +52 -26
- package/dist/nodes/SendIt/SendIt.node.d.ts +14 -1
- package/dist/nodes/SendIt/SendIt.node.js +676 -141
- package/dist/nodes/SendIt/SendItTrigger.node.js +2 -1
- package/dist/nodes/SendIt/handlers/advanced.js +5 -3
- package/dist/nodes/SendIt/handlers/connect.js +5 -3
- package/dist/nodes/SendIt/handlers/conversions.js +1 -1
- package/dist/nodes/SendIt/handlers/webhooks.js +4 -1
- package/dist/nodes/SendIt/helpers.d.ts +1 -1
- package/dist/nodes/SendIt/helpers.js +28 -8
- package/dist/nodes/SendIt/sendit.svg +36 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,32 @@ Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes
|
|
|
23
23
|
npm install n8n-nodes-sendit
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
## Quick Start
|
|
27
|
+
|
|
28
|
+
### 1. Get your API key
|
|
29
|
+
|
|
30
|
+
Sign in to [SendIt](https://sendit.infiniteappsai.com), go to **Dashboard > API Keys > Create New Key**, and copy the key (format: `sk_live_...`).
|
|
31
|
+
|
|
32
|
+
### 2. Add credentials in n8n
|
|
33
|
+
|
|
34
|
+
Go to **Credentials > Add Credential**, search for **SendIt API**, paste your key, and save. n8n tests the connection automatically.
|
|
35
|
+
|
|
36
|
+
### 3. Publish your first post
|
|
37
|
+
|
|
38
|
+
Add a **SendIt** node to a workflow, select **Post > Publish**, pick your target platforms, enter text, and execute. That's it.
|
|
39
|
+
|
|
40
|
+
### 4. Set up a trigger
|
|
41
|
+
|
|
42
|
+
Add a **SendIt Trigger** node as the first node in a new workflow. Select events to listen for (e.g., Post Published, Post Failed). Activate the workflow and n8n registers a webhook with SendIt automatically.
|
|
43
|
+
|
|
44
|
+
### 5. Example: AI social publishing pipeline
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
[Google Sheets] → [SendIt: AI > Generate Content] → [SendIt: Post > Publish] → [SendIt Trigger: post.published]
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Read content ideas from a spreadsheet, generate AI copy, publish to multiple platforms, and get notified on success.
|
|
51
|
+
|
|
26
52
|
## Node Coverage (v1.2.0)
|
|
27
53
|
|
|
28
54
|
### Trigger
|
|
@@ -40,31 +66,31 @@ npm install n8n-nodes-sendit
|
|
|
40
66
|
|
|
41
67
|
### Actions
|
|
42
68
|
|
|
43
|
-
| Resource
|
|
44
|
-
|
|
45
|
-
| `post`
|
|
46
|
-
| `ai`
|
|
47
|
-
| `media`
|
|
48
|
-
| `scheduledPost` | `create`, `getAll`, `delete`, `trigger`
|
|
49
|
-
| `account`
|
|
50
|
-
| `validation`
|
|
51
|
-
| `analytics`
|
|
52
|
-
| `brandVoice`
|
|
53
|
-
| `campaign`
|
|
54
|
-
| `inbox`
|
|
55
|
-
| `listening`
|
|
56
|
-
| `aiMedia`
|
|
57
|
-
| `meta`
|
|
58
|
-
| `contentScore`
|
|
59
|
-
| `library`
|
|
60
|
-
| `approvals`
|
|
61
|
-
| `bulkSchedule`
|
|
62
|
-
| `connect`
|
|
63
|
-
| `webhooks`
|
|
64
|
-
| `deadLetter`
|
|
65
|
-
| `auditLog`
|
|
66
|
-
| `conversions`
|
|
67
|
-
| `advanced`
|
|
69
|
+
| Resource | Operation(s) |
|
|
70
|
+
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
71
|
+
| `post` | `publish`, `publishAi` |
|
|
72
|
+
| `ai` | `generate`, `replySuggestions`, `mentionSummary`, `feedback` |
|
|
73
|
+
| `media` | `upload` |
|
|
74
|
+
| `scheduledPost` | `create`, `getAll`, `delete`, `trigger` |
|
|
75
|
+
| `account` | `getAll` |
|
|
76
|
+
| `validation` | `validate` |
|
|
77
|
+
| `analytics` | `getAnalytics` |
|
|
78
|
+
| `brandVoice` | `create`, `list`, `get`, `update`, `delete` |
|
|
79
|
+
| `campaign` | `plan`, `list`, `schedule` |
|
|
80
|
+
| `inbox` | `list`, `reply`, `getThread`, `updateStatus` |
|
|
81
|
+
| `listening` | `refresh`, `listKeywords`, `createKeyword`, `getKeyword`, `updateKeyword`, `deleteKeyword`, `listMentions`, `getMention`, `markMentionsRead`, `archiveMentions`, `listAlerts`, `markAlertsRead`, `dismissAlerts`, `getSummary` |
|
|
82
|
+
| `aiMedia` | `create`, `getStatus` |
|
|
83
|
+
| `meta` | `getCapabilities`, `getRequirements`, `getPlatformSettingsSchema`, `getBestTimes`, `getWebhookEventsCatalog`, `getWebhookTriggers` |
|
|
84
|
+
| `contentScore` | `score` |
|
|
85
|
+
| `library` | `list`, `create`, `get`, `update`, `delete`, `listCategories`, `listTags` |
|
|
86
|
+
| `approvals` | `list`, `approve`, `reject` |
|
|
87
|
+
| `bulkSchedule` | `listImports`, `getImport`, `validateCsv`, `importCsv`, `downloadTemplate` |
|
|
88
|
+
| `connect` | `getConnectAction`, `connectToken`, `connectWebhook` |
|
|
89
|
+
| `webhooks` | `list`, `get`, `update`, `testWebhook` |
|
|
90
|
+
| `deadLetter` | `list`, `requeue`, `discard` |
|
|
91
|
+
| `auditLog` | `list` |
|
|
92
|
+
| `conversions` | `track` |
|
|
93
|
+
| `advanced` | `apiRequest` |
|
|
68
94
|
|
|
69
95
|
### Global Optional Headers
|
|
70
96
|
|
|
@@ -84,7 +110,7 @@ The node ships with the full SendIt platform catalog option list and should be t
|
|
|
84
110
|
`Credentials JSON` example:
|
|
85
111
|
|
|
86
112
|
```json
|
|
87
|
-
{"apiKey":"your-platform-key","apiSecret":"your-platform-secret"}
|
|
113
|
+
{ "apiKey": "your-platform-key", "apiSecret": "your-platform-secret" }
|
|
88
114
|
```
|
|
89
115
|
|
|
90
116
|
### Create library item (`library.create`)
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
1
|
+
import { IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
2
|
export declare class SendIt implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
|
+
methods: {
|
|
5
|
+
loadOptions: {
|
|
6
|
+
getBrandVoices(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
7
|
+
getCampaigns(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
8
|
+
getScheduledPosts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
9
|
+
getWebhooks(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
10
|
+
getLibraryItems(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
11
|
+
getListeningKeywords(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
12
|
+
getConnectedPlatforms(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
13
|
+
getDeadLetterPosts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
14
|
+
getInboxThreads(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
4
17
|
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
5
18
|
}
|