n8n-nodes-base 1.72.1 → 1.73.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.
Files changed (211) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/credentials/ElasticsearchApi.credentials.js +1 -1
  3. package/dist/credentials/ElasticsearchApi.credentials.js.map +1 -1
  4. package/dist/credentials/LinearOAuth2Api.credentials.js +8 -2
  5. package/dist/credentials/LinearOAuth2Api.credentials.js.map +1 -1
  6. package/dist/credentials/MailerLiteApi.credentials.d.ts +3 -1
  7. package/dist/credentials/MailerLiteApi.credentials.js +26 -0
  8. package/dist/credentials/MailerLiteApi.credentials.js.map +1 -1
  9. package/dist/credentials/OpenAiApi.credentials.js +9 -2
  10. package/dist/credentials/OpenAiApi.credentials.js.map +1 -1
  11. package/dist/credentials/Redis.credentials.js +7 -0
  12. package/dist/credentials/Redis.credentials.js.map +1 -1
  13. package/dist/credentials/SolarWindsIpamApi.credentials.d.ts +18 -0
  14. package/dist/credentials/SolarWindsIpamApi.credentials.js +78 -0
  15. package/dist/credentials/SolarWindsIpamApi.credentials.js.map +1 -0
  16. package/dist/credentials/SolarWindsObservabilityApi.credentials.d.ts +18 -0
  17. package/dist/credentials/SolarWindsObservabilityApi.credentials.js +64 -0
  18. package/dist/credentials/SolarWindsObservabilityApi.credentials.js.map +1 -0
  19. package/dist/credentials/icons/SolarWindsIpam.svg +71 -0
  20. package/dist/credentials/icons/SolarWindsObservability.svg +240 -0
  21. package/dist/known/credentials.json +8 -0
  22. package/dist/methods/defined.json +2 -1
  23. package/dist/methods/referenced.json +1 -0
  24. package/dist/nodes/Affinity/GenericFunctions.js.map +1 -1
  25. package/dist/nodes/Automizy/GenericFunctions.js.map +1 -1
  26. package/dist/nodes/BambooHr/v1/transport/index.js.map +1 -1
  27. package/dist/nodes/Box/GenericFunctions.js.map +1 -1
  28. package/dist/nodes/Cisco/Webex/GenericFunctions.js.map +1 -1
  29. package/dist/nodes/ClickUp/GenericFunctions.js.map +1 -1
  30. package/dist/nodes/Coda/GenericFunctions.js.map +1 -1
  31. package/dist/nodes/CoinGecko/GenericFunctions.js.map +1 -1
  32. package/dist/nodes/Elastic/Elasticsearch/Elasticsearch.node.js +2 -2
  33. package/dist/nodes/Elastic/Elasticsearch/Elasticsearch.node.js.map +1 -1
  34. package/dist/nodes/Elastic/Elasticsearch/GenericFunctions.js +2 -2
  35. package/dist/nodes/Elastic/Elasticsearch/GenericFunctions.js.map +1 -1
  36. package/dist/nodes/ExecutionData/test/ExecutionData.workflow.json +112 -0
  37. package/dist/nodes/Facebook/FacebookGraphApi.node.js +4 -0
  38. package/dist/nodes/Facebook/FacebookGraphApi.node.js.map +1 -1
  39. package/dist/nodes/Files/ExtractFromFile/ExtractFromFile.node.js +1 -1
  40. package/dist/nodes/Files/ExtractFromFile/ExtractFromFile.node.js.map +1 -1
  41. package/dist/nodes/Files/ExtractFromFile/actions/moveTo.operation.js +1 -1
  42. package/dist/nodes/Files/ExtractFromFile/actions/moveTo.operation.js.map +1 -1
  43. package/dist/nodes/Files/ExtractFromFile/test/workflow.non_utf8_encoding.json +98 -0
  44. package/dist/nodes/Flow/GenericFunctions.js.map +1 -1
  45. package/dist/nodes/Form/Form.node.d.ts +2 -1
  46. package/dist/nodes/Form/Form.node.js +9 -6
  47. package/dist/nodes/Form/Form.node.js.map +1 -1
  48. package/dist/nodes/Form/interfaces.d.ts +1 -0
  49. package/dist/nodes/Form/interfaces.js.map +1 -1
  50. package/dist/nodes/Form/utils.d.ts +2 -1
  51. package/dist/nodes/Form/utils.js +2 -1
  52. package/dist/nodes/Form/utils.js.map +1 -1
  53. package/dist/nodes/Formstack/FormstackTrigger.node.js.map +1 -1
  54. package/dist/nodes/Freshdesk/Freshdesk.node.js.map +1 -1
  55. package/dist/nodes/GetResponse/GenericFunctions.js.map +1 -1
  56. package/dist/nodes/Git/Git.node.js.map +1 -1
  57. package/dist/nodes/Github/Github.node.js +4 -4
  58. package/dist/nodes/Github/Github.node.js.map +1 -1
  59. package/dist/nodes/Google/Calendar/GenericFunctions.js.map +1 -1
  60. package/dist/nodes/Google/CloudNaturalLanguage/GenericFunctions.js.map +1 -1
  61. package/dist/nodes/Google/Contacts/GenericFunctions.js.map +1 -1
  62. package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.js.map +1 -1
  63. package/dist/nodes/Google/GSuiteAdmin/GenericFunctions.js.map +1 -1
  64. package/dist/nodes/Google/Gmail/Gmail.node.json +1 -1
  65. package/dist/nodes/Google/Gmail/test/v2/drafts.workflow.json +386 -0
  66. package/dist/nodes/Google/Gmail/test/v2/fixtures/labels.json +14 -0
  67. package/dist/nodes/Google/Gmail/test/v2/fixtures/messages.json +240 -0
  68. package/dist/nodes/Google/Gmail/test/v2/labels.workflow.json +163 -0
  69. package/dist/nodes/Google/Gmail/test/v2/messages.workflow.json +1151 -0
  70. package/dist/nodes/Google/Gmail/test/v2/threads.workflow.json +1174 -0
  71. package/dist/nodes/Google/Gmail/v2/GmailV2.node.d.ts +5 -4
  72. package/dist/nodes/Google/Gmail/v2/GmailV2.node.js +16 -48
  73. package/dist/nodes/Google/Gmail/v2/GmailV2.node.js.map +1 -1
  74. package/dist/nodes/Google/Gmail/v2/MessageDescription.js +2 -2
  75. package/dist/nodes/Google/Gmail/v2/MessageDescription.js.map +1 -1
  76. package/dist/nodes/Google/Gmail/v2/loadOptions.d.ts +4 -0
  77. package/dist/nodes/Google/Gmail/v2/loadOptions.js +50 -0
  78. package/dist/nodes/Google/Gmail/v2/loadOptions.js.map +1 -0
  79. package/dist/nodes/Google/Task/GenericFunctions.js.map +1 -1
  80. package/dist/nodes/Google/YouTube/GenericFunctions.js.map +1 -1
  81. package/dist/nodes/Gotify/GenericFunctions.js.map +1 -1
  82. package/dist/nodes/HelpScout/GenericFunctions.js.map +1 -1
  83. package/dist/nodes/HomeAssistant/HomeAssistant.node.js.map +1 -1
  84. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
  85. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
  86. package/dist/nodes/Hubspot/HubspotTrigger.node.js.map +1 -1
  87. package/dist/nodes/Hubspot/V2/HubspotV2.node.js.map +1 -1
  88. package/dist/nodes/InvoiceNinja/BankTransactionDescription.js +10 -0
  89. package/dist/nodes/InvoiceNinja/BankTransactionDescription.js.map +1 -1
  90. package/dist/nodes/InvoiceNinja/BankTransactionInterface.d.ts +5 -1
  91. package/dist/nodes/InvoiceNinja/InvoiceNinja.node.d.ts +1 -0
  92. package/dist/nodes/InvoiceNinja/InvoiceNinja.node.js +27 -3
  93. package/dist/nodes/InvoiceNinja/InvoiceNinja.node.js.map +1 -1
  94. package/dist/nodes/Keap/GenericFunctions.js.map +1 -1
  95. package/dist/nodes/Linear/GenericFunctions.js +17 -4
  96. package/dist/nodes/Linear/GenericFunctions.js.map +1 -1
  97. package/dist/nodes/Linear/LinearTrigger.node.js +6 -0
  98. package/dist/nodes/Linear/LinearTrigger.node.js.map +1 -1
  99. package/dist/nodes/Magento/GenericFunctions.js.map +1 -1
  100. package/dist/nodes/MailerLite/GenericFunctions.d.ts +2 -1
  101. package/dist/nodes/MailerLite/GenericFunctions.js +43 -11
  102. package/dist/nodes/MailerLite/GenericFunctions.js.map +1 -1
  103. package/dist/nodes/MailerLite/MailerLite.node.d.ts +3 -9
  104. package/dist/nodes/MailerLite/MailerLite.node.js +12 -132
  105. package/dist/nodes/MailerLite/MailerLite.node.js.map +1 -1
  106. package/dist/nodes/MailerLite/MailerLite.svg +33 -0
  107. package/dist/nodes/MailerLite/MailerLiteTrigger.node.d.ts +3 -11
  108. package/dist/nodes/MailerLite/MailerLiteTrigger.node.js +11 -145
  109. package/dist/nodes/MailerLite/MailerLiteTrigger.node.js.map +1 -1
  110. package/dist/nodes/MailerLite/tests/apiResponses.d.ts +237 -0
  111. package/dist/nodes/MailerLite/tests/apiResponses.js +414 -0
  112. package/dist/nodes/MailerLite/tests/apiResponses.js.map +1 -0
  113. package/dist/nodes/MailerLite/tests/v1/MailerLite.v1.workflow.json +460 -0
  114. package/dist/nodes/MailerLite/tests/v2/MailerLite.v2.workflow.json +370 -0
  115. package/dist/nodes/MailerLite/v1/MailerLiteTriggerV1.node.d.ts +13 -0
  116. package/dist/nodes/MailerLite/v1/MailerLiteTriggerV1.node.js +159 -0
  117. package/dist/nodes/MailerLite/v1/MailerLiteTriggerV1.node.js.map +1 -0
  118. package/dist/nodes/MailerLite/v1/MailerLiteV1.node.d.ts +12 -0
  119. package/dist/nodes/MailerLite/v1/MailerLiteV1.node.js +136 -0
  120. package/dist/nodes/MailerLite/v1/MailerLiteV1.node.js.map +1 -0
  121. package/dist/nodes/MailerLite/v1/SubscriberDescription.js.map +1 -0
  122. package/dist/nodes/MailerLite/v2/MailerLite.Interface.d.ts +33 -0
  123. package/dist/nodes/MailerLite/v2/MailerLite.Interface.js +3 -0
  124. package/dist/nodes/MailerLite/v2/MailerLite.Interface.js.map +1 -0
  125. package/dist/nodes/MailerLite/v2/MailerLiteTriggerV2.node.d.ts +13 -0
  126. package/dist/nodes/MailerLite/v2/MailerLiteTriggerV2.node.js +154 -0
  127. package/dist/nodes/MailerLite/v2/MailerLiteTriggerV2.node.js.map +1 -0
  128. package/dist/nodes/MailerLite/v2/MailerLiteV2.node.d.ts +12 -0
  129. package/dist/nodes/MailerLite/v2/MailerLiteV2.node.js +141 -0
  130. package/dist/nodes/MailerLite/v2/MailerLiteV2.node.js.map +1 -0
  131. package/dist/nodes/MailerLite/v2/SubscriberDescription.d.ts +3 -0
  132. package/dist/nodes/MailerLite/v2/SubscriberDescription.js +286 -0
  133. package/dist/nodes/MailerLite/v2/SubscriberDescription.js.map +1 -0
  134. package/dist/nodes/Mailgun/Mailgun.node.js.map +1 -1
  135. package/dist/nodes/Mandrill/Mandrill.node.js.map +1 -1
  136. package/dist/nodes/Matrix/GenericFunctions.js.map +1 -1
  137. package/dist/nodes/Mautic/GenericFunctions.js.map +1 -1
  138. package/dist/nodes/Microsoft/Dynamics/GenericFunctions.js.map +1 -1
  139. package/dist/nodes/Microsoft/OneDrive/GenericFunctions.js.map +1 -1
  140. package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.js.map +1 -1
  141. package/dist/nodes/Microsoft/Teams/v2/transport/index.js.map +1 -1
  142. package/dist/nodes/Microsoft/ToDo/GenericFunctions.js.map +1 -1
  143. package/dist/nodes/MongoDb/MongoDb.node.js +3 -1
  144. package/dist/nodes/MongoDb/MongoDb.node.js.map +1 -1
  145. package/dist/nodes/Notion/test/node/v2/block/append.workflow.json +535 -0
  146. package/dist/nodes/Notion/test/node/v2/block/getAll.workflow.json +188 -0
  147. package/dist/nodes/Notion/test/node/v2/database/get.workflow.json +90 -0
  148. package/dist/nodes/Notion/test/node/v2/database/getAll.workflow.json +99 -0
  149. package/dist/nodes/Notion/test/node/v2/database/search.workflow.json +265 -0
  150. package/dist/nodes/Notion/test/node/v2/databasePage/create.workflow.json +116 -0
  151. package/dist/nodes/Notion/test/node/v2/databasePage/get.workflow.json +91 -0
  152. package/dist/nodes/Notion/test/node/v2/databasePage/getAll.workflow.json +114 -0
  153. package/dist/nodes/Notion/test/node/v2/databasePage/update.workflow.json +100 -0
  154. package/dist/nodes/Notion/test/node/v2/page/archive.workflow.json +90 -0
  155. package/dist/nodes/Notion/test/node/v2/page/create.workflow.json +111 -0
  156. package/dist/nodes/Notion/test/node/v2/page/search.workflow.json +97 -0
  157. package/dist/nodes/Notion/test/node/v2/user/get.workflow.json +88 -0
  158. package/dist/nodes/Notion/test/node/v2/user/getAll.workflow.json +104 -0
  159. package/dist/nodes/Onfleet/Onfleet.js.map +1 -1
  160. package/dist/nodes/OpenAi/OpenAi.node.js +1 -1
  161. package/dist/nodes/OpenAi/OpenAi.node.js.map +1 -1
  162. package/dist/nodes/PhilipsHue/test/apiResponses.d.ts +115 -0
  163. package/dist/nodes/PhilipsHue/test/apiResponses.js +109 -0
  164. package/dist/nodes/PhilipsHue/test/apiResponses.js.map +1 -0
  165. package/dist/nodes/PhilipsHue/test/workflow.json +227 -0
  166. package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js +1 -1
  167. package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js.map +1 -1
  168. package/dist/nodes/Postgres/v2/helpers/interfaces.d.ts +2 -0
  169. package/dist/nodes/RabbitMQ/RabbitMQ.node.js.map +1 -1
  170. package/dist/nodes/Redis/Redis.node.js.map +1 -1
  171. package/dist/nodes/Redis/RedisTrigger.node.js.map +1 -1
  172. package/dist/nodes/Redis/types.d.ts +10 -0
  173. package/dist/nodes/Redis/types.js +3 -0
  174. package/dist/nodes/Redis/types.js.map +1 -0
  175. package/dist/nodes/Redis/utils.d.ts +5 -6
  176. package/dist/nodes/Redis/utils.js +3 -3
  177. package/dist/nodes/Redis/utils.js.map +1 -1
  178. package/dist/nodes/Salesforce/GenericFunctions.js.map +1 -1
  179. package/dist/nodes/Slack/Slack.node.json +1 -0
  180. package/dist/nodes/Slack/V2/FileDescription.js +2 -2
  181. package/dist/nodes/Slack/V2/FileDescription.js.map +1 -1
  182. package/dist/nodes/Slack/V2/MessageDescription.js +2 -2
  183. package/dist/nodes/Slack/V2/MessageDescription.js.map +1 -1
  184. package/dist/nodes/Slack/V2/SlackV2.node.js +9 -0
  185. package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -1
  186. package/dist/nodes/Slack/test/v2/node/channel/archive.workflow.json +89 -0
  187. package/dist/nodes/Slack/test/v2/node/channel/create.workflow.json +119 -0
  188. package/dist/nodes/Slack/test/v2/node/channel/get.workflow.json +127 -0
  189. package/dist/nodes/Slack/test/v2/node/channel/getAll.workflow.json +181 -0
  190. package/dist/nodes/Slack/test/v2/node/channel/history.workflow.json +254 -0
  191. package/dist/nodes/Slack/test/v2/node/file/upload.workflow.json +147 -0
  192. package/dist/nodes/Slack/test/v2/node/message/delete.workflow.json +92 -0
  193. package/dist/nodes/Slack/test/v2/node/message/getPermalink.workflow.json +91 -0
  194. package/dist/nodes/Slack/test/v2/node/message/post.workflow.json +143 -0
  195. package/dist/nodes/Slack/test/v2/node/message/search.workflow.json +262 -0
  196. package/dist/nodes/Slack/test/v2/node/message/update.workflow.json +142 -0
  197. package/dist/nodes/Slack/test/v2/node/user/updateProfile.workflow.json +106 -0
  198. package/dist/nodes/UProc/ToolDescription.js +1 -3
  199. package/dist/nodes/UProc/ToolDescription.js.map +1 -1
  200. package/dist/types/credentials.json +6 -4
  201. package/dist/types/nodes.json +14 -12
  202. package/dist/utils/sendAndWait/email-templates.js +1 -1
  203. package/dist/utils/sendAndWait/email-templates.js.map +1 -1
  204. package/dist/utils/sendAndWait/utils.d.ts +20 -2
  205. package/dist/utils/sendAndWait/utils.js +197 -11
  206. package/dist/utils/sendAndWait/utils.js.map +1 -1
  207. package/package.json +6 -4
  208. package/dist/nodes/MailerLite/SubscriberDescription.js.map +0 -1
  209. package/dist/nodes/MailerLite/mailerLite.png +0 -0
  210. /package/dist/nodes/MailerLite/{SubscriberDescription.d.ts → v1/SubscriberDescription.d.ts} +0 -0
  211. /package/dist/nodes/MailerLite/{SubscriberDescription.js → v1/SubscriberDescription.js} +0 -0
