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 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 | Operation(s) |
44
- |----------|---------------|
45
- | `post` | `publish`, `publishAi` |
46
- | `ai` | `generate`, `replySuggestions`, `mentionSummary`, `feedback` |
47
- | `media` | `upload` |
48
- | `scheduledPost` | `create`, `getAll`, `delete`, `trigger` |
49
- | `account` | `getAll` |
50
- | `validation` | `validate` |
51
- | `analytics` | `getAnalytics` |
52
- | `brandVoice` | `create`, `list`, `get`, `update`, `delete` |
53
- | `campaign` | `plan`, `list`, `schedule` |
54
- | `inbox` | `list`, `reply`, `getThread`, `updateStatus` |
55
- | `listening` | `refresh`, `listKeywords`, `createKeyword`, `getKeyword`, `updateKeyword`, `deleteKeyword`, `listMentions`, `getMention`, `markMentionsRead`, `archiveMentions`, `listAlerts`, `markAlertsRead`, `dismissAlerts`, `getSummary` |
56
- | `aiMedia` | `create`, `getStatus` |
57
- | `meta` | `getCapabilities`, `getRequirements`, `getPlatformSettingsSchema`, `getBestTimes`, `getWebhookEventsCatalog`, `getWebhookTriggers` |
58
- | `contentScore` | `score` |
59
- | `library` | `list`, `create`, `get`, `update`, `delete`, `listCategories`, `listTags` |
60
- | `approvals` | `list`, `approve`, `reject` |
61
- | `bulkSchedule` | `listImports`, `getImport`, `validateCsv`, `importCsv`, `downloadTemplate` |
62
- | `connect` | `getConnectAction`, `connectToken`, `connectWebhook` |
63
- | `webhooks` | `list`, `get`, `update`, `testWebhook` |
64
- | `deadLetter` | `list`, `requeue`, `discard` |
65
- | `auditLog` | `list` |
66
- | `conversions` | `track` |
67
- | `advanced` | `apiRequest` |
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
  }