@@ -0,0 +1,386 @@
1
+ {
2
+ "name": "My workflow 130",
3
+ "nodes": [
4
+ {
5
+ "parameters": {},
6
+ "type": "n8n-nodes-base.manualTrigger",
7
+ "typeVersion": 1,
8
+ "position": [-60, 100],
9
+ "id": "636b40bc-2c98-4b9a-8ce2-9d1322294518",
10
+ "name": "When clicking ‘Test workflow’"
11
+ },
12
+ {
13
+ "parameters": {
14
+ "resource": "draft",
15
+ "operation": "get",
16
+ "messageId": "test-draft-id",
17
+ "options": {}
18
+ },
19
+ "type": "n8n-nodes-base.gmail",
20
+ "typeVersion": 2.1,
21
+ "position": [440, 200],
22
+ "id": "8802fdb5-2741-407b-82a4-ccedc4055076",
23
+ "name": "Gmail - Drafts - Get",
24
+ "webhookId": "3b8b38e0-2f4b-40bc-8b67-37e7ea95cb60",
25
+ "credentials": {
26
+ "gmailOAuth2": {
27
+ "id": "22",
28
+ "name": "Gmail 0auth"
29
+ }
30
+ }
31
+ },
32
+ {
33
+ "parameters": {
34
+ "resource": "draft",
35
+ "operation": "delete",
36
+ "messageId": "test-draft-id"
37
+ },
38
+ "type": "n8n-nodes-base.gmail",
39
+ "typeVersion": 2.1,
40
+ "position": [440, 20],
41
+ "id": "ed979c3a-b2ea-413e-be63-0392cc1714a5",
42
+ "name": "Gmail - Drafts - Delete",
43
+ "webhookId": "3b8b38e0-2f4b-40bc-8b67-37e7ea95cb60",
44
+ "credentials": {
45
+ "gmailOAuth2": {
46
+ "id": "22",
47
+ "name": "Gmail 0auth"
48
+ }
49
+ }
50
+ },
51
+ {
52
+ "parameters": {
53
+ "resource": "draft",
54
+ "subject": "Test Draft Subject",
55
+ "message": "Test Draft Message",
56
+ "options": {
57
+ "attachmentsUi": {
58
+ "attachmentsBinary": [
59
+ {
60
+ "property": "data"
61
+ }
62
+ ]
63
+ },
64
+ "bccList": "test-bcc@n8n.io",
65
+ "ccList": "test-cc@n8n.io",
66
+ "fromAlias": "=test-alias@n8n.io",
67
+ "replyTo": "test-reply@n8n.io",
68
+ "threadId": "test-thread-id",
69
+ "sendTo": "test-to@n8n.io"
70
+ }
71
+ },
72
+ "type": "n8n-nodes-base.gmail",
73
+ "typeVersion": 2.1,
74
+ "position": [840, -180],
75
+ "id": "45758452-3b5b-478d-aece-001e117ce69d",
76
+ "name": "Gmail - Drafts - Create",
77
+ "webhookId": "3b8b38e0-2f4b-40bc-8b67-37e7ea95cb60",
78
+ "credentials": {
79
+ "gmailOAuth2": {
80
+ "id": "22",
81
+ "name": "Gmail 0auth"
82
+ }
83
+ }
84
+ },
85
+ {
86
+ "parameters": {
87
+ "resource": "draft",
88
+ "operation": "getAll",
89
+ "returnAll": true,
90
+ "options": {
91
+ "dataPropertyAttachmentsPrefixName": "attachment_",
92
+ "downloadAttachments": true,
93
+ "includeSpamTrash": true
94
+ }
95
+ },
96
+ "type": "n8n-nodes-base.gmail",
97
+ "typeVersion": 2.1,
98
+ "position": [440, 400],
99
+ "id": "bae81586-7641-4fdc-81a4-0006b289bf9d",
100
+ "name": "Gmail - Drafts - Get Many",
101
+ "webhookId": "3b8b38e0-2f4b-40bc-8b67-37e7ea95cb60",
102
+ "credentials": {
103
+ "gmailOAuth2": {
104
+ "id": "22",
105
+ "name": "Gmail 0auth"
106
+ }
107
+ }
108
+ },
109
+ {
110
+ "parameters": {
111
+ "assignments": {
112
+ "assignments": [
113
+ {
114
+ "id": "491590a8-27a6-4d14-b342-493947775d16",
115
+ "name": "binary",
116
+ "value": true,
117
+ "type": "boolean"
118
+ }
119
+ ]
120
+ },
121
+ "options": {}
122
+ },
123
+ "type": "n8n-nodes-base.set",
124
+ "typeVersion": 3.4,
125
+ "position": [420, -180],
126
+ "id": "d630c018-1d7b-4779-a280-9f4a21c6a764",
127
+ "name": "Edit Fields"
128
+ },
129
+ {
130
+ "parameters": {
131
+ "operation": "toJson",
132
+ "options": {}
133
+ },
134
+ "type": "n8n-nodes-base.convertToFile",
135
+ "typeVersion": 1.1,
136
+ "position": [640, -180],
137
+ "id": "fc3bdb76-c278-44f6-9aac-153b79c8177b",
138
+ "name": "Convert to File"
139
+ }
140
+ ],
141
+ "pinData": {
142
+ "Gmail - Drafts - Create": [
143
+ {
144
+ "json": {
145
+ "id": "a1b2c3d4e5f6g7h8",
146
+ "threadId": "a1b2c3d4e5f6g7h8",
147
+ "labelIds": ["UNREAD", "CATEGORY_PROMOTIONS", "INBOX"],
148
+ "snippet": "Don't miss our exclusive holiday discounts on all items! Act now before the sale ends.",
149
+ "payload": {
150
+ "partId": "",
151
+ "mimeType": "multipart/alternative",
152
+ "filename": "",
153
+ "headers": [
154
+ { "name": "Delivered-To", "value": "exampleuser@gmail.com" },
155
+ {
156
+ "name": "Received",
157
+ "value": "by 2001:db8::abcd with SMTP id xyz123abc456; Thu, 5 Dec 2024 08:30:00 -0800 (PST)"
158
+ },
159
+ { "name": "X-Google-Smtp-Source", "value": "ABC12345+EXAMPLE123456789" },
160
+ {
161
+ "name": "X-Received",
162
+ "value": "by 192.0.2.1 with SMTP id 12345abc67890; Thu, 5 Dec 2024 08:30:00 -0800 (PST)"
163
+ },
164
+ {
165
+ "name": "ARC-Seal",
166
+ "value": "i=1; a=rsa-sha256; t=1733405400; cv=none; d=example.com; s=arc-20241205; b=ABCDEFG123456="
167
+ },
168
+ {
169
+ "name": "ARC-Message-Signature",
170
+ "value": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=arc-20241205; bh=EXAMPLEHASH12345="
171
+ },
172
+ {
173
+ "name": "ARC-Authentication-Results",
174
+ "value": "i=1; mx.example.com; dkim=pass header.i=@promotion.example.com; spf=pass smtp.mailfrom=promo@promotion.example.com; dmarc=pass header.from=example.com"
175
+ },
176
+ { "name": "Return-Path", "value": "<promo@promotion.example.com>" },
177
+ { "name": "Date", "value": "Thu, 5 Dec 2024 08:30:00 -0800" },
178
+ { "name": "From", "value": "Holiday Deals <promo@promotion.example.com>" },
179
+ { "name": "To", "value": "exampleuser@gmail.com" },
180
+ { "name": "Message-ID", "value": "<12345abc67890@promotion.example.com>" },
181
+ { "name": "Subject", "value": "Exclusive Holiday Discounts!" },
182
+ { "name": "MIME-Version", "value": "1.0" },
183
+ {
184
+ "name": "Content-Type",
185
+ "value": "multipart/alternative; boundary=\"----=_Part_12345_67890.1733405400000\""
186
+ }
187
+ ],
188
+ "body": { "size": 0 },
189
+ "parts": [
190
+ {
191
+ "partId": "0",
192
+ "mimeType": "text/plain",
193
+ "filename": "",
194
+ "headers": [
195
+ { "name": "Content-Type", "value": "text/plain; charset=utf-8" },
196
+ { "name": "Content-Transfer-Encoding", "value": "quoted-printable" }
197
+ ],
198
+ "body": {
199
+ "size": 1234,
200
+ "data": "VGhpcyBpcyBhbiBleGFtcGxlIG1lc3NhZ2UuIFRoYW5rIHlvdSBmb3Igc2hvcHBpbmcgd2l0aCB1cy4="
201
+ }
202
+ },
203
+ {
204
+ "partId": "1",
205
+ "mimeType": "text/html",
206
+ "filename": "",
207
+ "headers": [
208
+ { "name": "Content-Type", "value": "text/html; charset=\"utf-8\"" },
209
+ { "name": "Content-Transfer-Encoding", "value": "quoted-printable" }
210
+ ],
211
+ "body": {
212
+ "size": 5678,
213
+ "data": "PGRpdiBzdHlsZT0nZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyc+VGhpcyBpcyBhbiBleGFtcGxlIGh0bWwgbWVzc2FnZS4gPGI+VGhhbmsgeW91IGZvciBzaG9wcGluZyB3aXRoIHVzLjwvYj48L2Rpdj4="
214
+ }
215
+ }
216
+ ]
217
+ },
218
+ "sizeEstimate": 67890,
219
+ "historyId": "54321",
220
+ "internalDate": "1733405400000"
221
+ }
222
+ }
223
+ ],
224
+ "Gmail - Drafts - Delete": [{ "json": { "success": true } }],
225
+ "Gmail - Drafts - Get": [
226
+ {
227
+ "json": {
228
+ "threadId": "a1b2c3d4e5f6g7h8",
229
+ "labelIds": ["UNREAD", "CATEGORY_PROMOTIONS", "INBOX"],
230
+ "sizeEstimate": 67890,
231
+ "headers": {
232
+ "mime-version": "MIME-Version: 1.0",
233
+ "date": "Date: Fri, 13 Dec 2024 11:15:01 +0100",
234
+ "message-id": "Message-ID: <CAEGAProwudGnKXxqrhMjOuxamTh7yArjwP7OD9UBq-Jpkb0X9w@mail.gmail.com>",
235
+ "subject": "Subject: Test draft",
236
+ "from": "From: node qa <node8qa@gmail.com>",
237
+ "to": "To: test@gmail.com",
238
+ "content-type": "Content-Type: multipart/alternative; boundary=\"0000000000009d58b60629241a22\""
239
+ },
240
+ "html": "<div dir=\"ltr\">draft body<br></div>\n",
241
+ "text": "draft body\n",
242
+ "textAsHtml": "<p>draft body</p>",
243
+ "subject": "Test draft",
244
+ "date": "2024-12-13T10:15:01.000Z",
245
+ "to": {
246
+ "value": [{ "address": "test@gmail.com", "name": "" }],
247
+ "html": "<span class=\"mp_address_group\"><a href=\"mailto:test@gmail.com\" class=\"mp_address_email\">test@gmail.com</a></span>",
248
+ "text": "test@gmail.com"
249
+ },
250
+ "from": {
251
+ "value": [{ "address": "node8qa@gmail.com", "name": "node qa" }],
252
+ "html": "<span class=\"mp_address_group\"><span class=\"mp_address_name\">node qa</span> &lt;<a href=\"mailto:node8qa@gmail.com\" class=\"mp_address_email\">node8qa@gmail.com</a>&gt;</span>",
253
+ "text": "\"node qa\" <node8qa@gmail.com>"
254
+ },
255
+ "messageId": "a1b2c3d4e5f6g7h8"
256
+ }
257
+ }
258
+ ],
259
+ "Gmail - Drafts - Get Many": [
260
+ {
261
+ "json": {
262
+ "threadId": "a1b2c3d4e5f6g7h8",
263
+ "labelIds": ["UNREAD", "CATEGORY_PROMOTIONS", "INBOX"],
264
+ "sizeEstimate": 67890,
265
+ "headers": {
266
+ "mime-version": "MIME-Version: 1.0",
267
+ "date": "Date: Fri, 13 Dec 2024 11:15:01 +0100",
268
+ "message-id": "Message-ID: <CAEGAProwudGnKXxqrhMjOuxamTh7yArjwP7OD9UBq-Jpkb0X9w@mail.gmail.com>",
269
+ "subject": "Subject: Test draft",
270
+ "from": "From: node qa <node8qa@gmail.com>",
271
+ "to": "To: test@gmail.com",
272
+ "content-type": "Content-Type: multipart/alternative; boundary=\"0000000000009d58b60629241a22\""
273
+ },
274
+ "html": "<div dir=\"ltr\">draft body<br></div>\n",
275
+ "text": "draft body\n",
276
+ "textAsHtml": "<p>draft body</p>",
277
+ "subject": "Test draft",
278
+ "date": "2024-12-13T10:15:01.000Z",
279
+ "to": {
280
+ "value": [{ "address": "test@gmail.com", "name": "" }],
281
+ "html": "<span class=\"mp_address_group\"><a href=\"mailto:test@gmail.com\" class=\"mp_address_email\">test@gmail.com</a></span>",
282
+ "text": "test@gmail.com"
283
+ },
284
+ "from": {
285
+ "value": [{ "address": "node8qa@gmail.com", "name": "node qa" }],
286
+ "html": "<span class=\"mp_address_group\"><span class=\"mp_address_name\">node qa</span> &lt;<a href=\"mailto:node8qa@gmail.com\" class=\"mp_address_email\">node8qa@gmail.com</a>&gt;</span>",
287
+ "text": "\"node qa\" <node8qa@gmail.com>"
288
+ },
289
+ "messageId": "a1b2c3d4e5f6g7h8"
290
+ }
291
+ },
292
+ {
293
+ "json": {
294
+ "threadId": "z9y8x7w6v5u4t3s2",
295
+ "labelIds": ["UNREAD", "CATEGORY_SOCIAL", "INBOX"],
296
+ "sizeEstimate": 54321,
297
+ "headers": {
298
+ "mime-version": "MIME-Version: 1.0",
299
+ "date": "Date: Fri, 13 Dec 2024 11:15:01 +0100",
300
+ "message-id": "Message-ID: <CAEGAProwudGnKXxqrhMjOuxamTh7yArjwP7OD9UBq-Jpkb0X9w@mail.gmail.com>",
301
+ "subject": "Subject: Test draft",
302
+ "from": "From: node qa <node8qa@gmail.com>",
303
+ "to": "To: test@gmail.com",
304
+ "content-type": "Content-Type: multipart/alternative; boundary=\"0000000000009d58b60629241a22\""
305
+ },
306
+ "html": "<div dir=\"ltr\">draft body<br></div>\n",
307
+ "text": "draft body\n",
308
+ "textAsHtml": "<p>draft body</p>",
309
+ "subject": "Test draft",
310
+ "date": "2024-12-13T10:15:01.000Z",
311
+ "to": {
312
+ "value": [{ "address": "test@gmail.com", "name": "" }],
313
+ "html": "<span class=\"mp_address_group\"><a href=\"mailto:test@gmail.com\" class=\"mp_address_email\">test@gmail.com</a></span>",
314
+ "text": "test@gmail.com"
315
+ },
316
+ "from": {
317
+ "value": [{ "address": "node8qa@gmail.com", "name": "node qa" }],
318
+ "html": "<span class=\"mp_address_group\"><span class=\"mp_address_name\">node qa</span> &lt;<a href=\"mailto:node8qa@gmail.com\" class=\"mp_address_email\">node8qa@gmail.com</a>&gt;</span>",
319
+ "text": "\"node qa\" <node8qa@gmail.com>"
320
+ },
321
+ "messageId": "z9y8x7w6v5u4t3s2"
322
+ }
323
+ }
324
+ ]
325
+ },
326
+ "connections": {
327
+ "When clicking ‘Test workflow’": {
328
+ "main": [
329
+ [
330
+ {
331
+ "node": "Gmail - Drafts - Get Many",
332
+ "type": "main",
333
+ "index": 0
334
+ },
335
+ {
336
+ "node": "Gmail - Drafts - Get",
337
+ "type": "main",
338
+ "index": 0
339
+ },
340
+ {
341
+ "node": "Gmail - Drafts - Delete",
342
+ "type": "main",
343
+ "index": 0
344
+ },
345
+ {
346
+ "node": "Edit Fields",
347
+ "type": "main",
348
+ "index": 0
349
+ }
350
+ ]
351
+ ]
352
+ },
353
+ "Edit Fields": {
354
+ "main": [
355
+ [
356
+ {
357
+ "node": "Convert to File",
358
+ "type": "main",
359
+ "index": 0
360
+ }
361
+ ]
362
+ ]
363
+ },
364
+ "Convert to File": {
365
+ "main": [
366
+ [
367
+ {
368
+ "node": "Gmail - Drafts - Create",
369
+ "type": "main",
370
+ "index": 0
371
+ }
372
+ ]
373
+ ]
374
+ }
375
+ },
376
+ "active": false,
377
+ "settings": {
378
+ "executionOrder": "v1"
379
+ },
380
+ "versionId": "84fb11a4-4166-45bd-bd9f-60fa378d9e68",
381
+ "meta": {
382
+ "instanceId": "27cc9b56542ad45b38725555722c50a1c3fee1670bbb67980558314ee08517c4"
383
+ },
384
+ "id": "09KDcfGmfDrLInDE",
385
+ "tags": []
386
+ }
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "id": "CHAT",
4
+ "name": "CHAT",
5
+ "messageListVisibility": "hide",
6
+ "labelListVisibility": "labelHide",
7
+ "type": "system"
8
+ },
9
+ {
10
+ "id": "SENT",
11
+ "name": "SENT",
12
+ "type": "system"
13
+ }
14
+ ]
@@ -0,0 +1,240 @@
1
+ [
2
+ {
3
+ "id": "a1b2c3d4e5f6g7h8",
4
+ "threadId": "a1b2c3d4e5f6g7h8",
5
+ "labelIds": ["UNREAD", "CATEGORY_PROMOTIONS", "INBOX"],
6
+ "snippet": "Don't miss our exclusive holiday discounts on all items! Act now before the sale ends.",
7
+ "payload": {
8
+ "partId": "",
9
+ "mimeType": "multipart/alternative",
10
+ "filename": "",
11
+ "headers": [
12
+ {
13
+ "name": "Delivered-To",
14
+ "value": "exampleuser@gmail.com"
15
+ },
16
+ {
17
+ "name": "Received",
18
+ "value": "by 2001:db8::abcd with SMTP id xyz123abc456; Thu, 5 Dec 2024 08:30:00 -0800 (PST)"
19
+ },
20
+ {
21
+ "name": "X-Google-Smtp-Source",
22
+ "value": "ABC12345+EXAMPLE123456789"
23
+ },
24
+ {
25
+ "name": "X-Received",
26
+ "value": "by 192.0.2.1 with SMTP id 12345abc67890; Thu, 5 Dec 2024 08:30:00 -0800 (PST)"
27
+ },
28
+ {
29
+ "name": "ARC-Seal",
30
+ "value": "i=1; a=rsa-sha256; t=1733405400; cv=none; d=example.com; s=arc-20241205; b=ABCDEFG123456="
31
+ },
32
+ {
33
+ "name": "ARC-Message-Signature",
34
+ "value": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=example.com; s=arc-20241205; bh=EXAMPLEHASH12345="
35
+ },
36
+ {
37
+ "name": "ARC-Authentication-Results",
38
+ "value": "i=1; mx.example.com; dkim=pass header.i=@promotion.example.com; spf=pass smtp.mailfrom=promo@promotion.example.com; dmarc=pass header.from=example.com"
39
+ },
40
+ {
41
+ "name": "Return-Path",
42
+ "value": "<promo@promotion.example.com>"
43
+ },
44
+ {
45
+ "name": "Date",
46
+ "value": "Thu, 5 Dec 2024 08:30:00 -0800"
47
+ },
48
+ {
49
+ "name": "From",
50
+ "value": "Holiday Deals <promo@promotion.example.com>"
51
+ },
52
+ {
53
+ "name": "To",
54
+ "value": "exampleuser@gmail.com"
55
+ },
56
+ {
57
+ "name": "Message-ID",
58
+ "value": "<12345abc67890@promotion.example.com>"
59
+ },
60
+ {
61
+ "name": "Subject",
62
+ "value": "Exclusive Holiday Discounts!"
63
+ },
64
+ {
65
+ "name": "MIME-Version",
66
+ "value": "1.0"
67
+ },
68
+ {
69
+ "name": "Content-Type",
70
+ "value": "multipart/alternative; boundary=\"----=_Part_12345_67890.1733405400000\""
71
+ }
72
+ ],
73
+ "body": {
74
+ "size": 0
75
+ },
76
+ "parts": [
77
+ {
78
+ "partId": "0",
79
+ "mimeType": "text/plain",
80
+ "filename": "",
81
+ "headers": [
82
+ {
83
+ "name": "Content-Type",
84
+ "value": "text/plain; charset=utf-8"
85
+ },
86
+ {
87
+ "name": "Content-Transfer-Encoding",
88
+ "value": "quoted-printable"
89
+ }
90
+ ],
91
+ "body": {
92
+ "size": 1234,
93
+ "data": "VGhpcyBpcyBhbiBleGFtcGxlIG1lc3NhZ2UuIFRoYW5rIHlvdSBmb3Igc2hvcHBpbmcgd2l0aCB1cy4="
94
+ }
95
+ },
96
+ {
97
+ "partId": "1",
98
+ "mimeType": "text/html",
99
+ "filename": "",
100
+ "headers": [
101
+ {
102
+ "name": "Content-Type",
103
+ "value": "text/html; charset=\"utf-8\""
104
+ },
105
+ {
106
+ "name": "Content-Transfer-Encoding",
107
+ "value": "quoted-printable"
108
+ }
109
+ ],
110
+ "body": {
111
+ "size": 5678,
112
+ "data": "PGRpdiBzdHlsZT0nZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyc+VGhpcyBpcyBhbiBleGFtcGxlIGh0bWwgbWVzc2FnZS4gPGI+VGhhbmsgeW91IGZvciBzaG9wcGluZyB3aXRoIHVzLjwvYj48L2Rpdj4="
113
+ }
114
+ }
115
+ ]
116
+ },
117
+ "sizeEstimate": 67890,
118
+ "historyId": "54321",
119
+ "internalDate": "1733405400000"
120
+ },
121
+ {
122
+ "id": "z9y8x7w6v5u4t3s2",
123
+ "threadId": "z9y8x7w6v5u4t3s2",
124
+ "labelIds": ["UNREAD", "CATEGORY_SOCIAL", "INBOX"],
125
+ "snippet": "Your friend John just shared a new photo with you! Check it out now.",
126
+ "payload": {
127
+ "partId": "",
128
+ "mimeType": "multipart/alternative",
129
+ "filename": "",
130
+ "headers": [
131
+ {
132
+ "name": "Delivered-To",
133
+ "value": "exampleuser2@gmail.com"
134
+ },
135
+ {
136
+ "name": "Received",
137
+ "value": "by 2001:db8::abcd with SMTP id def456ghi789; Fri, 6 Dec 2024 09:45:00 -0800 (PST)"
138
+ },
139
+ {
140
+ "name": "X-Google-Smtp-Source",
141
+ "value": "XYZ67890+EXAMPLE0987654321"
142
+ },
143
+ {
144
+ "name": "X-Received",
145
+ "value": "by 198.51.100.2 with SMTP id 67890def12345; Fri, 6 Dec 2024 09:45:00 -0800 (PST)"
146
+ },
147
+ {
148
+ "name": "ARC-Seal",
149
+ "value": "i=1; a=rsa-sha256; t=1733490900; cv=none; d=example2.com; s=arc-20241206; b=HIJKLMN987654="
150
+ },
151
+ {
152
+ "name": "ARC-Message-Signature",
153
+ "value": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=example2.com; s=arc-20241206; bh=EXAMPLEHASH67890="
154
+ },
155
+ {
156
+ "name": "ARC-Authentication-Results",
157
+ "value": "i=1; mx.example2.com; dkim=pass header.i=@social.example2.com; spf=pass smtp.mailfrom=notifications@social.example2.com; dmarc=pass header.from=example2.com"
158
+ },
159
+ {
160
+ "name": "Return-Path",
161
+ "value": "<notifications@social.example2.com>"
162
+ },
163
+ {
164
+ "name": "Date",
165
+ "value": "Fri, 6 Dec 2024 09:45:00 -0800"
166
+ },
167
+ {
168
+ "name": "From",
169
+ "value": "John's Photos <notifications@social.example2.com>"
170
+ },
171
+ {
172
+ "name": "To",
173
+ "value": "exampleuser2@gmail.com"
174
+ },
175
+ {
176
+ "name": "Message-ID",
177
+ "value": "<67890def12345@social.example2.com>"
178
+ },
179
+ {
180
+ "name": "Subject",
181
+ "value": "John shared a new photo with you!"
182
+ },
183
+ {
184
+ "name": "MIME-Version",
185
+ "value": "1.0"
186
+ },
187
+ {
188
+ "name": "Content-Type",
189
+ "value": "multipart/alternative; boundary=\"----=_Part_67890_12345.1733490900000\""
190
+ }
191
+ ],
192
+ "body": {
193
+ "size": 0
194
+ },
195
+ "parts": [
196
+ {
197
+ "partId": "0",
198
+ "mimeType": "text/plain",
199
+ "filename": "",
200
+ "headers": [
201
+ {
202
+ "name": "Content-Type",
203
+ "value": "text/plain; charset=utf-8"
204
+ },
205
+ {
206
+ "name": "Content-Transfer-Encoding",
207
+ "value": "quoted-printable"
208
+ }
209
+ ],
210
+ "body": {
211
+ "size": 4321,
212
+ "data": "U2VlIHRoZSBhdHRhY2hlZCBwaG90byBhbmQgcmVwbHkgdG8gSm9obi4gV2UgaG9wZSB5b3UgbGlrZSBpdCE="
213
+ }
214
+ },
215
+ {
216
+ "partId": "1",
217
+ "mimeType": "text/html",
218
+ "filename": "",
219
+ "headers": [
220
+ {
221
+ "name": "Content-Type",
222
+ "value": "text/html; charset=\"utf-8\""
223
+ },
224
+ {
225
+ "name": "Content-Transfer-Encoding",
226
+ "value": "quoted-printable"
227
+ }
228
+ ],
229
+ "body": {
230
+ "size": 8765,
231
+ "data": "PGRpdiBzdHlsZT0nZm9udC1mYW1pbHk6IEFyaWFsLCBzYW5zLXNlcmlmOyc+U2VlIHRoZSBhdHRhY2hlZCBwaG90byBhbmQgcmVwbHkgdG8gPGI+Sm9obi48L2I+IFdlIGhvcGUgeW91IGxpa2UgaXQhPC9kaXY+"
232
+ }
233
+ }
234
+ ]
235
+ },
236
+ "sizeEstimate": 54321,
237
+ "historyId": "98765",
238
+ "internalDate": "1733490900000"
239
+ }
240
+ ]