n8n-nodes-base 1.5.0 → 1.6.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 (749) hide show
  1. package/dist/credentials/StrapiTokenApi.credentials.d.ts +9 -0
  2. package/dist/credentials/StrapiTokenApi.credentials.js +72 -0
  3. package/dist/credentials/StrapiTokenApi.credentials.js.map +1 -0
  4. package/dist/credentials/TheHiveApi.credentials.js +4 -4
  5. package/dist/credentials/TheHiveApi.credentials.js.map +1 -1
  6. package/dist/credentials/TheHiveProjectApi.credentials.d.ts +9 -0
  7. package/dist/credentials/TheHiveProjectApi.credentials.js +52 -0
  8. package/dist/credentials/TheHiveProjectApi.credentials.js.map +1 -0
  9. package/dist/known/credentials.json +14 -0
  10. package/dist/known/nodes.json +12 -0
  11. package/dist/methods/defined.json +19 -0
  12. package/dist/methods/referenced.json +16 -0
  13. package/dist/nodes/ActiveCampaign/ActiveCampaign.node.js +1 -1
  14. package/dist/nodes/ActiveCampaign/ActiveCampaign.node.js.map +1 -1
  15. package/dist/nodes/Affinity/Affinity.node.js +1 -1
  16. package/dist/nodes/Affinity/Affinity.node.js.map +1 -1
  17. package/dist/nodes/Airtable/v1/AirtableV1.node.js +1 -1
  18. package/dist/nodes/Airtable/v1/AirtableV1.node.js.map +1 -1
  19. package/dist/nodes/Airtable/v2/actions/router.js +1 -1
  20. package/dist/nodes/Airtable/v2/actions/router.js.map +1 -1
  21. package/dist/nodes/ApiTemplateIo/ApiTemplateIo.node.js +2 -2
  22. package/dist/nodes/ApiTemplateIo/ApiTemplateIo.node.js.map +1 -1
  23. package/dist/nodes/Automizy/Automizy.node.js +1 -1
  24. package/dist/nodes/Automizy/Automizy.node.js.map +1 -1
  25. package/dist/nodes/Aws/DynamoDB/AwsDynamoDB.node.js +1 -1
  26. package/dist/nodes/Aws/DynamoDB/AwsDynamoDB.node.js.map +1 -1
  27. package/dist/nodes/Aws/S3/V1/AwsS3V1.node.js +2 -2
  28. package/dist/nodes/Aws/S3/V1/AwsS3V1.node.js.map +1 -1
  29. package/dist/nodes/Aws/S3/V2/AwsS3V2.node.js +2 -2
  30. package/dist/nodes/Aws/S3/V2/AwsS3V2.node.js.map +1 -1
  31. package/dist/nodes/Aws/SES/AwsSes.node.js +1 -1
  32. package/dist/nodes/Aws/SES/AwsSes.node.js.map +1 -1
  33. package/dist/nodes/BambooHr/v1/actions/companyReport/get/execute.js +1 -1
  34. package/dist/nodes/BambooHr/v1/actions/companyReport/get/execute.js.map +1 -1
  35. package/dist/nodes/BambooHr/v1/actions/employeeDocument/download/execute.js +1 -1
  36. package/dist/nodes/BambooHr/v1/actions/employeeDocument/download/execute.js.map +1 -1
  37. package/dist/nodes/BambooHr/v1/actions/file/download/execute.js +1 -1
  38. package/dist/nodes/BambooHr/v1/actions/file/download/execute.js.map +1 -1
  39. package/dist/nodes/Baserow/Baserow.node.js +1 -1
  40. package/dist/nodes/Baserow/Baserow.node.js.map +1 -1
  41. package/dist/nodes/Beeminder/Beeminder.node.js +1 -1
  42. package/dist/nodes/Beeminder/Beeminder.node.js.map +1 -1
  43. package/dist/nodes/Bitly/Bitly.node.js +1 -1
  44. package/dist/nodes/Bitly/Bitly.node.js.map +1 -1
  45. package/dist/nodes/Bitwarden/Bitwarden.node.js +1 -1
  46. package/dist/nodes/Bitwarden/Bitwarden.node.js.map +1 -1
  47. package/dist/nodes/Box/Box.node.js +2 -2
  48. package/dist/nodes/Box/Box.node.js.map +1 -1
  49. package/dist/nodes/Brandfetch/Brandfetch.node.js +1 -1
  50. package/dist/nodes/Brandfetch/Brandfetch.node.js.map +1 -1
  51. package/dist/nodes/Bubble/Bubble.node.js +1 -1
  52. package/dist/nodes/Bubble/Bubble.node.js.map +1 -1
  53. package/dist/nodes/Chargebee/Chargebee.node.js +1 -1
  54. package/dist/nodes/Chargebee/Chargebee.node.js.map +1 -1
  55. package/dist/nodes/CircleCi/CircleCi.node.js +1 -1
  56. package/dist/nodes/CircleCi/CircleCi.node.js.map +1 -1
  57. package/dist/nodes/Cisco/Webex/CiscoWebex.node.js +1 -1
  58. package/dist/nodes/Cisco/Webex/CiscoWebex.node.js.map +1 -1
  59. package/dist/nodes/Clearbit/Clearbit.node.js +1 -1
  60. package/dist/nodes/Clearbit/Clearbit.node.js.map +1 -1
  61. package/dist/nodes/ClickUp/ClickUp.node.js +1 -1
  62. package/dist/nodes/ClickUp/ClickUp.node.js.map +1 -1
  63. package/dist/nodes/Clockify/Clockify.node.js +1 -1
  64. package/dist/nodes/Clockify/Clockify.node.js.map +1 -1
  65. package/dist/nodes/Coda/Coda.node.js +11 -11
  66. package/dist/nodes/Coda/Coda.node.js.map +1 -1
  67. package/dist/nodes/Code/Code.node.js +2 -2
  68. package/dist/nodes/Code/Code.node.js.map +1 -1
  69. package/dist/nodes/CoinGecko/CoinGecko.node.js +1 -1
  70. package/dist/nodes/CoinGecko/CoinGecko.node.js.map +1 -1
  71. package/dist/nodes/Compression/Compression.node.js +1 -1
  72. package/dist/nodes/Compression/Compression.node.js.map +1 -1
  73. package/dist/nodes/Contentful/Contentful.node.js +1 -1
  74. package/dist/nodes/Contentful/Contentful.node.js.map +1 -1
  75. package/dist/nodes/ConvertKit/ConvertKit.node.js +1 -1
  76. package/dist/nodes/ConvertKit/ConvertKit.node.js.map +1 -1
  77. package/dist/nodes/Copper/Copper.node.js +1 -1
  78. package/dist/nodes/Copper/Copper.node.js.map +1 -1
  79. package/dist/nodes/CrateDb/CrateDb.node.js +1 -1
  80. package/dist/nodes/CrateDb/CrateDb.node.js.map +1 -1
  81. package/dist/nodes/Crypto/Crypto.node.js +1 -1
  82. package/dist/nodes/Crypto/Crypto.node.js.map +1 -1
  83. package/dist/nodes/DateTime/V1/DateTimeV1.node.js +1 -1
  84. package/dist/nodes/DateTime/V1/DateTimeV1.node.js.map +1 -1
  85. package/dist/nodes/DateTime/V2/DateTimeV2.node.js +1 -1
  86. package/dist/nodes/DateTime/V2/DateTimeV2.node.js.map +1 -1
  87. package/dist/nodes/DebugHelper/DebugHelper.node.js +1 -1
  88. package/dist/nodes/DebugHelper/DebugHelper.node.js.map +1 -1
  89. package/dist/nodes/Discord/Discord.node.js +1 -1
  90. package/dist/nodes/Discord/Discord.node.js.map +1 -1
  91. package/dist/nodes/Discourse/Discourse.node.js +1 -1
  92. package/dist/nodes/Discourse/Discourse.node.js.map +1 -1
  93. package/dist/nodes/Disqus/Disqus.node.js +1 -1
  94. package/dist/nodes/Disqus/Disqus.node.js.map +1 -1
  95. package/dist/nodes/Dropbox/Dropbox.node.js +2 -2
  96. package/dist/nodes/Dropbox/Dropbox.node.js.map +1 -1
  97. package/dist/nodes/Dropcontact/Dropcontact.node.js +1 -1
  98. package/dist/nodes/Dropcontact/Dropcontact.node.js.map +1 -1
  99. package/dist/nodes/E2eTest/E2eTest.node.d.ts +16 -0
  100. package/dist/nodes/E2eTest/E2eTest.node.js +192 -0
  101. package/dist/nodes/E2eTest/E2eTest.node.js.map +1 -0
  102. package/dist/nodes/E2eTest/E2eTest.node.json +18 -0
  103. package/dist/nodes/E2eTest/mock.d.ts +6 -0
  104. package/dist/nodes/E2eTest/mock.js +58 -0
  105. package/dist/nodes/E2eTest/mock.js.map +1 -0
  106. package/dist/nodes/ERPNext/ERPNext.node.js +1 -1
  107. package/dist/nodes/ERPNext/ERPNext.node.js.map +1 -1
  108. package/dist/nodes/EditImage/EditImage.node.js +1 -1
  109. package/dist/nodes/EditImage/EditImage.node.js.map +1 -1
  110. package/dist/nodes/Egoi/Egoi.node.js +1 -1
  111. package/dist/nodes/Egoi/Egoi.node.js.map +1 -1
  112. package/dist/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.js +1 -1
  113. package/dist/nodes/Elastic/ElasticSecurity/ElasticSecurity.node.js.map +1 -1
  114. package/dist/nodes/Elastic/Elasticsearch/Elasticsearch.node.js +1 -1
  115. package/dist/nodes/Elastic/Elasticsearch/Elasticsearch.node.js.map +1 -1
  116. package/dist/nodes/EmailSend/v1/EmailSendV1.node.js +1 -1
  117. package/dist/nodes/EmailSend/v1/EmailSendV1.node.js.map +1 -1
  118. package/dist/nodes/EmailSend/v2/send.operation.js +1 -1
  119. package/dist/nodes/EmailSend/v2/send.operation.js.map +1 -1
  120. package/dist/nodes/Emelia/Emelia.node.js +1 -1
  121. package/dist/nodes/Emelia/Emelia.node.js.map +1 -1
  122. package/dist/nodes/ErrorTrigger/ErrorTrigger.node.js +1 -1
  123. package/dist/nodes/ErrorTrigger/ErrorTrigger.node.js.map +1 -1
  124. package/dist/nodes/ExecuteCommand/ExecuteCommand.node.js +1 -1
  125. package/dist/nodes/ExecuteCommand/ExecuteCommand.node.js.map +1 -1
  126. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow.node.js +1 -1
  127. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow.node.js.map +1 -1
  128. package/dist/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.d.ts +2 -2
  129. package/dist/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.js +1 -2
  130. package/dist/nodes/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.js.map +1 -1
  131. package/dist/nodes/FileMaker/FileMaker.node.js +1 -1
  132. package/dist/nodes/FileMaker/FileMaker.node.js.map +1 -1
  133. package/dist/nodes/Flow/Flow.node.js +1 -1
  134. package/dist/nodes/Flow/Flow.node.js.map +1 -1
  135. package/dist/nodes/Freshdesk/Freshdesk.node.js +1 -1
  136. package/dist/nodes/Freshdesk/Freshdesk.node.js.map +1 -1
  137. package/dist/nodes/Freshservice/Freshservice.node.js +1 -1
  138. package/dist/nodes/Freshservice/Freshservice.node.js.map +1 -1
  139. package/dist/nodes/FreshworksCrm/FreshworksCrm.node.js +1 -1
  140. package/dist/nodes/FreshworksCrm/FreshworksCrm.node.js.map +1 -1
  141. package/dist/nodes/Ftp/Ftp.node.js +1 -1
  142. package/dist/nodes/Ftp/Ftp.node.js.map +1 -1
  143. package/dist/nodes/Function/Function.node.js +1 -1
  144. package/dist/nodes/Function/Function.node.js.map +1 -1
  145. package/dist/nodes/FunctionItem/FunctionItem.node.js +1 -1
  146. package/dist/nodes/FunctionItem/FunctionItem.node.js.map +1 -1
  147. package/dist/nodes/GetResponse/GetResponse.node.js +1 -1
  148. package/dist/nodes/GetResponse/GetResponse.node.js.map +1 -1
  149. package/dist/nodes/Ghost/Ghost.node.js +1 -1
  150. package/dist/nodes/Ghost/Ghost.node.js.map +1 -1
  151. package/dist/nodes/Git/Git.node.js +1 -1
  152. package/dist/nodes/Git/Git.node.js.map +1 -1
  153. package/dist/nodes/Github/Github.node.js +1 -1
  154. package/dist/nodes/Github/Github.node.js.map +1 -1
  155. package/dist/nodes/Gitlab/Gitlab.node.js +2 -2
  156. package/dist/nodes/Gitlab/Gitlab.node.js.map +1 -1
  157. package/dist/nodes/GoToWebinar/GoToWebinar.node.js +1 -1
  158. package/dist/nodes/GoToWebinar/GoToWebinar.node.js.map +1 -1
  159. package/dist/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.js +1 -1
  160. package/dist/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.js.map +1 -1
  161. package/dist/nodes/Google/Analytics/v2/actions/router.js +1 -1
  162. package/dist/nodes/Google/Analytics/v2/actions/router.js.map +1 -1
  163. package/dist/nodes/Google/BigQuery/v1/GoogleBigQueryV1.node.js +1 -1
  164. package/dist/nodes/Google/BigQuery/v1/GoogleBigQueryV1.node.js.map +1 -1
  165. package/dist/nodes/Google/BigQuery/v2/actions/router.js +1 -1
  166. package/dist/nodes/Google/BigQuery/v2/actions/router.js.map +1 -1
  167. package/dist/nodes/Google/Books/GoogleBooks.node.js +1 -1
  168. package/dist/nodes/Google/Books/GoogleBooks.node.js.map +1 -1
  169. package/dist/nodes/Google/Calendar/GoogleCalendar.node.js +1 -1
  170. package/dist/nodes/Google/Calendar/GoogleCalendar.node.js.map +1 -1
  171. package/dist/nodes/Google/Chat/GoogleChat.node.js +2 -2
  172. package/dist/nodes/Google/Chat/GoogleChat.node.js.map +1 -1
  173. package/dist/nodes/Google/Contacts/GoogleContacts.node.js +1 -1
  174. package/dist/nodes/Google/Contacts/GoogleContacts.node.js.map +1 -1
  175. package/dist/nodes/Google/Docs/GoogleDocs.node.js +1 -1
  176. package/dist/nodes/Google/Docs/GoogleDocs.node.js.map +1 -1
  177. package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.js +2 -2
  178. package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.js.map +1 -1
  179. package/dist/nodes/Google/Drive/v2/actions/router.js +1 -1
  180. package/dist/nodes/Google/Drive/v2/actions/router.js.map +1 -1
  181. package/dist/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.js +1 -1
  182. package/dist/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.js.map +1 -1
  183. package/dist/nodes/Google/Firebase/RealtimeDatabase/GoogleFirebaseRealtimeDatabase.node.js +1 -1
  184. package/dist/nodes/Google/Firebase/RealtimeDatabase/GoogleFirebaseRealtimeDatabase.node.js.map +1 -1
  185. package/dist/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.js +1 -1
  186. package/dist/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.js.map +1 -1
  187. package/dist/nodes/Google/Gmail/v1/GmailV1.node.js +1 -1
  188. package/dist/nodes/Google/Gmail/v1/GmailV1.node.js.map +1 -1
  189. package/dist/nodes/Google/Gmail/v2/GmailV2.node.js +2 -2
  190. package/dist/nodes/Google/Gmail/v2/GmailV2.node.js.map +1 -1
  191. package/dist/nodes/Google/Perspective/GooglePerspective.node.js +1 -1
  192. package/dist/nodes/Google/Perspective/GooglePerspective.node.js.map +1 -1
  193. package/dist/nodes/Google/Sheet/v1/GoogleSheetsV1.node.js +8 -8
  194. package/dist/nodes/Google/Sheet/v1/GoogleSheetsV1.node.js.map +1 -1
  195. package/dist/nodes/Google/Slides/GoogleSlides.node.js +1 -1
  196. package/dist/nodes/Google/Slides/GoogleSlides.node.js.map +1 -1
  197. package/dist/nodes/Google/Task/GoogleTasks.node.js +1 -1
  198. package/dist/nodes/Google/Task/GoogleTasks.node.js.map +1 -1
  199. package/dist/nodes/Google/Translate/GoogleTranslate.node.js +1 -1
  200. package/dist/nodes/Google/Translate/GoogleTranslate.node.js.map +1 -1
  201. package/dist/nodes/Google/YouTube/YouTube.node.js +1 -1
  202. package/dist/nodes/Google/YouTube/YouTube.node.js.map +1 -1
  203. package/dist/nodes/Gotify/Gotify.node.js +1 -1
  204. package/dist/nodes/Gotify/Gotify.node.js.map +1 -1
  205. package/dist/nodes/GraphQL/GraphQL.node.js +1 -1
  206. package/dist/nodes/GraphQL/GraphQL.node.js.map +1 -1
  207. package/dist/nodes/Grist/Grist.node.js +1 -1
  208. package/dist/nodes/Grist/Grist.node.js.map +1 -1
  209. package/dist/nodes/HackerNews/HackerNews.node.js +1 -1
  210. package/dist/nodes/HackerNews/HackerNews.node.js.map +1 -1
  211. package/dist/nodes/HaloPSA/HaloPSA.node.js +1 -1
  212. package/dist/nodes/HaloPSA/HaloPSA.node.js.map +1 -1
  213. package/dist/nodes/Harvest/Harvest.node.js +1 -1
  214. package/dist/nodes/Harvest/Harvest.node.js.map +1 -1
  215. package/dist/nodes/HelpScout/HelpScout.node.js +1 -1
  216. package/dist/nodes/HelpScout/HelpScout.node.js.map +1 -1
  217. package/dist/nodes/HomeAssistant/HomeAssistant.node.js +2 -2
  218. package/dist/nodes/HomeAssistant/HomeAssistant.node.js.map +1 -1
  219. package/dist/nodes/Html/Html.node.js +2 -2
  220. package/dist/nodes/Html/Html.node.js.map +1 -1
  221. package/dist/nodes/HtmlExtract/HtmlExtract.node.js +1 -1
  222. package/dist/nodes/HtmlExtract/HtmlExtract.node.js.map +1 -1
  223. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +7 -5
  224. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
  225. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js +7 -5
  226. package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
  227. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +5 -5
  228. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  229. package/dist/nodes/HttpRequest/test/binaryData/binaryData.test.json +242 -0
  230. package/dist/nodes/Hubspot/V1/HubspotV1.node.js +1 -1
  231. package/dist/nodes/Hubspot/V1/HubspotV1.node.js.map +1 -1
  232. package/dist/nodes/Hubspot/V2/HubspotV2.node.js +1 -1
  233. package/dist/nodes/Hubspot/V2/HubspotV2.node.js.map +1 -1
  234. package/dist/nodes/Hunter/Hunter.node.js +1 -1
  235. package/dist/nodes/Hunter/Hunter.node.js.map +1 -1
  236. package/dist/nodes/Intercom/Intercom.node.js +1 -1
  237. package/dist/nodes/Intercom/Intercom.node.js.map +1 -1
  238. package/dist/nodes/InvoiceNinja/InvoiceNinja.node.js +1 -1
  239. package/dist/nodes/InvoiceNinja/InvoiceNinja.node.js.map +1 -1
  240. package/dist/nodes/ItemLists/V1/ItemListsV1.node.js +8 -9
  241. package/dist/nodes/ItemLists/V1/ItemListsV1.node.js.map +1 -1
  242. package/dist/nodes/ItemLists/V1/summarize.operation.js +3 -3
  243. package/dist/nodes/ItemLists/V1/summarize.operation.js.map +1 -1
  244. package/dist/nodes/ItemLists/V2/ItemListsV2.node.js +8 -9
  245. package/dist/nodes/ItemLists/V2/ItemListsV2.node.js.map +1 -1
  246. package/dist/nodes/ItemLists/V2/summarize.operation.js +3 -3
  247. package/dist/nodes/ItemLists/V2/summarize.operation.js.map +1 -1
  248. package/dist/nodes/ItemLists/V3/actions/router.js +1 -1
  249. package/dist/nodes/ItemLists/V3/actions/router.js.map +1 -1
  250. package/dist/nodes/Jira/Jira.node.js +1 -1
  251. package/dist/nodes/Jira/Jira.node.js.map +1 -1
  252. package/dist/nodes/Keap/Keap.node.js +1 -1
  253. package/dist/nodes/Keap/Keap.node.js.map +1 -1
  254. package/dist/nodes/Kitemaker/Kitemaker.node.js +1 -1
  255. package/dist/nodes/Kitemaker/Kitemaker.node.js.map +1 -1
  256. package/dist/nodes/Ldap/Ldap.node.js +1 -1
  257. package/dist/nodes/Ldap/Ldap.node.js.map +1 -1
  258. package/dist/nodes/Lemlist/Lemlist.node.js +1 -1
  259. package/dist/nodes/Lemlist/Lemlist.node.js.map +1 -1
  260. package/dist/nodes/Line/Line.node.js +1 -1
  261. package/dist/nodes/Line/Line.node.js.map +1 -1
  262. package/dist/nodes/Linear/Linear.node.js +1 -1
  263. package/dist/nodes/Linear/Linear.node.js.map +1 -1
  264. package/dist/nodes/LinkedIn/LinkedIn.node.js +1 -1
  265. package/dist/nodes/LinkedIn/LinkedIn.node.js.map +1 -1
  266. package/dist/nodes/LoneScale/LoneScale.node.js +1 -1
  267. package/dist/nodes/LoneScale/LoneScale.node.js.map +1 -1
  268. package/dist/nodes/Magento/Magento2.node.js +1 -1
  269. package/dist/nodes/Magento/Magento2.node.js.map +1 -1
  270. package/dist/nodes/Mailchimp/Mailchimp.node.js +1 -1
  271. package/dist/nodes/Mailchimp/Mailchimp.node.js.map +1 -1
  272. package/dist/nodes/MailerLite/MailerLite.node.js +1 -1
  273. package/dist/nodes/MailerLite/MailerLite.node.js.map +1 -1
  274. package/dist/nodes/Mailgun/Mailgun.node.js +1 -1
  275. package/dist/nodes/Mailgun/Mailgun.node.js.map +1 -1
  276. package/dist/nodes/Mailjet/Mailjet.node.js +1 -1
  277. package/dist/nodes/Mailjet/Mailjet.node.js.map +1 -1
  278. package/dist/nodes/Mandrill/Mandrill.node.js +1 -1
  279. package/dist/nodes/Mandrill/Mandrill.node.js.map +1 -1
  280. package/dist/nodes/Marketstack/Marketstack.node.js +1 -1
  281. package/dist/nodes/Marketstack/Marketstack.node.js.map +1 -1
  282. package/dist/nodes/Matrix/Matrix.node.js +1 -1
  283. package/dist/nodes/Matrix/Matrix.node.js.map +1 -1
  284. package/dist/nodes/Mautic/Mautic.node.js +1 -1
  285. package/dist/nodes/Mautic/Mautic.node.js.map +1 -1
  286. package/dist/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.js +1 -1
  287. package/dist/nodes/Microsoft/Dynamics/MicrosoftDynamicsCrm.node.js.map +1 -1
  288. package/dist/nodes/Microsoft/Excel/v1/MicrosoftExcelV1.node.js +1 -1
  289. package/dist/nodes/Microsoft/Excel/v1/MicrosoftExcelV1.node.js.map +1 -1
  290. package/dist/nodes/Microsoft/Excel/v2/actions/router.js +1 -1
  291. package/dist/nodes/Microsoft/Excel/v2/actions/router.js.map +1 -1
  292. package/dist/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.js +2 -2
  293. package/dist/nodes/Microsoft/OneDrive/MicrosoftOneDrive.node.js.map +1 -1
  294. package/dist/nodes/Microsoft/Outlook/MicrosoftOutlook.node.js +2 -2
  295. package/dist/nodes/Microsoft/Outlook/MicrosoftOutlook.node.js.map +1 -1
  296. package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js +1 -1
  297. package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js.map +1 -1
  298. package/dist/nodes/Microsoft/Teams/MicrosoftTeams.node.js +1 -1
  299. package/dist/nodes/Microsoft/Teams/MicrosoftTeams.node.js.map +1 -1
  300. package/dist/nodes/Microsoft/ToDo/MicrosoftToDo.node.js +1 -1
  301. package/dist/nodes/Microsoft/ToDo/MicrosoftToDo.node.js.map +1 -1
  302. package/dist/nodes/Misp/Misp.node.js +1 -1
  303. package/dist/nodes/Misp/Misp.node.js.map +1 -1
  304. package/dist/nodes/MondayCom/MondayCom.node.js +1 -1
  305. package/dist/nodes/MondayCom/MondayCom.node.js.map +1 -1
  306. package/dist/nodes/MongoDb/MongoDb.node.js +1 -1
  307. package/dist/nodes/MongoDb/MongoDb.node.js.map +1 -1
  308. package/dist/nodes/MonicaCrm/MonicaCrm.node.js +1 -1
  309. package/dist/nodes/MonicaCrm/MonicaCrm.node.js.map +1 -1
  310. package/dist/nodes/MySql/v1/MySqlV1.node.js +1 -1
  311. package/dist/nodes/MySql/v1/MySqlV1.node.js.map +1 -1
  312. package/dist/nodes/MySql/v2/actions/router.js +1 -1
  313. package/dist/nodes/MySql/v2/actions/router.js.map +1 -1
  314. package/dist/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.js +1 -1
  315. package/dist/nodes/N8nTrainingCustomerDatastore/N8nTrainingCustomerDatastore.node.js.map +1 -1
  316. package/dist/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.js +1 -1
  317. package/dist/nodes/N8nTrainingCustomerMessenger/N8nTrainingCustomerMessenger.node.js.map +1 -1
  318. package/dist/nodes/Nasa/Nasa.node.js +3 -3
  319. package/dist/nodes/Nasa/Nasa.node.js.map +1 -1
  320. package/dist/nodes/Netlify/Netlify.node.js +1 -1
  321. package/dist/nodes/Netlify/Netlify.node.js.map +1 -1
  322. package/dist/nodes/NextCloud/NextCloud.node.js +1 -1
  323. package/dist/nodes/NextCloud/NextCloud.node.js.map +1 -1
  324. package/dist/nodes/NoOp/NoOp.node.js +1 -1
  325. package/dist/nodes/NoOp/NoOp.node.js.map +1 -1
  326. package/dist/nodes/NocoDB/NocoDB.node.js +2 -2
  327. package/dist/nodes/NocoDB/NocoDB.node.js.map +1 -1
  328. package/dist/nodes/Notion/v1/NotionV1.node.js +1 -1
  329. package/dist/nodes/Notion/v1/NotionV1.node.js.map +1 -1
  330. package/dist/nodes/Notion/v2/NotionV2.node.js +1 -1
  331. package/dist/nodes/Notion/v2/NotionV2.node.js.map +1 -1
  332. package/dist/nodes/Odoo/Odoo.node.js +1 -1
  333. package/dist/nodes/Odoo/Odoo.node.js.map +1 -1
  334. package/dist/nodes/OneSimpleApi/OneSimpleApi.node.js +1 -1
  335. package/dist/nodes/OneSimpleApi/OneSimpleApi.node.js.map +1 -1
  336. package/dist/nodes/OpenThesaurus/OpenThesaurus.node.js +1 -1
  337. package/dist/nodes/OpenThesaurus/OpenThesaurus.node.js.map +1 -1
  338. package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.js +1 -1
  339. package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.js.map +1 -1
  340. package/dist/nodes/Orbit/Orbit.node.js +1 -1
  341. package/dist/nodes/Orbit/Orbit.node.js.map +1 -1
  342. package/dist/nodes/Paddle/Paddle.node.js +1 -1
  343. package/dist/nodes/Paddle/Paddle.node.js.map +1 -1
  344. package/dist/nodes/PagerDuty/PagerDuty.node.js +1 -1
  345. package/dist/nodes/PagerDuty/PagerDuty.node.js.map +1 -1
  346. package/dist/nodes/PayPal/PayPal.node.js +1 -1
  347. package/dist/nodes/PayPal/PayPal.node.js.map +1 -1
  348. package/dist/nodes/Phantombuster/Phantombuster.node.js +1 -1
  349. package/dist/nodes/Phantombuster/Phantombuster.node.js.map +1 -1
  350. package/dist/nodes/PhilipsHue/PhilipsHue.node.js +1 -1
  351. package/dist/nodes/PhilipsHue/PhilipsHue.node.js.map +1 -1
  352. package/dist/nodes/Pipedrive/Pipedrive.node.js +2 -2
  353. package/dist/nodes/Pipedrive/Pipedrive.node.js.map +1 -1
  354. package/dist/nodes/Postgres/v1/PostgresV1.node.js +1 -1
  355. package/dist/nodes/Postgres/v1/PostgresV1.node.js.map +1 -1
  356. package/dist/nodes/Postgres/v2/actions/database/insert.operation.js +13 -5
  357. package/dist/nodes/Postgres/v2/actions/database/insert.operation.js.map +1 -1
  358. package/dist/nodes/Postgres/v2/actions/database/update.operation.js +13 -5
  359. package/dist/nodes/Postgres/v2/actions/database/update.operation.js.map +1 -1
  360. package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js +13 -5
  361. package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js.map +1 -1
  362. package/dist/nodes/Postgres/v2/actions/router.js +2 -2
  363. package/dist/nodes/Postgres/v2/actions/router.js.map +1 -1
  364. package/dist/nodes/Postgres/v2/helpers/interfaces.d.ts +1 -1
  365. package/dist/nodes/Postgres/v2/helpers/utils.d.ts +1 -0
  366. package/dist/nodes/Postgres/v2/helpers/utils.js +14 -1
  367. package/dist/nodes/Postgres/v2/helpers/utils.js.map +1 -1
  368. package/dist/nodes/Postgres/v2/methods/listSearch.js +4 -4
  369. package/dist/nodes/Postgres/v2/methods/listSearch.js.map +1 -1
  370. package/dist/nodes/Postgres/v2/methods/loadOptions.js +2 -2
  371. package/dist/nodes/Postgres/v2/methods/loadOptions.js.map +1 -1
  372. package/dist/nodes/Postgres/v2/methods/resourceMapping.js +7 -1
  373. package/dist/nodes/Postgres/v2/methods/resourceMapping.js.map +1 -1
  374. package/dist/nodes/Pushbullet/Pushbullet.node.js +1 -1
  375. package/dist/nodes/Pushbullet/Pushbullet.node.js.map +1 -1
  376. package/dist/nodes/Pushover/Pushover.node.js +1 -1
  377. package/dist/nodes/Pushover/Pushover.node.js.map +1 -1
  378. package/dist/nodes/QuestDb/QuestDb.node.js +1 -1
  379. package/dist/nodes/QuestDb/QuestDb.node.js.map +1 -1
  380. package/dist/nodes/QuickBase/QuickBase.node.js +2 -2
  381. package/dist/nodes/QuickBase/QuickBase.node.js.map +1 -1
  382. package/dist/nodes/QuickBooks/QuickBooks.node.js +2 -2
  383. package/dist/nodes/QuickBooks/QuickBooks.node.js.map +1 -1
  384. package/dist/nodes/QuickChart/QuickChart.node.js +9 -7
  385. package/dist/nodes/QuickChart/QuickChart.node.js.map +1 -1
  386. package/dist/nodes/RabbitMQ/RabbitMQ.node.js +2 -2
  387. package/dist/nodes/RabbitMQ/RabbitMQ.node.js.map +1 -1
  388. package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.js +1 -1
  389. package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.js.map +1 -1
  390. package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.js +1 -1
  391. package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.js.map +1 -1
  392. package/dist/nodes/ReadPdf/ReadPDF.node.js +1 -1
  393. package/dist/nodes/ReadPdf/ReadPDF.node.js.map +1 -1
  394. package/dist/nodes/Reddit/Reddit.node.js +1 -1
  395. package/dist/nodes/Reddit/Reddit.node.js.map +1 -1
  396. package/dist/nodes/Redis/Redis.node.js +2 -2
  397. package/dist/nodes/Redis/Redis.node.js.map +1 -1
  398. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js +1 -1
  399. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js.map +1 -1
  400. package/dist/nodes/Rocketchat/Rocketchat.node.js +1 -1
  401. package/dist/nodes/Rocketchat/Rocketchat.node.js.map +1 -1
  402. package/dist/nodes/RssFeedRead/RssFeedRead.node.js +1 -1
  403. package/dist/nodes/RssFeedRead/RssFeedRead.node.js.map +1 -1
  404. package/dist/nodes/S3/S3.node.js +2 -2
  405. package/dist/nodes/S3/S3.node.js.map +1 -1
  406. package/dist/nodes/Salesforce/Salesforce.node.js +1 -1
  407. package/dist/nodes/Salesforce/Salesforce.node.js.map +1 -1
  408. package/dist/nodes/Salesmate/Salesmate.node.js +1 -1
  409. package/dist/nodes/Salesmate/Salesmate.node.js.map +1 -1
  410. package/dist/nodes/SeaTable/SeaTable.node.js +1 -1
  411. package/dist/nodes/SeaTable/SeaTable.node.js.map +1 -1
  412. package/dist/nodes/SecurityScorecard/SecurityScorecard.node.js +1 -1
  413. package/dist/nodes/SecurityScorecard/SecurityScorecard.node.js.map +1 -1
  414. package/dist/nodes/SendGrid/SendGrid.node.js +1 -1
  415. package/dist/nodes/SendGrid/SendGrid.node.js.map +1 -1
  416. package/dist/nodes/SentryIo/SentryIo.node.js +1 -1
  417. package/dist/nodes/SentryIo/SentryIo.node.js.map +1 -1
  418. package/dist/nodes/ServiceNow/ServiceNow.node.js +2 -2
  419. package/dist/nodes/ServiceNow/ServiceNow.node.js.map +1 -1
  420. package/dist/nodes/Set/Set.node.js +1 -1
  421. package/dist/nodes/Set/Set.node.js.map +1 -1
  422. package/dist/nodes/Shopify/Shopify.node.js +1 -1
  423. package/dist/nodes/Shopify/Shopify.node.js.map +1 -1
  424. package/dist/nodes/Slack/V1/SlackV1.node.js +1 -1
  425. package/dist/nodes/Slack/V1/SlackV1.node.js.map +1 -1
  426. package/dist/nodes/Slack/V2/SlackV2.node.js +1 -1
  427. package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -1
  428. package/dist/nodes/Snowflake/Snowflake.node.js +1 -1
  429. package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
  430. package/dist/nodes/Spotify/Spotify.node.js +1 -1
  431. package/dist/nodes/Spotify/Spotify.node.js.map +1 -1
  432. package/dist/nodes/SpreadsheetFile/SpreadsheetFile.node.d.ts +3 -4
  433. package/dist/nodes/SpreadsheetFile/SpreadsheetFile.node.js +10 -433
  434. package/dist/nodes/SpreadsheetFile/SpreadsheetFile.node.js.map +1 -1
  435. package/dist/nodes/SpreadsheetFile/description.d.ts +6 -0
  436. package/dist/nodes/SpreadsheetFile/description.js +274 -0
  437. package/dist/nodes/SpreadsheetFile/description.js.map +1 -0
  438. package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.d.ts +6 -0
  439. package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.js +216 -0
  440. package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.js.map +1 -0
  441. package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.d.ts +6 -0
  442. package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.js +241 -0
  443. package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.js.map +1 -0
  444. package/dist/nodes/Ssh/Ssh.node.js +2 -2
  445. package/dist/nodes/Ssh/Ssh.node.js.map +1 -1
  446. package/dist/nodes/Stackby/Stackby.node.js +1 -1
  447. package/dist/nodes/Stackby/Stackby.node.js.map +1 -1
  448. package/dist/nodes/Start/Start.node.js +1 -1
  449. package/dist/nodes/Start/Start.node.js.map +1 -1
  450. package/dist/nodes/StickyNote/StickyNote.node.js +1 -1
  451. package/dist/nodes/StickyNote/StickyNote.node.js.map +1 -1
  452. package/dist/nodes/Storyblok/Storyblok.node.js +1 -1
  453. package/dist/nodes/Storyblok/Storyblok.node.js.map +1 -1
  454. package/dist/nodes/Strapi/GenericFunctions.d.ts +4 -2
  455. package/dist/nodes/Strapi/GenericFunctions.js +10 -5
  456. package/dist/nodes/Strapi/GenericFunctions.js.map +1 -1
  457. package/dist/nodes/Strapi/Strapi.node.js +43 -6
  458. package/dist/nodes/Strapi/Strapi.node.js.map +1 -1
  459. package/dist/nodes/Strapi/Strapi.node.json +1 -1
  460. package/dist/nodes/Strava/Strava.node.js +1 -1
  461. package/dist/nodes/Strava/Strava.node.js.map +1 -1
  462. package/dist/nodes/Stripe/Stripe.node.js +1 -1
  463. package/dist/nodes/Stripe/Stripe.node.js.map +1 -1
  464. package/dist/nodes/Supabase/Supabase.node.js +1 -1
  465. package/dist/nodes/Supabase/Supabase.node.js.map +1 -1
  466. package/dist/nodes/SyncroMSP/v1/actions/router.js +1 -1
  467. package/dist/nodes/SyncroMSP/v1/actions/router.js.map +1 -1
  468. package/dist/nodes/Taiga/Taiga.node.js +1 -1
  469. package/dist/nodes/Taiga/Taiga.node.js.map +1 -1
  470. package/dist/nodes/Tapfiliate/Tapfiliate.node.js +1 -1
  471. package/dist/nodes/Tapfiliate/Tapfiliate.node.js.map +1 -1
  472. package/dist/nodes/Telegram/Telegram.node.js +1 -1
  473. package/dist/nodes/Telegram/Telegram.node.js.map +1 -1
  474. package/dist/nodes/TheHive/TheHive.node.js +1 -1
  475. package/dist/nodes/TheHive/TheHive.node.js.map +1 -1
  476. package/dist/nodes/TheHiveProject/TheHiveProject.node.d.ts +11 -0
  477. package/dist/nodes/TheHiveProject/TheHiveProject.node.js +17 -0
  478. package/dist/nodes/TheHiveProject/TheHiveProject.node.js.map +1 -0
  479. package/dist/nodes/TheHiveProject/TheHiveProject.node.json +19 -0
  480. package/dist/nodes/TheHiveProject/TheHiveProjectTrigger.node.d.ts +12 -0
  481. package/dist/nodes/TheHiveProject/TheHiveProjectTrigger.node.js +289 -0
  482. package/dist/nodes/TheHiveProject/TheHiveProjectTrigger.node.js.map +1 -0
  483. package/dist/nodes/TheHiveProject/TheHiveProjectTrigger.node.json +13 -0
  484. package/dist/nodes/TheHiveProject/actions/alert/create.operation.d.ts +23 -0
  485. package/dist/nodes/TheHiveProject/actions/alert/create.operation.js +159 -0
  486. package/dist/nodes/TheHiveProject/actions/alert/create.operation.js.map +1 -0
  487. package/dist/nodes/TheHiveProject/actions/alert/deleteAlert.operation.d.ts +23 -0
  488. package/dist/nodes/TheHiveProject/actions/alert/deleteAlert.operation.js +24 -0
  489. package/dist/nodes/TheHiveProject/actions/alert/deleteAlert.operation.js.map +1 -0
  490. package/dist/nodes/TheHiveProject/actions/alert/executeResponder.operation.d.ts +23 -0
  491. package/dist/nodes/TheHiveProject/actions/alert/executeResponder.operation.js +64 -0
  492. package/dist/nodes/TheHiveProject/actions/alert/executeResponder.operation.js.map +1 -0
  493. package/dist/nodes/TheHiveProject/actions/alert/get.operation.d.ts +23 -0
  494. package/dist/nodes/TheHiveProject/actions/alert/get.operation.js +85 -0
  495. package/dist/nodes/TheHiveProject/actions/alert/get.operation.js.map +1 -0
  496. package/dist/nodes/TheHiveProject/actions/alert/index.d.ts +12 -0
  497. package/dist/nodes/TheHiveProject/actions/alert/index.js +116 -0
  498. package/dist/nodes/TheHiveProject/actions/alert/index.js.map +1 -0
  499. package/dist/nodes/TheHiveProject/actions/alert/merge.operation.d.ts +23 -0
  500. package/dist/nodes/TheHiveProject/actions/alert/merge.operation.js +26 -0
  501. package/dist/nodes/TheHiveProject/actions/alert/merge.operation.js.map +1 -0
  502. package/dist/nodes/TheHiveProject/actions/alert/promote.operation.d.ts +23 -0
  503. package/dist/nodes/TheHiveProject/actions/alert/promote.operation.js +51 -0
  504. package/dist/nodes/TheHiveProject/actions/alert/promote.operation.js.map +1 -0
  505. package/dist/nodes/TheHiveProject/actions/alert/search.operation.d.ts +23 -0
  506. package/dist/nodes/TheHiveProject/actions/alert/search.operation.js +37 -0
  507. package/dist/nodes/TheHiveProject/actions/alert/search.operation.js.map +1 -0
  508. package/dist/nodes/TheHiveProject/actions/alert/status.operation.d.ts +23 -0
  509. package/dist/nodes/TheHiveProject/actions/alert/status.operation.js +38 -0
  510. package/dist/nodes/TheHiveProject/actions/alert/status.operation.js.map +1 -0
  511. package/dist/nodes/TheHiveProject/actions/alert/update.operation.d.ts +23 -0
  512. package/dist/nodes/TheHiveProject/actions/alert/update.operation.js +116 -0
  513. package/dist/nodes/TheHiveProject/actions/alert/update.operation.js.map +1 -0
  514. package/dist/nodes/TheHiveProject/actions/case/addAttachment.operation.d.ts +23 -0
  515. package/dist/nodes/TheHiveProject/actions/case/addAttachment.operation.js +66 -0
  516. package/dist/nodes/TheHiveProject/actions/case/addAttachment.operation.js.map +1 -0
  517. package/dist/nodes/TheHiveProject/actions/case/create.operation.d.ts +23 -0
  518. package/dist/nodes/TheHiveProject/actions/case/create.operation.js +62 -0
  519. package/dist/nodes/TheHiveProject/actions/case/create.operation.js.map +1 -0
  520. package/dist/nodes/TheHiveProject/actions/case/deleteAttachment.operation.d.ts +23 -0
  521. package/dist/nodes/TheHiveProject/actions/case/deleteAttachment.operation.js +38 -0
  522. package/dist/nodes/TheHiveProject/actions/case/deleteAttachment.operation.js.map +1 -0
  523. package/dist/nodes/TheHiveProject/actions/case/deleteCase.operation.d.ts +23 -0
  524. package/dist/nodes/TheHiveProject/actions/case/deleteCase.operation.js +24 -0
  525. package/dist/nodes/TheHiveProject/actions/case/deleteCase.operation.js.map +1 -0
  526. package/dist/nodes/TheHiveProject/actions/case/executeResponder.operation.d.ts +23 -0
  527. package/dist/nodes/TheHiveProject/actions/case/executeResponder.operation.js +64 -0
  528. package/dist/nodes/TheHiveProject/actions/case/executeResponder.operation.js.map +1 -0
  529. package/dist/nodes/TheHiveProject/actions/case/get.operation.d.ts +23 -0
  530. package/dist/nodes/TheHiveProject/actions/case/get.operation.js +41 -0
  531. package/dist/nodes/TheHiveProject/actions/case/get.operation.js.map +1 -0
  532. package/dist/nodes/TheHiveProject/actions/case/getAttachment.operation.d.ts +23 -0
  533. package/dist/nodes/TheHiveProject/actions/case/getAttachment.operation.js +90 -0
  534. package/dist/nodes/TheHiveProject/actions/case/getAttachment.operation.js.map +1 -0
  535. package/dist/nodes/TheHiveProject/actions/case/getTimeline.operation.d.ts +23 -0
  536. package/dist/nodes/TheHiveProject/actions/case/getTimeline.operation.js +25 -0
  537. package/dist/nodes/TheHiveProject/actions/case/getTimeline.operation.js.map +1 -0
  538. package/dist/nodes/TheHiveProject/actions/case/index.d.ts +13 -0
  539. package/dist/nodes/TheHiveProject/actions/case/index.js +124 -0
  540. package/dist/nodes/TheHiveProject/actions/case/index.js.map +1 -0
  541. package/dist/nodes/TheHiveProject/actions/case/search.operation.d.ts +23 -0
  542. package/dist/nodes/TheHiveProject/actions/case/search.operation.js +37 -0
  543. package/dist/nodes/TheHiveProject/actions/case/search.operation.js.map +1 -0
  544. package/dist/nodes/TheHiveProject/actions/case/update.operation.d.ts +23 -0
  545. package/dist/nodes/TheHiveProject/actions/case/update.operation.js +116 -0
  546. package/dist/nodes/TheHiveProject/actions/case/update.operation.js.map +1 -0
  547. package/dist/nodes/TheHiveProject/actions/comment/add.operation.d.ts +23 -0
  548. package/dist/nodes/TheHiveProject/actions/comment/add.operation.js +75 -0
  549. package/dist/nodes/TheHiveProject/actions/comment/add.operation.js.map +1 -0
  550. package/dist/nodes/TheHiveProject/actions/comment/deleteComment.operation.d.ts +23 -0
  551. package/dist/nodes/TheHiveProject/actions/comment/deleteComment.operation.js +24 -0
  552. package/dist/nodes/TheHiveProject/actions/comment/deleteComment.operation.js.map +1 -0
  553. package/dist/nodes/TheHiveProject/actions/comment/index.d.ts +7 -0
  554. package/dist/nodes/TheHiveProject/actions/comment/index.js +76 -0
  555. package/dist/nodes/TheHiveProject/actions/comment/index.js.map +1 -0
  556. package/dist/nodes/TheHiveProject/actions/comment/search.operation.d.ts +23 -0
  557. package/dist/nodes/TheHiveProject/actions/comment/search.operation.js +91 -0
  558. package/dist/nodes/TheHiveProject/actions/comment/search.operation.js.map +1 -0
  559. package/dist/nodes/TheHiveProject/actions/comment/update.operation.d.ts +23 -0
  560. package/dist/nodes/TheHiveProject/actions/comment/update.operation.js +41 -0
  561. package/dist/nodes/TheHiveProject/actions/comment/update.operation.js.map +1 -0
  562. package/dist/nodes/TheHiveProject/actions/log/addAttachment.operation.d.ts +23 -0
  563. package/dist/nodes/TheHiveProject/actions/log/addAttachment.operation.js +44 -0
  564. package/dist/nodes/TheHiveProject/actions/log/addAttachment.operation.js.map +1 -0
  565. package/dist/nodes/TheHiveProject/actions/log/create.operation.d.ts +23 -0
  566. package/dist/nodes/TheHiveProject/actions/log/create.operation.js +84 -0
  567. package/dist/nodes/TheHiveProject/actions/log/create.operation.js.map +1 -0
  568. package/dist/nodes/TheHiveProject/actions/log/deleteAttachment.operation.d.ts +23 -0
  569. package/dist/nodes/TheHiveProject/actions/log/deleteAttachment.operation.js +39 -0
  570. package/dist/nodes/TheHiveProject/actions/log/deleteAttachment.operation.js.map +1 -0
  571. package/dist/nodes/TheHiveProject/actions/log/deleteLog.operation.d.ts +23 -0
  572. package/dist/nodes/TheHiveProject/actions/log/deleteLog.operation.js +24 -0
  573. package/dist/nodes/TheHiveProject/actions/log/deleteLog.operation.js.map +1 -0
  574. package/dist/nodes/TheHiveProject/actions/log/executeResponder.operation.d.ts +23 -0
  575. package/dist/nodes/TheHiveProject/actions/log/executeResponder.operation.js +63 -0
  576. package/dist/nodes/TheHiveProject/actions/log/executeResponder.operation.js.map +1 -0
  577. package/dist/nodes/TheHiveProject/actions/log/get.operation.d.ts +23 -0
  578. package/dist/nodes/TheHiveProject/actions/log/get.operation.js +33 -0
  579. package/dist/nodes/TheHiveProject/actions/log/get.operation.js.map +1 -0
  580. package/dist/nodes/TheHiveProject/actions/log/index.d.ts +10 -0
  581. package/dist/nodes/TheHiveProject/actions/log/index.js +100 -0
  582. package/dist/nodes/TheHiveProject/actions/log/index.js.map +1 -0
  583. package/dist/nodes/TheHiveProject/actions/log/search.operation.d.ts +23 -0
  584. package/dist/nodes/TheHiveProject/actions/log/search.operation.js +61 -0
  585. package/dist/nodes/TheHiveProject/actions/log/search.operation.js.map +1 -0
  586. package/dist/nodes/TheHiveProject/actions/node.description.d.ts +2 -0
  587. package/dist/nodes/TheHiveProject/actions/node.description.js +107 -0
  588. package/dist/nodes/TheHiveProject/actions/node.description.js.map +1 -0
  589. package/dist/nodes/TheHiveProject/actions/node.type.d.ts +13 -0
  590. package/dist/nodes/TheHiveProject/actions/node.type.js +3 -0
  591. package/dist/nodes/TheHiveProject/actions/node.type.js.map +1 -0
  592. package/dist/nodes/TheHiveProject/actions/observable/create.operation.d.ts +23 -0
  593. package/dist/nodes/TheHiveProject/actions/observable/create.operation.js +152 -0
  594. package/dist/nodes/TheHiveProject/actions/observable/create.operation.js.map +1 -0
  595. package/dist/nodes/TheHiveProject/actions/observable/deleteObservable.operation.d.ts +23 -0
  596. package/dist/nodes/TheHiveProject/actions/observable/deleteObservable.operation.js +26 -0
  597. package/dist/nodes/TheHiveProject/actions/observable/deleteObservable.operation.js.map +1 -0
  598. package/dist/nodes/TheHiveProject/actions/observable/executeAnalyzer.operation.d.ts +23 -0
  599. package/dist/nodes/TheHiveProject/actions/observable/executeAnalyzer.operation.js +68 -0
  600. package/dist/nodes/TheHiveProject/actions/observable/executeAnalyzer.operation.js.map +1 -0
  601. package/dist/nodes/TheHiveProject/actions/observable/executeResponder.operation.d.ts +23 -0
  602. package/dist/nodes/TheHiveProject/actions/observable/executeResponder.operation.js +64 -0
  603. package/dist/nodes/TheHiveProject/actions/observable/executeResponder.operation.js.map +1 -0
  604. package/dist/nodes/TheHiveProject/actions/observable/get.operation.d.ts +23 -0
  605. package/dist/nodes/TheHiveProject/actions/observable/get.operation.js +37 -0
  606. package/dist/nodes/TheHiveProject/actions/observable/get.operation.js.map +1 -0
  607. package/dist/nodes/TheHiveProject/actions/observable/index.d.ts +10 -0
  608. package/dist/nodes/TheHiveProject/actions/observable/index.js +100 -0
  609. package/dist/nodes/TheHiveProject/actions/observable/index.js.map +1 -0
  610. package/dist/nodes/TheHiveProject/actions/observable/search.operation.d.ts +23 -0
  611. package/dist/nodes/TheHiveProject/actions/observable/search.operation.js +91 -0
  612. package/dist/nodes/TheHiveProject/actions/observable/search.operation.js.map +1 -0
  613. package/dist/nodes/TheHiveProject/actions/observable/update.operation.d.ts +23 -0
  614. package/dist/nodes/TheHiveProject/actions/observable/update.operation.js +102 -0
  615. package/dist/nodes/TheHiveProject/actions/observable/update.operation.js.map +1 -0
  616. package/dist/nodes/TheHiveProject/actions/page/create.operation.d.ts +23 -0
  617. package/dist/nodes/TheHiveProject/actions/page/create.operation.js +90 -0
  618. package/dist/nodes/TheHiveProject/actions/page/create.operation.js.map +1 -0
  619. package/dist/nodes/TheHiveProject/actions/page/deletePage.operation.d.ts +23 -0
  620. package/dist/nodes/TheHiveProject/actions/page/deletePage.operation.js +59 -0
  621. package/dist/nodes/TheHiveProject/actions/page/deletePage.operation.js.map +1 -0
  622. package/dist/nodes/TheHiveProject/actions/page/index.d.ts +7 -0
  623. package/dist/nodes/TheHiveProject/actions/page/index.js +76 -0
  624. package/dist/nodes/TheHiveProject/actions/page/index.js.map +1 -0
  625. package/dist/nodes/TheHiveProject/actions/page/search.operation.d.ts +23 -0
  626. package/dist/nodes/TheHiveProject/actions/page/search.operation.js +71 -0
  627. package/dist/nodes/TheHiveProject/actions/page/search.operation.js.map +1 -0
  628. package/dist/nodes/TheHiveProject/actions/page/update.operation.d.ts +23 -0
  629. package/dist/nodes/TheHiveProject/actions/page/update.operation.js +105 -0
  630. package/dist/nodes/TheHiveProject/actions/page/update.operation.js.map +1 -0
  631. package/dist/nodes/TheHiveProject/actions/query/executeQuery.operation.d.ts +23 -0
  632. package/dist/nodes/TheHiveProject/actions/query/executeQuery.operation.js +60 -0
  633. package/dist/nodes/TheHiveProject/actions/query/executeQuery.operation.js.map +1 -0
  634. package/dist/nodes/TheHiveProject/actions/query/index.d.ts +4 -0
  635. package/dist/nodes/TheHiveProject/actions/query/index.js +52 -0
  636. package/dist/nodes/TheHiveProject/actions/query/index.js.map +1 -0
  637. package/dist/nodes/TheHiveProject/actions/router.d.ts +2 -0
  638. package/dist/nodes/TheHiveProject/actions/router.js +91 -0
  639. package/dist/nodes/TheHiveProject/actions/router.js.map +1 -0
  640. package/dist/nodes/TheHiveProject/actions/task/create.operation.d.ts +23 -0
  641. package/dist/nodes/TheHiveProject/actions/task/create.operation.js +57 -0
  642. package/dist/nodes/TheHiveProject/actions/task/create.operation.js.map +1 -0
  643. package/dist/nodes/TheHiveProject/actions/task/deleteTask.operation.d.ts +23 -0
  644. package/dist/nodes/TheHiveProject/actions/task/deleteTask.operation.js +24 -0
  645. package/dist/nodes/TheHiveProject/actions/task/deleteTask.operation.js.map +1 -0
  646. package/dist/nodes/TheHiveProject/actions/task/executeResponder.operation.d.ts +23 -0
  647. package/dist/nodes/TheHiveProject/actions/task/executeResponder.operation.js +64 -0
  648. package/dist/nodes/TheHiveProject/actions/task/executeResponder.operation.js.map +1 -0
  649. package/dist/nodes/TheHiveProject/actions/task/get.operation.d.ts +23 -0
  650. package/dist/nodes/TheHiveProject/actions/task/get.operation.js +35 -0
  651. package/dist/nodes/TheHiveProject/actions/task/get.operation.js.map +1 -0
  652. package/dist/nodes/TheHiveProject/actions/task/index.d.ts +9 -0
  653. package/dist/nodes/TheHiveProject/actions/task/index.js +92 -0
  654. package/dist/nodes/TheHiveProject/actions/task/index.js.map +1 -0
  655. package/dist/nodes/TheHiveProject/actions/task/search.operation.d.ts +23 -0
  656. package/dist/nodes/TheHiveProject/actions/task/search.operation.js +61 -0
  657. package/dist/nodes/TheHiveProject/actions/task/search.operation.js.map +1 -0
  658. package/dist/nodes/TheHiveProject/actions/task/update.operation.d.ts +23 -0
  659. package/dist/nodes/TheHiveProject/actions/task/update.operation.js +102 -0
  660. package/dist/nodes/TheHiveProject/actions/task/update.operation.js.map +1 -0
  661. package/dist/nodes/TheHiveProject/descriptions/common.description.d.ts +12 -0
  662. package/dist/nodes/TheHiveProject/descriptions/common.description.js +517 -0
  663. package/dist/nodes/TheHiveProject/descriptions/common.description.js.map +1 -0
  664. package/dist/nodes/TheHiveProject/descriptions/filter.description.d.ts +3 -0
  665. package/dist/nodes/TheHiveProject/descriptions/filter.description.js +310 -0
  666. package/dist/nodes/TheHiveProject/descriptions/filter.description.js.map +1 -0
  667. package/dist/nodes/TheHiveProject/descriptions/index.d.ts +3 -0
  668. package/dist/nodes/TheHiveProject/descriptions/index.js +20 -0
  669. package/dist/nodes/TheHiveProject/descriptions/index.js.map +1 -0
  670. package/dist/nodes/TheHiveProject/descriptions/rlc.description.d.ts +8 -0
  671. package/dist/nodes/TheHiveProject/descriptions/rlc.description.js +281 -0
  672. package/dist/nodes/TheHiveProject/descriptions/rlc.description.js.map +1 -0
  673. package/dist/nodes/TheHiveProject/helpers/constants.d.ts +64 -0
  674. package/dist/nodes/TheHiveProject/helpers/constants.js +542 -0
  675. package/dist/nodes/TheHiveProject/helpers/constants.js.map +1 -0
  676. package/dist/nodes/TheHiveProject/helpers/interfaces.d.ts +11 -0
  677. package/dist/nodes/TheHiveProject/helpers/interfaces.js +11 -0
  678. package/dist/nodes/TheHiveProject/helpers/interfaces.js.map +1 -0
  679. package/dist/nodes/TheHiveProject/helpers/utils.d.ts +25 -0
  680. package/dist/nodes/TheHiveProject/helpers/utils.js +93 -0
  681. package/dist/nodes/TheHiveProject/helpers/utils.js.map +1 -0
  682. package/dist/nodes/TheHiveProject/methods/index.d.ts +3 -0
  683. package/dist/nodes/TheHiveProject/methods/index.js +30 -0
  684. package/dist/nodes/TheHiveProject/methods/index.js.map +1 -0
  685. package/dist/nodes/TheHiveProject/methods/listSearch.d.ts +8 -0
  686. package/dist/nodes/TheHiveProject/methods/listSearch.js +181 -0
  687. package/dist/nodes/TheHiveProject/methods/listSearch.js.map +1 -0
  688. package/dist/nodes/TheHiveProject/methods/loadOptions.d.ts +15 -0
  689. package/dist/nodes/TheHiveProject/methods/loadOptions.js +271 -0
  690. package/dist/nodes/TheHiveProject/methods/loadOptions.js.map +1 -0
  691. package/dist/nodes/TheHiveProject/methods/resourceMapping.d.ts +10 -0
  692. package/dist/nodes/TheHiveProject/methods/resourceMapping.js +356 -0
  693. package/dist/nodes/TheHiveProject/methods/resourceMapping.js.map +1 -0
  694. package/dist/nodes/TheHiveProject/thehiveproject.svg +1 -0
  695. package/dist/nodes/TheHiveProject/transport/index.d.ts +2 -0
  696. package/dist/nodes/TheHiveProject/transport/index.js +19 -0
  697. package/dist/nodes/TheHiveProject/transport/index.js.map +1 -0
  698. package/dist/nodes/TheHiveProject/transport/queryHelper.d.ts +3 -0
  699. package/dist/nodes/TheHiveProject/transport/queryHelper.js +82 -0
  700. package/dist/nodes/TheHiveProject/transport/queryHelper.js.map +1 -0
  701. package/dist/nodes/TheHiveProject/transport/requestApi.d.ts +2 -0
  702. package/dist/nodes/TheHiveProject/transport/requestApi.js +26 -0
  703. package/dist/nodes/TheHiveProject/transport/requestApi.js.map +1 -0
  704. package/dist/nodes/TimescaleDb/TimescaleDb.node.js +1 -1
  705. package/dist/nodes/TimescaleDb/TimescaleDb.node.js.map +1 -1
  706. package/dist/nodes/Todoist/v2/TodoistV2.node.js +1 -1
  707. package/dist/nodes/Todoist/v2/TodoistV2.node.js.map +1 -1
  708. package/dist/nodes/Totp/Totp.node.js +1 -1
  709. package/dist/nodes/Totp/Totp.node.js.map +1 -1
  710. package/dist/nodes/TravisCi/TravisCi.node.js +1 -1
  711. package/dist/nodes/TravisCi/TravisCi.node.js.map +1 -1
  712. package/dist/nodes/Trello/Trello.node.js +1 -1
  713. package/dist/nodes/Trello/Trello.node.js.map +1 -1
  714. package/dist/nodes/Twitter/V1/TwitterV1.node.js +1 -1
  715. package/dist/nodes/Twitter/V1/TwitterV1.node.js.map +1 -1
  716. package/dist/nodes/Twitter/V2/TwitterV2.node.js +1 -1
  717. package/dist/nodes/Twitter/V2/TwitterV2.node.js.map +1 -1
  718. package/dist/nodes/UnleashedSoftware/UnleashedSoftware.node.js +1 -1
  719. package/dist/nodes/UnleashedSoftware/UnleashedSoftware.node.js.map +1 -1
  720. package/dist/nodes/Webflow/Webflow.node.js +1 -1
  721. package/dist/nodes/Webflow/Webflow.node.js.map +1 -1
  722. package/dist/nodes/Wise/Wise.node.js +1 -1
  723. package/dist/nodes/Wise/Wise.node.js.map +1 -1
  724. package/dist/nodes/WooCommerce/WooCommerce.node.js +1 -1
  725. package/dist/nodes/WooCommerce/WooCommerce.node.js.map +1 -1
  726. package/dist/nodes/Wordpress/Wordpress.node.js +1 -1
  727. package/dist/nodes/Wordpress/Wordpress.node.js.map +1 -1
  728. package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.js +1 -1
  729. package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.js.map +1 -1
  730. package/dist/nodes/Xero/Xero.node.js +1 -1
  731. package/dist/nodes/Xero/Xero.node.js.map +1 -1
  732. package/dist/nodes/Xml/Xml.node.js +1 -1
  733. package/dist/nodes/Xml/Xml.node.js.map +1 -1
  734. package/dist/nodes/Zammad/Zammad.node.js +1 -1
  735. package/dist/nodes/Zammad/Zammad.node.js.map +1 -1
  736. package/dist/nodes/Zendesk/Zendesk.node.js +1 -1
  737. package/dist/nodes/Zendesk/Zendesk.node.js.map +1 -1
  738. package/dist/nodes/Zoho/ZohoCrm.node.js +1 -1
  739. package/dist/nodes/Zoho/ZohoCrm.node.js.map +1 -1
  740. package/dist/nodes/Zoom/Zoom.node.js +1 -1
  741. package/dist/nodes/Zoom/Zoom.node.js.map +1 -1
  742. package/dist/nodes/Zulip/Zulip.node.js +1 -1
  743. package/dist/nodes/Zulip/Zulip.node.js.map +1 -1
  744. package/dist/types/credentials.json +3 -1
  745. package/dist/types/nodes.json +11 -7
  746. package/dist/utils/utilities.d.ts +1 -0
  747. package/dist/utils/utilities.js +25 -1
  748. package/dist/utils/utilities.js.map +1 -1
  749. package/package.json +10 -4
@@ -89,6 +89,7 @@
89
89
  {"displayName":"Dropbox","name":"n8n-nodes-base.dropbox","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Access data on Dropbox","defaults":{"name":"Dropbox"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"dropboxApi","required":true,"displayOptions":{"show":{"authentication":["accessToken"]}}},{"name":"dropboxOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Access Token","value":"accessToken"},{"name":"OAuth2","value":"oAuth2"}],"default":"accessToken","description":"Means of authenticating with the service"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"File","value":"file"},{"name":"Folder","value":"folder"},{"name":"Search","value":"search"}],"default":"file"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Copy","value":"copy","description":"Copy a file","action":"Copy a file"},{"name":"Delete","value":"delete","description":"Delete a file","action":"Delete a file"},{"name":"Download","value":"download","description":"Download a file","action":"Download a file"},{"name":"Move","value":"move","description":"Move a file","action":"Move a file"},{"name":"Upload","value":"upload","description":"Upload a file","action":"Upload a file"}],"default":"upload"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["folder"]}},"options":[{"name":"Copy","value":"copy","description":"Copy a folder","action":"Copy a folder"},{"name":"Create","value":"create","description":"Create a folder","action":"Create a folder"},{"name":"Delete","value":"delete","description":"Delete a folder","action":"Delete a folder"},{"name":"List","value":"list","description":"Return the files and folders in a given folder","action":"List a folder"},{"name":"Move","value":"move","description":"Move a folder","action":"Move a folder"}],"default":"create"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["search"]}},"options":[{"name":"Query","value":"query","action":"Query"}],"default":"query"},{"displayName":"From Path","name":"path","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["copy"],"resource":["file","folder"]}},"placeholder":"/invoices/original.txt","description":"The path of file or folder to copy"},{"displayName":"To Path","name":"toPath","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["copy"],"resource":["file","folder"]}},"placeholder":"/invoices/copy.txt","description":"The destination path of file or folder"},{"displayName":"Delete Path","name":"path","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["delete"],"resource":["file","folder"]}},"placeholder":"/invoices/2019/invoice_1.pdf","description":"The path to delete. Can be a single file or a whole folder."},{"displayName":"From Path","name":"path","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["move"],"resource":["file","folder"]}},"placeholder":"/invoices/old_name.txt","description":"The path of file or folder to move"},{"displayName":"To Path","name":"toPath","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["move"],"resource":["file","folder"]}},"placeholder":"/invoices/new_name.txt","description":"The new path of file or folder"},{"displayName":"File Path","name":"path","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"placeholder":"/invoices/2019/invoice_1.pdf","description":"The file path of the file to download. Has to contain the full path."},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"File Path","name":"path","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"placeholder":"/invoices/2019/invoice_1.pdf","description":"The file path of the file to upload. Has to contain the full path. The parent folder has to exist. Existing files get overwritten."},{"displayName":"Binary Data","name":"binaryData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"Whether the data to upload should be taken from binary field"},{"displayName":"File Content","name":"fileContent","type":"string","default":"","displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[false]}},"placeholder":"","description":"The text content of the file to upload"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[true]}},"placeholder":"","description":"Name of the binary property which contains the data for the file to be uploaded"},{"displayName":"Query","name":"query","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["query"],"resource":["search"]}},"description":"The string to search for. May match across multiple fields based on the request arguments."},{"displayName":"File Status","name":"fileStatus","type":"options","options":[{"name":"Active","value":"active"},{"name":"Deleted","value":"deleted"}],"default":"active","displayOptions":{"show":{"operation":["query"],"resource":["search"]}},"description":"The string to search for. May match across multiple fields based on the request arguments."},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["query"],"resource":["search"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["search"],"operation":["query"],"returnAll":[false]}},"default":100,"description":"Max number of results to return"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["query"],"resource":["search"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["search"],"operation":["query"]}},"options":[{"displayName":"File Categories","name":"file_categories","type":"multiOptions","options":[{"name":"Audio (mp3, qav, mid, etc.)","value":"audio"},{"name":"Document (doc, docx, txt, etc.)","value":"document"},{"name":"Dropbox Paper","value":"paper"},{"name":"Folder","value":"folder"},{"name":"Image (jpg, png, gif, etc.)","value":"image"},{"name":"Other","value":"other"},{"name":"PDF","value":"pdf"},{"name":"Presentation (ppt, pptx, key, etc.)","value":"presentation"},{"name":"Spreadsheet (xlsx, xls, csv, etc.)","value":"spreadsheet"},{"name":"Video (avi, wmv, mp4, etc.)","value":"video"}],"default":[]},{"displayName":"File Extensions","name":"file_extensions","type":"string","default":"","description":"Multiple file extensions can be set separated by comma. Example: jpg,pdf."},{"displayName":"Folder","name":"path","type":"string","default":"","description":"If this field is not specified, this module searches the entire Dropbox"}]},{"displayName":"Folder","name":"path","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["folder"]}},"placeholder":"/invoices/2019","description":"The folder to create. The parent folder has to exist."},{"displayName":"Folder Path","name":"path","type":"string","default":"","displayOptions":{"show":{"operation":["list"],"resource":["folder"]}},"placeholder":"/invoices/2019/","description":"The path of which to list the content"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["list"],"resource":["folder"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["folder"],"operation":["list"],"returnAll":[false]}},"default":100,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["folder"],"operation":["list"]}},"options":[{"displayName":"Include Deleted","name":"include_deleted","type":"boolean","default":false,"description":"Whether the results will include entries for files and folders that used to exist but were deleted. The default for this field is False."},{"displayName":"Include Shared Members","name":"include_has_explicit_shared_members","type":"boolean","default":false,"description":"Whether the results will include a flag for each file indicating whether or not that file has any explicit members. The default for this field is False."},{"displayName":"Include Mounted Folders","name":"include_mounted_folders","type":"boolean","default":true,"description":"Whether the results will include entries under mounted folders which includes app folder, shared folder and team folder. The default for this field is True."},{"displayName":"Include Non Downloadable Files","name":"include_non_downloadable_files","type":"boolean","default":true,"description":"Whether to include files that are not downloadable, i.e. Google Docs. The default for this field is True."},{"displayName":"Recursive","name":"recursive","type":"boolean","default":false,"description":"Whether the list folder operation will be applied recursively to all subfolders and the response will contain contents of all subfolders. The default for this field is False."}]}],"codex":{"categories":["Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.dropbox/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/dropbox"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Dropbox/dropbox.svg"},
90
90
  {"displayName":"Dropcontact","name":"n8n-nodes-base.dropcontact","group":["transform"],"version":1,"description":"Find B2B emails and enrich contacts","subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","defaults":{"name":"Dropcontact"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"dropcontactApi","required":true}],"properties":[{"displayName":"Resource","noDataExpression":true,"name":"resource","type":"options","options":[{"name":"Contact","value":"contact"}],"default":"contact","required":true},{"displayName":"Operation","noDataExpression":true,"name":"operation","type":"options","options":[{"name":"Enrich","value":"enrich","description":"Find B2B emails and enrich your contact from his name and his website","action":"Find B2B emails"},{"name":"Fetch Request","value":"fetchRequest"}],"default":"enrich","required":true},{"displayName":"Request ID","name":"requestId","type":"string","required":true,"displayOptions":{"show":{"resource":["contact"],"operation":["fetchRequest"]}},"default":""},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","displayOptions":{"show":{"resource":["contact"],"operation":["enrich"]}},"default":""},{"displayName":"Simplify Output (Faster)","name":"simplify","type":"boolean","displayOptions":{"show":{"resource":["contact"],"operation":["enrich"]}},"default":false,"description":"When off, waits for the contact data before completing. Waiting time can be adjusted with Extend Wait Time option. When on, returns a request_id that can be used later in the Fetch Request operation."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["contact"],"operation":["enrich"]}},"options":[{"displayName":"Company SIREN Number","name":"num_siren","type":"string","default":""},{"displayName":"Company SIRET Code","name":"siret","type":"string","default":""},{"displayName":"Company Name","name":"company","type":"string","default":""},{"displayName":"Country","name":"country","type":"string","default":""},{"displayName":"First Name","name":"first_name","type":"string","default":""},{"displayName":"Full Name","name":"full_name","type":"string","default":""},{"displayName":"Last Name","name":"last_name","type":"string","default":""},{"displayName":"LinkedIn Profile","name":"linkedin","type":"string","default":""},{"displayName":"Phone Number","name":"phone","type":"string","default":""},{"displayName":"Website","name":"website","type":"string","default":""}]},{"displayName":"Options","name":"options","type":"collection","displayOptions":{"show":{"resource":["contact"],"operation":["enrich"]}},"placeholder":"Add Option","default":{},"options":[{"displayName":"Data Fetch Wait Time","name":"waitTime","type":"number","typeOptions":{"minValue":1},"displayOptions":{"show":{"/simplify":[false]}},"default":45,"description":"When not simplifying the response, data will be fetched in two steps. This parameter controls how long to wait (in seconds) before trying the second step."},{"displayName":"French Company Enrich","name":"siren","type":"boolean","default":false,"description":"Whether you want the <a href=\"https://en.wikipedia.org/wiki/SIREN_code\" target=\"_blank\">SIREN number</a>, NAF code, TVA number, company address and informations about the company leader. Only applies to french companies."},{"displayName":"Language","name":"language","type":"options","options":[{"name":"English","value":"en"},{"name":"French","value":"fr"}],"default":"en","description":"Whether the response is in English or French"}]}],"codex":{"categories":["Sales"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.dropcontact/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/dropcontact"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Dropcontact/dropcontact.svg"},
91
91
  {"displayName":"Edit Image","name":"n8n-nodes-base.editImage","icon":"fa:image","group":["transform"],"version":1,"description":"Edits an image like blur, resize or adding border and text","defaults":{"name":"Edit Image","color":"#553399"},"inputs":["main"],"outputs":["main"],"properties":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Blur","value":"blur","description":"Adds a blur to the image and so makes it less sharp","action":"Blur Image"},{"name":"Border","value":"border","description":"Adds a border to the image","action":"Border Image"},{"name":"Composite","value":"composite","description":"Composite image on top of another one","action":"Composite Image"},{"name":"Create","value":"create","description":"Create a new image","action":"Create Image"},{"name":"Crop","value":"crop","description":"Crops the image","action":"Crop Image"},{"name":"Draw","value":"draw","description":"Draw on image","action":"Draw Image"},{"name":"Get Information","value":"information","description":"Returns image information like resolution"},{"name":"Multi Step","value":"multiStep","description":"Perform multiple operations"},{"name":"Resize","value":"resize","description":"Change the size of image","action":"Resize Image"},{"name":"Rotate","value":"rotate","description":"Rotate image","action":"Rotate Image"},{"name":"Shear","value":"shear","description":"Shear image along the X or Y axis","action":"Shear Image"},{"name":"Text","value":"text","description":"Adds text to image","action":"Apply Text to Image"},{"name":"Transparent","value":"transparent","description":"Make a color in image transparent","action":"Add Transparency to Image"}],"default":"border"},{"displayName":"Property Name","name":"dataPropertyName","type":"string","default":"data","description":"Name of the binary property in which the image data can be found"},{"displayName":"Operations","name":"operations","placeholder":"Add Operation","type":"fixedCollection","typeOptions":{"multipleValues":true,"sortable":true},"displayOptions":{"show":{"operation":["multiStep"]}},"description":"The operations to perform","default":{},"options":[{"name":"operations","displayName":"Operations","values":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Blur","value":"blur","description":"Adds a blur to the image and so makes it less sharp","action":"Blur Image"},{"name":"Border","value":"border","description":"Adds a border to the image","action":"Border Image"},{"name":"Composite","value":"composite","description":"Composite image on top of another one","action":"Composite Image"},{"name":"Create","value":"create","description":"Create a new image","action":"Create Image"},{"name":"Crop","value":"crop","description":"Crops the image","action":"Crop Image"},{"name":"Draw","value":"draw","description":"Draw on image","action":"Draw Image"},{"name":"Rotate","value":"rotate","description":"Rotate image","action":"Rotate Image"},{"name":"Resize","value":"resize","description":"Change the size of image","action":"Resize Image"},{"name":"Shear","value":"shear","description":"Shear image along the X or Y axis","action":"Shear Image"},{"name":"Text","value":"text","description":"Adds text to image","action":"Apply Text to Image"},{"name":"Transparent","value":"transparent","description":"Make a color in image transparent","action":"Add Transparency to Image"}],"default":""},{"displayName":"Background Color","name":"backgroundColor","type":"color","default":"#ffffff00","typeOptions":{"showAlpha":true},"displayOptions":{"show":{"operation":["create"]}},"description":"The background color of the image to create"},{"displayName":"Image Width","name":"width","type":"number","default":50,"typeOptions":{"minValue":1},"displayOptions":{"show":{"operation":["create"]}},"description":"The width of the image to create"},{"displayName":"Image Height","name":"height","type":"number","default":50,"typeOptions":{"minValue":1},"displayOptions":{"show":{"operation":["create"]}},"description":"The height of the image to create"},{"displayName":"Primitive","name":"primitive","type":"options","displayOptions":{"show":{"operation":["draw"]}},"options":[{"name":"Circle","value":"circle"},{"name":"Line","value":"line"},{"name":"Rectangle","value":"rectangle"}],"default":"rectangle","description":"The primitive to draw"},{"displayName":"Color","name":"color","type":"color","default":"#ff000000","typeOptions":{"showAlpha":true},"displayOptions":{"show":{"operation":["draw"]}},"description":"The color of the primitive to draw"},{"displayName":"Start Position X","name":"startPositionX","type":"number","default":50,"displayOptions":{"show":{"operation":["draw"],"primitive":["circle","line","rectangle"]}},"description":"X (horizontal) start position of the primitive"},{"displayName":"Start Position Y","name":"startPositionY","type":"number","default":50,"displayOptions":{"show":{"operation":["draw"],"primitive":["circle","line","rectangle"]}},"description":"Y (horizontal) start position of the primitive"},{"displayName":"End Position X","name":"endPositionX","type":"number","default":250,"displayOptions":{"show":{"operation":["draw"],"primitive":["circle","line","rectangle"]}},"description":"X (horizontal) end position of the primitive"},{"displayName":"End Position Y","name":"endPositionY","type":"number","default":250,"displayOptions":{"show":{"operation":["draw"],"primitive":["circle","line","rectangle"]}},"description":"Y (horizontal) end position of the primitive"},{"displayName":"Corner Radius","name":"cornerRadius","type":"number","default":0,"displayOptions":{"show":{"operation":["draw"],"primitive":["rectangle"]}},"description":"The radius of the corner to create round corners"},{"displayName":"Text","name":"text","typeOptions":{"rows":5},"type":"string","default":"","placeholder":"Text to render","displayOptions":{"show":{"operation":["text"]}},"description":"Text to write on the image"},{"displayName":"Font Size","name":"fontSize","type":"number","default":18,"displayOptions":{"show":{"operation":["text"]}},"description":"Size of the text"},{"displayName":"Font Color","name":"fontColor","type":"color","default":"#000000","displayOptions":{"show":{"operation":["text"]}},"description":"Color of the text"},{"displayName":"Position X","name":"positionX","type":"number","default":50,"displayOptions":{"show":{"operation":["text"]}},"description":"X (horizontal) position of the text"},{"displayName":"Position Y","name":"positionY","type":"number","default":50,"displayOptions":{"show":{"operation":["text"]}},"description":"Y (vertical) position of the text"},{"displayName":"Max Line Length","name":"lineLength","type":"number","typeOptions":{"minValue":1},"default":80,"displayOptions":{"show":{"operation":["text"]}},"description":"Max amount of characters in a line before a line-break should get added"},{"displayName":"Blur","name":"blur","type":"number","typeOptions":{"minValue":0,"maxValue":1000},"default":5,"displayOptions":{"show":{"operation":["blur"]}},"description":"How strong the blur should be"},{"displayName":"Sigma","name":"sigma","type":"number","typeOptions":{"minValue":0,"maxValue":1000},"default":2,"displayOptions":{"show":{"operation":["blur"]}},"description":"The sigma of the blur"},{"displayName":"Border Width","name":"borderWidth","type":"number","default":10,"displayOptions":{"show":{"operation":["border"]}},"description":"The width of the border"},{"displayName":"Border Height","name":"borderHeight","type":"number","default":10,"displayOptions":{"show":{"operation":["border"]}},"description":"The height of the border"},{"displayName":"Border Color","name":"borderColor","type":"color","default":"#000000","displayOptions":{"show":{"operation":["border"]}},"description":"Color of the border"},{"displayName":"Composite Image Property","name":"dataPropertyNameComposite","type":"string","default":"","placeholder":"data2","displayOptions":{"show":{"operation":["composite"]}},"description":"The name of the binary property which contains the data of the image to composite on top of image which is found in Property Name"},{"displayName":"Operator","name":"operator","type":"options","displayOptions":{"show":{"operation":["composite"]}},"options":[{"name":"Add","value":"Add"},{"name":"Atop","value":"Atop"},{"name":"Bumpmap","value":"Bumpmap"},{"name":"Copy","value":"Copy"},{"name":"Copy Black","value":"CopyBlack"},{"name":"Copy Blue","value":"CopyBlue"},{"name":"Copy Cyan","value":"CopyCyan"},{"name":"Copy Green","value":"CopyGreen"},{"name":"Copy Magenta","value":"CopyMagenta"},{"name":"Copy Opacity","value":"CopyOpacity"},{"name":"Copy Red","value":"CopyRed"},{"name":"Copy Yellow","value":"CopyYellow"},{"name":"Difference","value":"Difference"},{"name":"Divide","value":"Divide"},{"name":"In","value":"In"},{"name":"Minus","value":"Minus"},{"name":"Multiply","value":"Multiply"},{"name":"Out","value":"Out"},{"name":"Over","value":"Over"},{"name":"Plus","value":"Plus"},{"name":"Subtract","value":"Subtract"},{"name":"Xor","value":"Xor"}],"default":"Over","description":"The operator to use to combine the images"},{"displayName":"Position X","name":"positionX","type":"number","default":0,"displayOptions":{"show":{"operation":["composite"]}},"description":"X (horizontal) position of composite image"},{"displayName":"Position Y","name":"positionY","type":"number","default":0,"displayOptions":{"show":{"operation":["composite"]}},"description":"Y (vertical) position of composite image"},{"displayName":"Width","name":"width","type":"number","default":500,"displayOptions":{"show":{"operation":["crop"]}},"description":"Crop width"},{"displayName":"Height","name":"height","type":"number","default":500,"displayOptions":{"show":{"operation":["crop"]}},"description":"Crop height"},{"displayName":"Position X","name":"positionX","type":"number","default":0,"displayOptions":{"show":{"operation":["crop"]}},"description":"X (horizontal) position to crop from"},{"displayName":"Position Y","name":"positionY","type":"number","default":0,"displayOptions":{"show":{"operation":["crop"]}},"description":"Y (vertical) position to crop from"},{"displayName":"Width","name":"width","type":"number","default":500,"displayOptions":{"show":{"operation":["resize"]}},"description":"New width of the image"},{"displayName":"Height","name":"height","type":"number","default":500,"displayOptions":{"show":{"operation":["resize"]}},"description":"New height of the image"},{"displayName":"Option","name":"resizeOption","type":"options","options":[{"name":"Ignore Aspect Ratio","value":"ignoreAspectRatio","description":"Ignore aspect ratio and resize exactly to specified values"},{"name":"Maximum Area","value":"maximumArea","description":"Specified values are maximum area"},{"name":"Minimum Area","value":"minimumArea","description":"Specified values are minimum area"},{"name":"Only if Larger","value":"onlyIfLarger","description":"Resize only if image is larger than width or height"},{"name":"Only if Smaller","value":"onlyIfSmaller","description":"Resize only if image is smaller than width or height"},{"name":"Percent","value":"percent","description":"Width and height are specified in percents"}],"default":"maximumArea","displayOptions":{"show":{"operation":["resize"]}},"description":"How to resize the image"},{"displayName":"Rotate","name":"rotate","type":"number","typeOptions":{"minValue":-360,"maxValue":360},"default":0,"displayOptions":{"show":{"operation":["rotate"]}},"description":"How much the image should be rotated"},{"displayName":"Background Color","name":"backgroundColor","type":"color","default":"#ffffffff","typeOptions":{"showAlpha":true},"displayOptions":{"show":{"operation":["rotate"]}},"description":"The color to use for the background when image gets rotated by anything which is not a multiple of 90"},{"displayName":"Degrees X","name":"degreesX","type":"number","default":0,"displayOptions":{"show":{"operation":["shear"]}},"description":"X (horizontal) shear degrees"},{"displayName":"Degrees Y","name":"degreesY","type":"number","default":0,"displayOptions":{"show":{"operation":["shear"]}},"description":"Y (vertical) shear degrees"},{"displayName":"Color","name":"color","type":"color","default":"#ff0000","displayOptions":{"show":{"operation":["transparent"]}},"description":"The color to make transparent"},{"displayName":"Font Name or ID","name":"font","type":"options","displayOptions":{"show":{"operation":["text"]}},"typeOptions":{"loadOptionsMethod":"getFonts"},"default":"default","description":"The font to use. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]}]},{"displayName":"Background Color","name":"backgroundColor","type":"color","default":"#ffffff00","typeOptions":{"showAlpha":true},"displayOptions":{"show":{"operation":["create"]}},"description":"The background color of the image to create"},{"displayName":"Image Width","name":"width","type":"number","default":50,"typeOptions":{"minValue":1},"displayOptions":{"show":{"operation":["create"]}},"description":"The width of the image to create"},{"displayName":"Image Height","name":"height","type":"number","default":50,"typeOptions":{"minValue":1},"displayOptions":{"show":{"operation":["create"]}},"description":"The height of the image to create"},{"displayName":"Primitive","name":"primitive","type":"options","displayOptions":{"show":{"operation":["draw"]}},"options":[{"name":"Circle","value":"circle"},{"name":"Line","value":"line"},{"name":"Rectangle","value":"rectangle"}],"default":"rectangle","description":"The primitive to draw"},{"displayName":"Color","name":"color","type":"color","default":"#ff000000","typeOptions":{"showAlpha":true},"displayOptions":{"show":{"operation":["draw"]}},"description":"The color of the primitive to draw"},{"displayName":"Start Position X","name":"startPositionX","type":"number","default":50,"displayOptions":{"show":{"operation":["draw"],"primitive":["circle","line","rectangle"]}},"description":"X (horizontal) start position of the primitive"},{"displayName":"Start Position Y","name":"startPositionY","type":"number","default":50,"displayOptions":{"show":{"operation":["draw"],"primitive":["circle","line","rectangle"]}},"description":"Y (horizontal) start position of the primitive"},{"displayName":"End Position X","name":"endPositionX","type":"number","default":250,"displayOptions":{"show":{"operation":["draw"],"primitive":["circle","line","rectangle"]}},"description":"X (horizontal) end position of the primitive"},{"displayName":"End Position Y","name":"endPositionY","type":"number","default":250,"displayOptions":{"show":{"operation":["draw"],"primitive":["circle","line","rectangle"]}},"description":"Y (horizontal) end position of the primitive"},{"displayName":"Corner Radius","name":"cornerRadius","type":"number","default":0,"displayOptions":{"show":{"operation":["draw"],"primitive":["rectangle"]}},"description":"The radius of the corner to create round corners"},{"displayName":"Text","name":"text","typeOptions":{"rows":5},"type":"string","default":"","placeholder":"Text to render","displayOptions":{"show":{"operation":["text"]}},"description":"Text to write on the image"},{"displayName":"Font Size","name":"fontSize","type":"number","default":18,"displayOptions":{"show":{"operation":["text"]}},"description":"Size of the text"},{"displayName":"Font Color","name":"fontColor","type":"color","default":"#000000","displayOptions":{"show":{"operation":["text"]}},"description":"Color of the text"},{"displayName":"Position X","name":"positionX","type":"number","default":50,"displayOptions":{"show":{"operation":["text"]}},"description":"X (horizontal) position of the text"},{"displayName":"Position Y","name":"positionY","type":"number","default":50,"displayOptions":{"show":{"operation":["text"]}},"description":"Y (vertical) position of the text"},{"displayName":"Max Line Length","name":"lineLength","type":"number","typeOptions":{"minValue":1},"default":80,"displayOptions":{"show":{"operation":["text"]}},"description":"Max amount of characters in a line before a line-break should get added"},{"displayName":"Blur","name":"blur","type":"number","typeOptions":{"minValue":0,"maxValue":1000},"default":5,"displayOptions":{"show":{"operation":["blur"]}},"description":"How strong the blur should be"},{"displayName":"Sigma","name":"sigma","type":"number","typeOptions":{"minValue":0,"maxValue":1000},"default":2,"displayOptions":{"show":{"operation":["blur"]}},"description":"The sigma of the blur"},{"displayName":"Border Width","name":"borderWidth","type":"number","default":10,"displayOptions":{"show":{"operation":["border"]}},"description":"The width of the border"},{"displayName":"Border Height","name":"borderHeight","type":"number","default":10,"displayOptions":{"show":{"operation":["border"]}},"description":"The height of the border"},{"displayName":"Border Color","name":"borderColor","type":"color","default":"#000000","displayOptions":{"show":{"operation":["border"]}},"description":"Color of the border"},{"displayName":"Composite Image Property","name":"dataPropertyNameComposite","type":"string","default":"","placeholder":"data2","displayOptions":{"show":{"operation":["composite"]}},"description":"The name of the binary property which contains the data of the image to composite on top of image which is found in Property Name"},{"displayName":"Operator","name":"operator","type":"options","displayOptions":{"show":{"operation":["composite"]}},"options":[{"name":"Add","value":"Add"},{"name":"Atop","value":"Atop"},{"name":"Bumpmap","value":"Bumpmap"},{"name":"Copy","value":"Copy"},{"name":"Copy Black","value":"CopyBlack"},{"name":"Copy Blue","value":"CopyBlue"},{"name":"Copy Cyan","value":"CopyCyan"},{"name":"Copy Green","value":"CopyGreen"},{"name":"Copy Magenta","value":"CopyMagenta"},{"name":"Copy Opacity","value":"CopyOpacity"},{"name":"Copy Red","value":"CopyRed"},{"name":"Copy Yellow","value":"CopyYellow"},{"name":"Difference","value":"Difference"},{"name":"Divide","value":"Divide"},{"name":"In","value":"In"},{"name":"Minus","value":"Minus"},{"name":"Multiply","value":"Multiply"},{"name":"Out","value":"Out"},{"name":"Over","value":"Over"},{"name":"Plus","value":"Plus"},{"name":"Subtract","value":"Subtract"},{"name":"Xor","value":"Xor"}],"default":"Over","description":"The operator to use to combine the images"},{"displayName":"Position X","name":"positionX","type":"number","default":0,"displayOptions":{"show":{"operation":["composite"]}},"description":"X (horizontal) position of composite image"},{"displayName":"Position Y","name":"positionY","type":"number","default":0,"displayOptions":{"show":{"operation":["composite"]}},"description":"Y (vertical) position of composite image"},{"displayName":"Width","name":"width","type":"number","default":500,"displayOptions":{"show":{"operation":["crop"]}},"description":"Crop width"},{"displayName":"Height","name":"height","type":"number","default":500,"displayOptions":{"show":{"operation":["crop"]}},"description":"Crop height"},{"displayName":"Position X","name":"positionX","type":"number","default":0,"displayOptions":{"show":{"operation":["crop"]}},"description":"X (horizontal) position to crop from"},{"displayName":"Position Y","name":"positionY","type":"number","default":0,"displayOptions":{"show":{"operation":["crop"]}},"description":"Y (vertical) position to crop from"},{"displayName":"Width","name":"width","type":"number","default":500,"displayOptions":{"show":{"operation":["resize"]}},"description":"New width of the image"},{"displayName":"Height","name":"height","type":"number","default":500,"displayOptions":{"show":{"operation":["resize"]}},"description":"New height of the image"},{"displayName":"Option","name":"resizeOption","type":"options","options":[{"name":"Ignore Aspect Ratio","value":"ignoreAspectRatio","description":"Ignore aspect ratio and resize exactly to specified values"},{"name":"Maximum Area","value":"maximumArea","description":"Specified values are maximum area"},{"name":"Minimum Area","value":"minimumArea","description":"Specified values are minimum area"},{"name":"Only if Larger","value":"onlyIfLarger","description":"Resize only if image is larger than width or height"},{"name":"Only if Smaller","value":"onlyIfSmaller","description":"Resize only if image is smaller than width or height"},{"name":"Percent","value":"percent","description":"Width and height are specified in percents"}],"default":"maximumArea","displayOptions":{"show":{"operation":["resize"]}},"description":"How to resize the image"},{"displayName":"Rotate","name":"rotate","type":"number","typeOptions":{"minValue":-360,"maxValue":360},"default":0,"displayOptions":{"show":{"operation":["rotate"]}},"description":"How much the image should be rotated"},{"displayName":"Background Color","name":"backgroundColor","type":"color","default":"#ffffffff","typeOptions":{"showAlpha":true},"displayOptions":{"show":{"operation":["rotate"]}},"description":"The color to use for the background when image gets rotated by anything which is not a multiple of 90"},{"displayName":"Degrees X","name":"degreesX","type":"number","default":0,"displayOptions":{"show":{"operation":["shear"]}},"description":"X (horizontal) shear degrees"},{"displayName":"Degrees Y","name":"degreesY","type":"number","default":0,"displayOptions":{"show":{"operation":["shear"]}},"description":"Y (vertical) shear degrees"},{"displayName":"Color","name":"color","type":"color","default":"#ff0000","displayOptions":{"show":{"operation":["transparent"]}},"description":"The color to make transparent"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"hide":{"operation":["information"]}},"options":[{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"File name to set in binary data"},{"displayName":"Font Name or ID","name":"font","type":"options","displayOptions":{"show":{"/operation":["text"]}},"typeOptions":{"loadOptionsMethod":"getFonts"},"default":"default","description":"The font to use. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Format","name":"format","type":"options","options":[{"name":"bmp","value":"bmp"},{"name":"gif","value":"gif"},{"name":"jpeg","value":"jpeg"},{"name":"png","value":"png"},{"name":"tiff","value":"tiff"},{"name":"WebP","value":"webp"}],"default":"jpeg","description":"Set the output image format"},{"displayName":"Quality","name":"quality","type":"number","typeOptions":{"minValue":0,"maxValue":100},"default":100,"displayOptions":{"show":{"format":["jpeg","png","tiff"]}},"description":"Sets the jpeg|png|tiff compression level from 0 to 100 (best)"}]}],"codex":{"categories":["Marketing & Content","Core Nodes"],"subcategories":{"Core Nodes":["Files"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.editimage/"}]}}},
92
+ {"displayName":"E2E Test","name":"n8n-nodes-base.e2eTest","icon":"fa:play","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"]}}","description":"Dummy node used for e2e testing","defaults":{"name":"E2E Test"},"inputs":["main"],"outputs":["main"],"properties":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Remote Options","value":"remoteOptions"},{"name":"Resource Locator","value":"resourceLocator"},{"name":"Resource Mapping Component","value":"resourceMapper"}],"default":"remoteOptions"},{"displayName":"Field ID","name":"fieldId","type":"string","default":""},{"displayName":"Remote Options Name or ID","name":"remoteOptions","description":"Remote options to load. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","type":"options","typeOptions":{"loadOptionsDependsOn":["fieldId"],"loadOptionsMethod":"getOptions"},"required":true,"default":[],"displayOptions":{"show":{"operation":["remoteOptions"]}}},{"displayName":"Resource Locator","name":"rlc","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"displayOptions":{"show":{"operation":["resourceLocator"]}},"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"optionsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://example.com/user/a4071e98-7d40-41fb-8911-ce3e7bf94fb2","validation":[{"type":"regex","properties":{"regex":"https://example.com/user/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}","errorMessage":"Not a valid example URL"}}],"extractValue":{"type":"regex","regex":"https://example.com/user/([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}","errorMessage":"Not a valid UUI"}}],"placeholder":"a4071e98-7d40-41fb-8911-ce3e7bf94fb2"}]},{"displayName":"Resource Mapping Component","name":"resourceMapper","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["fieldId"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"operation":["resourceMapper"]}}},{"displayName":"Other Non Important Field","name":"otherField","type":"string","default":""}],"codex":{"categories":["Core Nodes"],"subcategories":{"Core Nodes":["Helpers"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.editimage/"}]}}},
92
93
  {"displayName":"E-goi","name":"n8n-nodes-base.egoi","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume E-goi API","defaults":{"name":"E-goi"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"egoiApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"required":true,"options":[{"name":"Contact","value":"contact"}],"default":"contact"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"required":true,"options":[{"name":"Create","value":"create","description":"Create a member","action":"Create a member"},{"name":"Get","value":"get","description":"Get a member","action":"Get a member"},{"name":"Get Many","value":"getAll","description":"Get many members","action":"Get many members"},{"name":"Update","value":"update","description":"Update a member","action":"Update a member"}],"default":"create"},{"displayName":"List Name or ID","name":"list","type":"options","typeOptions":{"loadOptionsMethod":"getLists"},"displayOptions":{"show":{"operation":["getAll","create","update","get"]}},"default":"","description":"ID of list to operate on. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","displayOptions":{"show":{"operation":["create"]}},"default":"","description":"Email address for a subscriber"},{"displayName":"Contact ID","name":"contactId","type":"string","displayOptions":{"show":{"resource":["contact"],"operation":["update"]}},"default":"","description":"Contact ID of the subscriber"},{"displayName":"Resolve Data","name":"resolveData","type":"boolean","displayOptions":{"show":{"operation":["create","update"]}},"default":true,"description":"By default the response just includes the contact ID. If this option gets activated, it will resolve the data automatically."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"operation":["create"],"resource":["contact"]}},"default":{},"options":[{"displayName":"Birth Date","name":"birth_date","type":"dateTime","default":"","description":"Birth date of a subscriber"},{"displayName":"Cellphone","name":"cellphone","type":"string","default":"","description":"Cellphone of a subscriber"},{"displayName":"Extra Fields","name":"extraFieldsUi","type":"fixedCollection","placeholder":"Add Field","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Extra Field","name":"extraFieldValues","typeOptions":{"multipleValueButtonText":"Add Field"},"values":[{"displayName":"Field Name or ID","name":"field_id","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getExtraFields","loadOptionsDependsOn":["list"]},"default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"First Name","name":"first_name","type":"string","default":"","description":"Name of a subscriber"},{"displayName":"Last Name","name":"last_name","type":"string","default":"","description":"Name of a subscriber"},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Unconfirmed","value":"unconfirmed"},{"name":"Active","value":"active"},{"name":"Inactive","value":"inactive"},{"name":"Removed","value":"removed"}],"default":"active","description":"Subscriber's current status"},{"displayName":"Tag Names or IDs","name":"tagIds","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getListTags"},"default":[],"description":"List of tag IDs to be added. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["update"]}},"options":[{"displayName":"Birth Date","name":"birth_date","type":"dateTime","default":"","description":"Birth date of subscriber"},{"displayName":"Cellphone","name":"cellphone","type":"string","default":"","description":"Cellphone of subscriber"},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","default":"","description":"Email address for subscriber"},{"displayName":"Extra Fields","name":"extraFieldsUi","type":"fixedCollection","placeholder":"Add Field","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Extra Field","name":"extraFieldValues","typeOptions":{"multipleValueButtonText":"Add Field"},"values":[{"displayName":"Field Name or ID","name":"field_id","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getExtraFields","loadOptionsDependsOn":["list"]},"default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"First Name","name":"first_name","type":"string","default":"","description":"Name of subscriber"},{"displayName":"Last Name","name":"last_name","type":"string","default":"","description":"Name of subscriber"},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Unconfirmed","value":"unconfirmed"},{"name":"Active","value":"active"},{"name":"Inactive","value":"inactive"},{"name":"Removed","value":"removed"}],"default":"active","description":"Subscriber's current status"},{"displayName":"Tag Names or IDs","name":"tagIds","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getListTags"},"default":[],"description":"List of tag IDs to be added. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]},{"displayName":"By","name":"by","type":"options","options":[{"name":"Contact ID","value":"id"},{"name":"Email","value":"email"}],"displayOptions":{"show":{"operation":["get"],"resource":["contact"]}},"default":"id","description":"Search by"},{"displayName":"Contact ID","name":"contactId","type":"string","displayOptions":{"show":{"resource":["contact"],"operation":["get"],"by":["id"]}},"default":"","description":"Contact ID of the subscriber"},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","displayOptions":{"show":{"resource":["contact"],"operation":["get"],"by":["email"]}},"default":"","description":"Email address for subscriber"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["contact"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll"],"resource":["contact"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["get","getAll"],"resource":["contact"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"}],"codex":{"categories":["Communication","Marketing & Content"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.egoi/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/egoi"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Egoi/egoi.png"},
93
94
  {"displayName":"Elasticsearch","name":"n8n-nodes-base.elasticsearch","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume the Elasticsearch API","defaults":{"name":"Elasticsearch"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"elasticsearchApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Document","value":"document"},{"name":"Index","value":"index"}],"default":"document"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["document"]}},"options":[{"name":"Create","value":"create","description":"Create a document","action":"Create a document"},{"name":"Delete","value":"delete","description":"Delete a document","action":"Delete a document"},{"name":"Get","value":"get","description":"Get a document","action":"Get a document"},{"name":"Get Many","value":"getAll","description":"Get many documents","action":"Get many documents"},{"name":"Update","value":"update","description":"Update a document","action":"Update a document"}],"default":"get"},{"displayName":"Index ID","name":"indexId","description":"ID of the index containing the document to delete","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["document"],"operation":["delete"]}}},{"displayName":"Document ID","name":"documentId","description":"ID of the document to delete","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["document"],"operation":["delete"]}}},{"displayName":"Index ID","name":"indexId","description":"ID of the index containing the document to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["document"],"operation":["get"]}}},{"displayName":"Document ID","name":"documentId","description":"ID of the document to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["document"],"operation":["get"]}}},{"displayName":"Simplify","name":"simple","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"resource":["document"],"operation":["get"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["document"],"operation":["get"]}},"options":[{"displayName":"Source Excludes","name":"_source_excludes","description":"Comma-separated list of source fields to exclude from the response","type":"string","default":""},{"displayName":"Source Includes","name":"_source_includes","description":"Comma-separated list of source fields to include in the response","type":"string","default":""},{"displayName":"Stored Fields","name":"stored_fields","description":"Whether to retrieve the document fields stored in the index rather than the document <code>_source</code>. Defaults to false.","type":"boolean","default":false}]},{"displayName":"Index ID","name":"indexId","description":"ID of the index containing the documents to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["document"],"operation":["getAll"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["document"],"operation":["getAll"]}}},{"displayName":"By default, you cannot page through more than 10,000 hits. To page through more hits, add \"Sort\" from options.","name":"paginateNotice","type":"notice","default":"","displayOptions":{"show":{"resource":["document"],"operation":["getAll"],"returnAll":[true]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["document"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Simplify","name":"simple","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of the raw data","displayOptions":{"show":{"resource":["document"],"operation":["getAll"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["document"],"operation":["getAll"]}},"options":[{"displayName":"Allow No Indices","name":"allow_no_indices","description":"If false, return an error if any of the following targets only missing/closed indices: wildcard expression, index alias, or <code>_all</code> value. Defaults to true.","type":"boolean","default":true},{"displayName":"Allow Partial Search Results","name":"allow_partial_search_results","description":"<p>If true, return partial results if there are shard request timeouts or shard failures.</p><p>If false, returns an error with no partial results. Defaults to true.</p>.","type":"boolean","default":true},{"displayName":"Batched Reduce Size","name":"batched_reduce_size","description":"Number of shard results that should be reduced at once on the coordinating node. Defaults to 512.","type":"number","typeOptions":{"minValue":2},"default":512},{"displayName":"CCS Minimize Roundtrips","name":"ccs_minimize_roundtrips","description":"Whether network round-trips between the coordinating node and the remote clusters are minimized when executing cross-cluster search (CCS) requests. Defaults to true.","type":"boolean","default":true},{"displayName":"Doc Value Fields","name":"docvalue_fields","description":"Comma-separated list of fields to return as the docvalue representation of a field for each hit","type":"string","default":""},{"displayName":"Expand Wildcards","name":"expand_wildcards","description":"Type of index that wildcard expressions can match. Defaults to <code>open</code>","type":"options","options":[{"name":"All","value":"all"},{"name":"Closed","value":"closed"},{"name":"Hidden","value":"hidden"},{"name":"None","value":"none"},{"name":"Open","value":"open"}],"default":"open"},{"displayName":"Explain","name":"explain","description":"Whether to return detailed information about score computation as part of a hit. Defaults to false.","type":"boolean","default":false},{"displayName":"Ignore Throttled","name":"ignore_throttled","description":"Whether concrete, expanded or aliased indices are ignored when frozen. Defaults to true.","type":"boolean","default":true},{"displayName":"Ignore Unavailable","name":"ignore_unavailable","description":"Whether missing or closed indices are not included in the response. Defaults to false.","type":"boolean","default":false},{"displayName":"Max Concurrent Shard Requests","name":"max_concurrent_shard_requests","description":"Define the number of shard requests per node this search executes concurrently. Defaults to 5.","type":"number","default":5},{"displayName":"Pre-Filter Shard Size","name":"pre_filter_shard_size","description":"Define a threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting. Only used if the number of shards the search request expands to exceeds the threshold.","type":"number","typeOptions":{"minValue":1},"default":1},{"displayName":"Query","name":"query","description":"Query in the <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html\">Elasticsearch Query DSL</a>","type":"json","typeOptions":{"alwaysOpenEditWindow":true},"default":"","placeholder":"{\n \"query\": {\n \"term\": {\n \"user.id\": \"john\"\n }\n }\n}"},{"displayName":"Request Cache","name":"request_cache","description":"Whether the caching of search results is enabled for requests where size is 0. See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-request-cache.html\">Elasticsearch shard request cache settings</a>.","type":"boolean","default":false},{"displayName":"Routing","name":"routing","description":"Target this primary shard","type":"string","default":""},{"displayName":"Search Type","name":"search_type","description":"How distributed term frequencies are calculated for relevance scoring. Defaults to Query then Fetch.","type":"options","options":[{"name":"DFS Query Then Fetch","value":"dfs_query_then_fetch"},{"name":"Query Then Fetch","value":"query_then_fetch"}],"default":"query_then_fetch"},{"displayName":"Sequence Number and Primary Term","name":"seq_no_primary_term","description":"Whether to return the sequence number and primary term of the last modification of each hit. See <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/optimistic-concurrency-control.html\">Optimistic concurrency control</a>.","type":"boolean","default":false},{"displayName":"Sort","name":"sort","description":"Comma-separated list of <code>field:direction</code> pairs","type":"string","default":""},{"displayName":"Source Excludes","name":"_source_excludes","description":"Comma-separated list of source fields to exclude from the response","type":"string","default":""},{"displayName":"Source Includes","name":"_source_includes","description":"Comma-separated list of source fields to include in the response","type":"string","default":""},{"displayName":"Stats","name":"stats","description":"Tag of the request for logging and statistical purposes","type":"string","default":""},{"displayName":"Stored Fields","name":"stored_fields","description":"Whether to retrieve the document fields stored in the index rather than the document <code>_source</code>. Defaults to false.","type":"boolean","default":false},{"displayName":"Terminate After","name":"terminate_after","description":"Max number of documents to collect for each shard","type":"number","default":0},{"displayName":"Timeout","name":"timeout","description":"Period to wait for active shards. Defaults to <code>1m</code> (one minute). See the <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units\">Elasticsearch time units reference</a>","type":"string","default":"1m"},{"displayName":"Track Scores","name":"track_scores","description":"Whether to calculate and return document scores, even if the scores are not used for sorting. Defaults to false.","type":"boolean","default":false},{"displayName":"Track Total Hits","name":"track_total_hits","description":"Number of hits matching the query to count accurately. Defaults to 10000.","type":"number","default":10000},{"displayName":"Version","name":"version","description":"Whether to return document version as part of a hit. Defaults to false.","type":"boolean","default":false}]},{"displayName":"Index ID","name":"indexId","description":"ID of the index to add the document to","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["document"],"operation":["create"]}}},{"displayName":"Data to Send","name":"dataToSend","type":"options","options":[{"name":"Define Below for Each Column","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"}],"displayOptions":{"show":{"resource":["document"],"operation":["create"]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Inputs to Ignore","name":"inputsToIgnore","type":"string","displayOptions":{"show":{"resource":["document"],"operation":["create"],"dataToSend":["autoMapInputData"]}},"default":"","description":"List of input properties to avoid sending, separated by commas. Leave empty to send all properties.","placeholder":"Enter properties..."},{"displayName":"Fields to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Field to Send","multipleValues":true},"displayOptions":{"show":{"resource":["document"],"operation":["create"],"dataToSend":["defineBelow"]}},"default":{},"options":[{"displayName":"Field","name":"fieldValues","values":[{"displayName":"Field Name","name":"fieldId","type":"string","default":""},{"displayName":"Field Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["document"],"operation":["create"]}},"options":[{"displayName":"Document ID","name":"documentId","description":"ID of the document to create and add to the index","type":"string","default":""},{"displayName":"Routing","name":"routing","description":"Target this primary shard","type":"string","default":""},{"displayName":"Timeout","name":"timeout","description":"Period to wait for active shards. Defaults to <code>1m</code> (one minute). See the <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units\">Elasticsearch time units reference</a>","type":"string","default":"1m"}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["document"],"operation":["create"]}},"options":[{"displayName":"Pipeline ID","name":"pipeline","description":"ID of the pipeline to use to preprocess incoming documents","type":"string","default":""},{"displayName":"Refresh","name":"refresh","description":"If true, Elasticsearch refreshes the affected shards to make this operation visible to search,if wait_for then wait for a refresh to make this operation visible to search,if false do nothing with refreshes","type":"options","default":"false","options":[{"name":"True","value":"true","description":"Refreshes the affected shards to make this operation visible to search"},{"name":"Wait For","value":"wait_for","description":"Wait for a refresh to make this operation visible"},{"name":"False","value":"false","description":"Do nothing with refreshes"}]}]},{"displayName":"Index ID","name":"indexId","description":"ID of the document to update","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["document"],"operation":["update"]}}},{"displayName":"Document ID","name":"documentId","description":"ID of the document to update","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["document"],"operation":["update"]}}},{"displayName":"Data to Send","name":"dataToSend","type":"options","options":[{"name":"Define Below for Each Column","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"}],"displayOptions":{"show":{"resource":["document"],"operation":["update"]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Inputs to Ignore","name":"inputsToIgnore","type":"string","displayOptions":{"show":{"resource":["document"],"operation":["update"],"dataToSend":["autoMapInputData"]}},"default":"","description":"List of input properties to avoid sending, separated by commas. Leave empty to send all properties.","placeholder":"Enter properties..."},{"displayName":"Fields to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Field to Send","multipleValues":true},"displayOptions":{"show":{"resource":["document"],"operation":["update"],"dataToSend":["defineBelow"]}},"default":{},"options":[{"displayName":"Field","name":"fieldValues","values":[{"displayName":"Field Name","name":"fieldId","type":"string","default":""},{"displayName":"Field Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["document"],"operation":["update"]}},"options":[{"displayName":"Refresh","name":"refresh","description":"If true, Elasticsearch refreshes the affected shards to make this operation visible to search,if wait_for then wait for a refresh to make this operation visible to search,if false do nothing with refreshes","type":"options","default":"false","options":[{"name":"True","value":"true","description":"Refreshes the affected shards to make this operation visible to search"},{"name":"Wait For","value":"wait_for","description":"Wait for a refresh to make this operation visible"},{"name":"False","value":"false","description":"Do nothing with refreshes"}]}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["index"]}},"options":[{"name":"Create","value":"create","action":"Create an index"},{"name":"Delete","value":"delete","action":"Delete an index"},{"name":"Get","value":"get","action":"Get an index"},{"name":"Get Many","value":"getAll","action":"Get many indices"}],"default":"create"},{"displayName":"Index ID","name":"indexId","description":"ID of the index to create","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["index"],"operation":["create"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["index"],"operation":["create"]}},"options":[{"displayName":"Aliases","name":"aliases","description":"Index aliases which include the index, as an <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html\">alias object</a>","type":"json","typeOptions":{"alwaysOpenEditWindow":true},"default":"","placeholder":"{\n \"aliases\": {\n \"alias_1\": {},\n \"alias_2\": {\n \"filter\": {\n \"term\": { \"user.id\": \"kimchy\" }\n },\n \"routing\": \"shard-1\"\n }\n }\n}"},{"displayName":"Include Type Name","name":"include_type_name","description":"Whether a mapping type is expected in the body of mappings. Defaults to false.","type":"boolean","default":false},{"displayName":"Mappings","name":"mappings","description":"Mapping for fields in the index, as <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html\">mapping object</a>","type":"json","typeOptions":{"alwaysOpenEditWindow":true},"default":"","placeholder":"{\n \"mappings\": {\n \"properties\": {\n \"field1\": { \"type\": \"text\" }\n }\n }\n}"},{"displayName":"Master Timeout","name":"master_timeout","description":"Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Defaults to <code>1m</code>. See the <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units\">Elasticsearch time units reference</a>","type":"string","default":"1m"},{"displayName":"Settings","name":"settings","description":"Configuration options for the index, as an <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#index-modules-settings\">index settings object</a>","type":"json","typeOptions":{"alwaysOpenEditWindow":true},"default":"","placeholder":"{\n \"settings\": {\n \"index\": {\n \"number_of_shards\": 3,\n \"number_of_replicas\": 2\n }\n }\n}"},{"displayName":"Timeout","name":"timeout","description":"Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. Defaults to <code>30s</code>. See the <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units\">Elasticsearch time units reference</a>","type":"string","default":"30s"},{"displayName":"Wait for Active Shards","name":"wait_for_active_shards","description":"The number of shard copies that must be active before proceeding with the operation. Set to <code>all</code> or any positive integer up to the total number of shards in the index. Default: 1, the primary shard","type":"string","default":"1"}]},{"displayName":"Index ID","name":"indexId","description":"ID of the index to delete","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["index"],"operation":["delete"]}}},{"displayName":"Index ID","name":"indexId","description":"ID of the index to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["index"],"operation":["get"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["index"],"operation":["get"]}},"options":[{"displayName":"Allow No Indices","name":"allow_no_indices","description":"If false, return an error if any of the following targets only missing/closed indices: wildcard expression, index alias, or <code>_all</code> value. Defaults to true.","type":"boolean","default":true},{"displayName":"Expand Wildcards","name":"expand_wildcards","description":"Type of index that wildcard expressions can match. Defaults to <code>open</code>","type":"options","options":[{"name":"All","value":"all"},{"name":"Closed","value":"closed"},{"name":"Hidden","value":"hidden"},{"name":"None","value":"none"},{"name":"Open","value":"open"}],"default":"all"},{"displayName":"Flat Settings","name":"flat_settings","description":"Whether to return settings in flat format. Defaults to false.","type":"boolean","default":false},{"displayName":"Ignore Unavailable","name":"ignore_unavailable","description":"Whether to request that target a missing index return an error. Defaults to false.","type":"boolean","default":false},{"displayName":"Include Defaults","name":"include_defaults","description":"Whether to return all default settings in the response. Defaults to false.","type":"boolean","default":false},{"displayName":"Local","name":"local","description":"Whether to retrieve information from the local node only. Defaults to false.","type":"boolean","default":false},{"displayName":"Master Timeout","name":"master_timeout","description":"Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error. Defaults to <code>1m</code>. See the <a href=\"https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#time-units\">Elasticsearch time units reference</a>","type":"string","default":"1m"}]},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["index"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["index"],"operation":["getAll"],"returnAll":[false]}}}],"codex":{"categories":["Development","Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.elasticsearch/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/elasticsearch"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Elastic/Elasticsearch/elasticsearch.svg"},
94
95
  {"displayName":"Elastic Security","name":"n8n-nodes-base.elasticSecurity","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume the Elastic Security API","defaults":{"name":"Elastic Security"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"elasticSecurityApi","required":true,"testedBy":"elasticSecurityApiTest"}],"properties":[{"displayName":"Resource","name":"resource","noDataExpression":true,"type":"options","options":[{"name":"Case","value":"case"},{"name":"Case Comment","value":"caseComment"},{"name":"Case Tag","value":"caseTag"},{"name":"Connector","value":"connector"}],"default":"case"},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","displayOptions":{"show":{"resource":["case"]}},"options":[{"name":"Create","value":"create","description":"Create a case","action":"Create a case"},{"name":"Delete","value":"delete","description":"Delete a case","action":"Delete a case"},{"name":"Get","value":"get","description":"Get a case","action":"Get a case"},{"name":"Get Many","value":"getAll","description":"Retrieve many cases","action":"Get many cases"},{"name":"Get Status","value":"getStatus","description":"Retrieve a summary of all case activity","action":"Get the status of a case"},{"name":"Update","value":"update","description":"Update a case","action":"Update a case"}],"default":"create"},{"displayName":"Title","name":"title","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["create"]}}},{"displayName":"Connector Name or ID","name":"connectorId","description":"Connectors allow you to send Elastic Security cases into other systems (only ServiceNow, Jira, or IBM Resilient). Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","type":"options","required":true,"default":"","typeOptions":{"loadOptionsMethod":"getConnectors"},"displayOptions":{"show":{"resource":["case"],"operation":["create"]}}},{"displayName":"Connector Type","name":"connectorType","type":"options","required":true,"default":".jira","options":[{"name":"IBM Resilient","value":".resilient"},{"name":"Jira","value":".jira"},{"name":"ServiceNow ITSM","value":".servicenow"}],"displayOptions":{"show":{"resource":["case"],"operation":["create"]}}},{"displayName":"Issue Type","name":"issueType","description":"Type of the Jira issue to create for this case","type":"string","placeholder":"Task","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["create"],"connectorType":[".jira"]}}},{"displayName":"Priority","name":"priority","description":"Priority of the Jira issue to create for this case","type":"string","placeholder":"High","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["create"],"connectorType":[".jira"]}}},{"displayName":"Urgency","name":"urgency","description":"Urgency of the ServiceNow ITSM issue to create for this case","type":"options","required":true,"default":1,"options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"displayOptions":{"show":{"resource":["case"],"operation":["create"],"connectorType":[".servicenow"]}}},{"displayName":"Severity","name":"severity","description":"Severity of the ServiceNow ITSM issue to create for this case","type":"options","required":true,"default":1,"options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"displayOptions":{"show":{"resource":["case"],"operation":["create"],"connectorType":[".servicenow"]}}},{"displayName":"Impact","name":"impact","description":"Impact of the ServiceNow ITSM issue to create for this case","type":"options","required":true,"default":1,"options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"displayOptions":{"show":{"resource":["case"],"operation":["create"],"connectorType":[".servicenow"]}}},{"displayName":"Category","name":"category","type":"string","description":"Category of the ServiceNow ITSM issue to create for this case","required":true,"default":"","placeholder":"Helpdesk","displayOptions":{"show":{"resource":["case"],"operation":["create"],"connectorType":[".servicenow"]}}},{"displayName":"Issue Types","name":"issueTypes","description":"Comma-separated list of numerical types of the IBM Resilient issue to create for this case","type":"string","placeholder":"123,456","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["create"],"connectorType":[".resilient"]}}},{"displayName":"Severity Code","name":"severityCode","description":"Severity code of the IBM Resilient issue to create for this case","type":"number","typeOptions":{"minValue":0},"required":true,"default":1,"displayOptions":{"show":{"resource":["case"],"operation":["create"],"connectorType":[".resilient"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["case"],"operation":["create"]}},"options":[{"displayName":"Description","name":"description","type":"string","default":""},{"displayName":"Owner","name":"owner","type":"string","description":"Valid application owner registered within the Cases Role Based Access Control system","default":""},{"displayName":"Sync Alerts","name":"syncAlerts","description":"Whether to synchronize with alerts","type":"boolean","default":false}]},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["delete"]}}},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["case"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["case"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Filters","name":"filters","type":"collection","default":{},"placeholder":"Add Filter","displayOptions":{"show":{"resource":["case"],"operation":["getAll"]}},"options":[{"displayName":"Status","name":"status","type":"options","options":[{"name":"Open","value":"open"},{"name":"In Progress","value":"in-progress"},{"name":"Closed","value":"closed"}],"default":"open"},{"displayName":"Tag Names or IDs","name":"tags","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","default":[],"typeOptions":{"loadOptionsMethod":"getTags"}}]},{"displayName":"Sort","name":"sortOptions","type":"fixedCollection","placeholder":"Add Sort Options","default":{},"displayOptions":{"show":{"resource":["case"],"operation":["getAll"]}},"options":[{"displayName":"Sort Options","name":"sortOptionsProperties","values":[{"displayName":"Sort Key","name":"sortField","type":"options","options":[{"name":"Created At","value":"createdAt"},{"name":"Updated At","value":"updatedAt"}],"default":"createdAt"},{"displayName":"Sort Order","name":"sortOrder","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"}]}]},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["update"]}}},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["case"],"operation":["update"]}},"options":[{"displayName":"Description","name":"description","type":"string","default":""},{"displayName":"Status","name":"status","type":"options","default":"open","options":[{"name":"Closed","value":"closed"},{"name":"Open","value":"open"},{"name":"In Progress","value":"in-progress"}]},{"displayName":"Sync Alerts","name":"syncAlerts","description":"Whether to synchronize with alerts","type":"boolean","default":false},{"displayName":"Title","name":"title","type":"string","default":""},{"displayName":"Version","name":"version","type":"string","default":""}]},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","displayOptions":{"show":{"resource":["caseComment"]}},"options":[{"name":"Add","value":"add","description":"Add a comment to a case","action":"Add a comment to a case"},{"name":"Get","value":"get","description":"Get a case comment","action":"Get a case comment"},{"name":"Get Many","value":"getAll","description":"Retrieve many case comments","action":"Get many case comments"},{"name":"Remove","value":"remove","description":"Remove a comment from a case","action":"Remove a comment from a case"},{"name":"Update","value":"update","description":"Update a comment in a case","action":"Update a comment from a case"}],"default":"add"},{"displayName":"Case ID","name":"caseId","description":"ID of the case containing the comment to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["add"]}}},{"displayName":"Comment","name":"comment","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["add"]}}},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"resource":["caseComment"],"operation":["add"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["caseComment"],"operation":["add"]}},"options":[{"displayName":"Owner","name":"owner","type":"string","description":"Valid application owner registered within the Cases Role Based Access Control system","default":""}]},{"displayName":"Case ID","name":"caseId","description":"ID of the case containing the comment to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["get"]}}},{"displayName":"Comment ID","name":"commentId","description":"ID of the case comment to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["get"]}}},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["getAll"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["caseComment"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["caseComment"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Case ID","name":"caseId","description":"ID of the case containing the comment to remove","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["remove"]}}},{"displayName":"Comment ID","name":"commentId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["remove"]}}},{"displayName":"Case ID","name":"caseId","description":"ID of the case containing the comment to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["update"]}}},{"displayName":"Comment ID","name":"commentId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["update"]}}},{"displayName":"Comment","name":"comment","description":"Text to replace current comment message","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseComment"],"operation":["update"]}}},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"resource":["caseComment"],"operation":["update"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["caseTag"]}},"options":[{"name":"Add","value":"add","description":"Add a tag to a case","action":"Add a tag to a case"},{"name":"Remove","value":"remove","description":"Remove a tag from a case","action":"Remove a tag from a case"}],"default":"add"},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseTag"],"operation":["add"]}}},{"displayName":"Tag Name or ID","name":"tag","type":"options","description":"Tag to attach to the case. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true,"default":"","typeOptions":{"loadOptionsMethod":"getTags"},"displayOptions":{"show":{"resource":["caseTag"],"operation":["add"]}}},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["caseTag"],"operation":["remove"]}}},{"displayName":"Tag Name or ID","name":"tag","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsMethod":"getTags"},"displayOptions":{"show":{"resource":["caseTag"],"operation":["remove"]}}},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","displayOptions":{"show":{"resource":["connector"]}},"options":[{"name":"Create","value":"create","description":"Create a connector","action":"Create a connector"}],"default":"create"},{"displayName":"Connector Name","name":"name","description":"Connectors allow you to send Elastic Security cases into other systems (only ServiceNow, Jira, or IBM Resilient)","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"]}}},{"displayName":"Connector Type","name":"connectorType","type":"options","required":true,"default":".jira","options":[{"name":"IBM Resilient","value":".resilient"},{"name":"Jira","value":".jira"},{"name":"ServiceNow ITSM","value":".servicenow"}],"displayOptions":{"show":{"resource":["connector"],"operation":["create"]}}},{"displayName":"API URL","name":"apiUrl","type":"string","description":"URL of the third-party instance","required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"]}}},{"displayName":"Email","name":"email","description":"Jira-registered email","type":"string","placeholder":"name@email.com","required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"],"connectorType":[".jira"]}}},{"displayName":"API Token","name":"apiToken","description":"Jira API token","type":"string","typeOptions":{"password":true},"required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"],"connectorType":[".jira"]}}},{"displayName":"Project Key","name":"projectKey","description":"Jira Project Key","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"],"connectorType":[".jira"]}}},{"displayName":"Username","name":"username","description":"ServiceNow ITSM username","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"],"connectorType":[".servicenow"]}}},{"displayName":"Password","name":"password","description":"ServiceNow ITSM password","type":"string","typeOptions":{"password":true},"required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"],"connectorType":[".servicenow"]}}},{"displayName":"API Key ID","name":"apiKeyId","description":"IBM Resilient API key ID","type":"string","typeOptions":{"password":true},"required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"],"connectorType":[".resilient"]}}},{"displayName":"API Key Secret","name":"apiKeySecret","description":"IBM Resilient API key secret","type":"string","typeOptions":{"password":true},"required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"],"connectorType":[".resilient"]}}},{"displayName":"Organization ID","name":"orgId","description":"IBM Resilient organization ID","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["connector"],"operation":["create"],"connectorType":[".resilient"]}}}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.elasticsecurity/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/elasticSecurity"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Elastic/ElasticSecurity/elasticSecurity.svg"},
@@ -130,7 +131,7 @@
130
131
  {"displayName":"GitLab Trigger","name":"n8n-nodes-base.gitlabTrigger","group":["trigger"],"version":1,"subtitle":"={{$parameter[\"owner\"] + \"/\" + $parameter[\"repository\"] + \": \" + $parameter[\"events\"].join(\", \")}}","description":"Starts the workflow when GitLab events occur","defaults":{"name":"GitLab Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"gitlabApi","required":true,"displayOptions":{"show":{"authentication":["accessToken"]}}},{"name":"gitlabOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"webhooks":[{"name":"default","httpMethod":"POST","responseMode":"onReceived","path":"webhook"}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Access Token","value":"accessToken"},{"name":"OAuth2","value":"oAuth2"}],"default":"accessToken"},{"displayName":"Repository Owner","name":"owner","type":"string","default":"","required":true,"placeholder":"n8n-io","description":"Owner of the repsitory"},{"displayName":"Repository Name","name":"repository","type":"string","default":"","required":true,"placeholder":"n8n","description":"The name of the repsitory"},{"displayName":"Events","name":"events","type":"multiOptions","options":[{"name":"Comment","value":"note","description":"Triggered when a new comment is made on commits, merge requests, issues, and code snippets"},{"name":"Confidential Issues","value":"confidential_issues","description":"Triggered on confidential issues' events"},{"name":"Confidential Comments","value":"confidential_note","description":"Triggered when a confidential comment is made"},{"name":"Deployments","value":"deployment","description":"Triggered when a deployment starts/succeeds/fails/is cancelled"},{"name":"Issue","value":"issues","description":"Triggered when a new issue is created or an existing issue was updated/closed/reopened"},{"name":"Job","value":"job","description":"Triggered on status change of a job"},{"name":"Merge Request","value":"merge_requests","description":"Triggered when a new merge request is created, an existing merge request was updated/merged/closed or a commit is added in the source branch"},{"name":"Pipeline","value":"pipeline","description":"Triggered on status change of Pipeline"},{"name":"Push","value":"push","description":"Triggered when you push to the repository except when pushing tags"},{"name":"Release","value":"releases","description":"Release events are triggered when a release is created or updated"},{"name":"Tag","value":"tag_push","description":"Triggered when you create (or delete) tags to the repository"},{"name":"Wiki Page","value":"wiki_page","description":"Triggered when a wiki page is created, updated or deleted"},{"name":"*","value":"*","description":"Any time any event is triggered (Wildcard Event)"}],"required":true,"default":[],"description":"The events to listen to"}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.gitlabtrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/gitlab"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Gitlab/gitlab.svg"},
131
132
  {"displayName":"Google Ads","name":"n8n-nodes-base.googleAds","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Use the Google Ads API","defaults":{"name":"Google Ads"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleAdsOAuth2Api","required":true,"testedBy":{"request":{"method":"GET","url":"/v13/customers:listAccessibleCustomers"}}}],"requestDefaults":{"returnFullResponse":true,"baseURL":"https://googleads.googleapis.com","headers":{"developer-token":"={{$credentials.developerToken}}"}},"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Campaign","value":"campaign"}],"default":"campaign"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["campaign"]}},"options":[{"name":"Get Many","value":"getAll","description":"Get many campaigns linked to the specified account","routing":{"request":{"method":"POST","url":"={{\"/v13/customers/\" + $parameter[\"clientCustomerId\"].toString().replace(/-/g, \"\") + \"/googleAds:search\"}}","body":{"query":"={{ \"select campaign.id, campaign.name, campaign_budget.amount_micros, campaign_budget.period,campaign.status,campaign.optimization_score,campaign.advertising_channel_type,campaign.advertising_channel_sub_type,metrics.impressions,metrics.interactions,metrics.interaction_rate,metrics.average_cost,metrics.cost_micros,metrics.conversions,metrics.cost_per_conversion,metrics.conversions_from_interactions_rate,metrics.video_views,metrics.average_cpm,metrics.ctr from campaign where campaign.id > 0 \" + ([\"allTime\", undefined, \"\"].includes($parameter.additionalOptions?.dateRange) ? \"\" : \" and segments.date DURING \" + $parameter.additionalOptions.dateRange) + \" \" + ([\"all\", undefined, \"\"].includes($parameter.additionalOptions?.campaignStatus) ? \"\" : \" and campaign.status = '\" + $parameter.additionalOptions.campaignStatus + \"'\") + \"\" }}"},"headers":{"login-customer-id":"={{$parameter[\"managerCustomerId\"].toString().replace(/-/g, \"\")}}"}},"output":{"postReceive":[null]}},"action":"Get many campaigns"},{"name":"Get","value":"get","description":"Get a specific campaign","routing":{"request":{"method":"POST","url":"={{\"/v13/customers/\" + $parameter[\"clientCustomerId\"].toString().replace(/-/g, \"\") + \"/googleAds:search\"}}","returnFullResponse":true,"body":{"query":"={{ \"select campaign.id, campaign.name, campaign_budget.amount_micros, campaign_budget.period,campaign.status,campaign.optimization_score,campaign.advertising_channel_type,campaign.advertising_channel_sub_type,metrics.impressions,metrics.interactions,metrics.interaction_rate,metrics.average_cost,metrics.cost_micros,metrics.conversions,metrics.cost_per_conversion,metrics.conversions_from_interactions_rate,metrics.video_views,metrics.average_cpm,metrics.ctr from campaign where campaign.id = \" + $parameter[\"campaignId\"].toString().replace(/-/g, \"\")}}"},"headers":{"login-customer-id":"={{$parameter[\"managerCustomerId\"].toString().replace(/-/g, \"\")}}"}},"output":{"postReceive":[null]}},"action":"Get a campaign"}],"default":"getAll"},{"displayName":"Divide field names expressed with <i>micros</i> by 1,000,000 to get the actual value","name":"campaigsNotice","type":"notice","default":"","displayOptions":{"show":{"resource":["campaign"]}}},{"displayName":"Manager Customer ID","name":"managerCustomerId","type":"string","required":true,"placeholder":"9998887777","displayOptions":{"show":{"resource":["campaign"]}},"default":""},{"displayName":"Client Customer ID","name":"clientCustomerId","type":"string","required":true,"placeholder":"6665554444","displayOptions":{"show":{"resource":["campaign"]}},"default":""},{"displayName":"Campaign ID","name":"campaignId","type":"string","required":true,"displayOptions":{"show":{"operation":["get"],"resource":["campaign"]}},"default":"","description":"ID of the campaign"},{"displayName":"Additional Options","name":"additionalOptions","type":"collection","displayOptions":{"show":{"resource":["campaign"],"operation":["getAll"]}},"default":{},"description":"Additional options for fetching campaigns","placeholder":"Add Option","options":[{"displayName":"Date Range","name":"dateRange","description":"Filters statistics by period","type":"options","options":[{"name":"All Time","value":"allTime","description":"Fetch statistics for all period"},{"name":"Today","value":"TODAY","description":"Today only"},{"name":"Yesterday","value":"YESTERDAY","description":"Yesterday only"},{"name":"Last 7 Days","value":"LAST_7_DAYS","description":"Last 7 days, not including today"},{"name":"Last Business Week","value":"LAST_BUSINESS_WEEK","description":"The 5 day business week, Monday through Friday, of the previous business week"},{"name":"This Month","value":"THIS_MONTH","description":"All days in the current month"},{"name":"Last Month","value":"LAST_MONTH","description":"All days in the previous month"},{"name":"Last 14 Days","value":"LAST_14_DAYS","description":"The last 14 days not including today"},{"name":"Last 30 Days","value":"LAST_30_DAYS","description":"The last 30 days not including today"}],"default":"allTime"},{"displayName":"Show Campaigns by Status","name":"campaignStatus","description":"Filters campaigns by status","type":"options","options":[{"name":"All","value":"all","description":"Fetch all campaigns regardless of status"},{"name":"Enabled","value":"ENABLED","description":"Filter only active campaigns"},{"name":"Paused","value":"PAUSED","description":"Filter only paused campaigns"},{"name":"Removed","value":"REMOVED","description":"Filter only removed campaigns"}],"default":"all"}]}],"codex":{"categories":["Analytics"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googleads/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Ads/googleAds.svg"},
132
133
  {"displayName":"Google Analytics","name":"n8n-nodes-base.googleAnalytics","group":["transform"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Use the Google Analytics API","defaultVersion":2,"version":1,"defaults":{"name":"Google Analytics"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleAnalyticsOAuth2","required":true}],"properties":[{"displayName":"<strong>New node version available:</strong> get the latest version with added features from the nodes panel.","name":"oldVersionNotice","type":"notice","default":""},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Report","value":"report"},{"name":"User Activity","value":"userActivity"}],"default":"report"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["report"]}},"options":[{"name":"Get","value":"get","description":"Return the analytics data","action":"Get a report"}],"default":"get"},{"displayName":"View Name or ID","name":"viewId","type":"options","typeOptions":{"loadOptionsMethod":"getViews"},"default":"","required":true,"displayOptions":{"show":{"resource":["report"],"operation":["get"]}},"placeholder":"123456","description":"The View ID of Google Analytics. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["get"],"resource":["report"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":1000,"description":"Max number of results to return"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["report"],"operation":["get"]}},"options":[{"displayName":"Date Ranges","name":"dateRangesUi","placeholder":"Add Date Range","type":"fixedCollection","default":{},"description":"Date ranges in the request","options":[{"displayName":"Date Range","name":"dateRanges","values":[{"displayName":"Start Date","name":"startDate","type":"dateTime","default":""},{"displayName":"End Date","name":"endDate","type":"dateTime","default":""}]}]},{"displayName":"Dimensions","name":"dimensionUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Dimension","description":"Dimensions are attributes of your data. For example, the dimension ga:city indicates the city, for example, \"Paris\" or \"New York\", from which a session originates.","options":[{"displayName":"Dimension","name":"dimensionValues","values":[{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensions"},"default":"","description":"Name of the dimension to fetch, for example ga:browser. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]}]},{"displayName":"Dimension Filters","name":"dimensionFiltersUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Dimension Filter","description":"Dimension Filters in the request","options":[{"displayName":"Filters","name":"filterValues","values":[{"displayName":"Dimension Name or ID","name":"dimensionName","type":"options","typeOptions":{"loadOptionsMethod":"getDimensions"},"default":"","description":"Name of the dimension to filter by. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Operator","name":"operator","type":"options","default":"EXACT","description":"Operator to use in combination with value","options":[{"name":"Begins With","value":"BEGINS_WITH"},{"name":"Ends With","value":"ENDS_WITH"},{"name":"Equal (Number)","value":"NUMERIC_EQUAL"},{"name":"Exact","value":"EXACT"},{"name":"Greater Than (Number)","value":"NUMERIC_GREATER_THAN"},{"name":"Less Than (Number)","value":"NUMERIC_LESS_THAN"},{"name":"Partial","value":"PARTIAL"},{"name":"Regular Expression","value":"REGEXP"}]},{"displayName":"Value","name":"expressions","type":"string","default":"","placeholder":"ga:newUsers","description":"String or <a href=\"https://support.google.com/analytics/answer/1034324?hl=en\">regular expression</a> to match against"}]}]},{"displayName":"Hide Totals","name":"hideTotals","type":"boolean","default":false,"description":"Whether to hide the total of all metrics for all the matching rows, for every date range"},{"displayName":"Hide Value Ranges","name":"hideValueRanges","type":"boolean","default":false,"description":"Whether to hide the minimum and maximum across all matching rows"},{"displayName":"Include Empty Rows","name":"includeEmptyRows","type":"boolean","default":false,"description":"Whether the response exclude rows if all the retrieved metrics are equal to zero"},{"displayName":"Metrics","name":"metricsUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Metrics","description":"Metrics in the request","options":[{"displayName":"Metric","name":"metricValues","values":[{"displayName":"Alias","name":"alias","type":"string","default":"","description":"An alias for the metric expression is an alternate name for the expression. The alias can be used for filtering and sorting."},{"displayName":"Expression","name":"expression","type":"string","default":"ga:newUsers","description":"<p>A metric expression in the request. An expression is constructed from one or more metrics and numbers.</p><p>Accepted operators include: Plus (+), Minus (-), Negation (Unary -), Divided by (/), Multiplied by (*), Parenthesis, Positive cardinal numbers (0-9), can include decimals and is limited to 1024 characters.</p><p>Example ga:totalRefunds/ga:users, in most cases the metric expression is just a single metric name like ga:users.</p><p>Adding mixed MetricType (E.g., CURRENCY + PERCENTAGE) metrics will result in unexpected results.</p>."},{"displayName":"Formatting Type","name":"formattingType","type":"options","default":"INTEGER","description":"Specifies how the metric expression should be formatted","options":[{"name":"Currency","value":"CURRENCY"},{"name":"Float","value":"FLOAT"},{"name":"Integer","value":"INTEGER"},{"name":"Percent","value":"PERCENT"},{"name":"Time","value":"TIME"}]}]}]},{"displayName":"Use Resource Quotas","name":"useResourceQuotas","type":"boolean","default":false,"description":"Whether to enable resource based quotas"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["userActivity"]}},"options":[{"name":"Search","value":"search","description":"Return user activity data","action":"Search user activity data"}],"default":"search"},{"displayName":"View Name or ID","name":"viewId","type":"options","typeOptions":{"loadOptionsMethod":"getViews"},"default":"","required":true,"displayOptions":{"show":{"resource":["userActivity"],"operation":["search"]}},"placeholder":"123456","description":"The View ID of Google Analytics. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"User ID","name":"userId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["userActivity"],"operation":["search"]}},"placeholder":"123456","description":"ID of a user"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["search"],"resource":["userActivity"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["search"],"resource":["userActivity"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["search"],"resource":["userActivity"]}},"options":[{"displayName":"Activity Types","name":"activityTypes","type":"multiOptions","options":[{"name":"Ecommerce","value":"ECOMMERCE"},{"name":"Event","value":"EVENT"},{"name":"Goal","value":"GOAL"},{"name":"Pageview","value":"PAGEVIEW"},{"name":"Screenview","value":"SCREENVIEW"}],"description":"Type of activites requested","default":[]}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Analytics/analytics.svg"},
133
- {"displayName":"Google Analytics","name":"n8n-nodes-base.googleAnalytics","group":["transform"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Use the Google Analytics API","defaultVersion":2,"version":2,"defaults":{"name":"Google Analytics"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleAnalyticsOAuth2","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Report","value":"report"},{"name":"User Activity","value":"userActivity"}],"default":"report"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["report"]}},"options":[{"name":"Get","value":"get","description":"Return the analytics data","action":"Get a report"}],"default":"get"},{"displayName":"Property Type","name":"propertyType","type":"options","noDataExpression":true,"description":"Google Analytics 4 is the latest version. Universal Analytics is an older version that is not fully functional after the end of June 2023.","options":[{"name":"Google Analytics 4","value":"ga4"},{"name":"Universal Analytics","value":"universal"}],"default":"ga4","displayOptions":{"show":{"resource":["report"],"operation":["get"]}}},{"displayName":"Property","name":"propertyId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The Property of Google Analytics","hint":"If this doesn't work, try changing the 'Property Type' field above","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a property...","typeOptions":{"searchListMethod":"searchProperties","searchFilterRequired":false,"searchable":false}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://analytics.google.com/analytics/...","validation":[{"type":"regex","properties":{"regex":".*analytics\\.google\\.com\\/analytics.*\\/p([0-9]{1,})(?:\\/.*|)*","errorMessage":"Not a valid Google Analytics URL"}}],"extractValue":{"type":"regex","regex":".*analytics\\.google\\.com\\/analytics.*\\/p([0-9]{1,})(?:\\/.*|)"}},{"displayName":"By ID","name":"id","type":"string","placeholder":"123456","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Google Analytics Property ID"}}],"url":"=https://analytics.google.com/analytics/web/#/p{{$value}}/"}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}}},{"displayName":"Date Range","name":"dateRange","type":"options","required":true,"options":[{"name":"Last 7 Days","value":"last7days"},{"name":"Last 30 Days","value":"last30days"},{"name":"Today","value":"today"},{"name":"Yesterday","value":"yesterday"},{"name":"Last Complete Calendar Week","value":"lastCalendarWeek"},{"name":"Last Complete Calendar Month","value":"lastCalendarMonth"},{"name":"Custom","value":"custom"}],"default":"last7days","displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}}},{"displayName":"Start","name":"startDate","type":"dateTime","required":true,"default":"2023-08-23T00:00:00.000+00:00","displayOptions":{"show":{"resource":["report"],"operation":["get"],"dateRange":["custom"],"propertyType":["ga4"]}}},{"displayName":"End","name":"endDate","type":"dateTime","required":true,"default":"2023-08-30T00:00:00.000+00:00","displayOptions":{"show":{"resource":["report"],"operation":["get"],"dateRange":["custom"],"propertyType":["ga4"]}}},{"displayName":"Metrics","name":"metricsGA4","type":"fixedCollection","default":{"metricValues":[{"listName":"totalUsers"}]},"typeOptions":{"multipleValues":true},"placeholder":"Add Metric","description":"The quantitative measurements of a report. For example, the metric eventCount is the total number of events. Requests are allowed up to 10 metrics.","options":[{"displayName":"Values","name":"metricValues","values":[{"displayName":"Metric","name":"listName","type":"options","default":"totalUsers","options":[{"name":"1 Day Active Users","value":"active1DayUsers"},{"name":"28 Day Active Users","value":"active28DayUsers"},{"name":"7 Day Active Users","value":"active7DayUsers"},{"name":"Checkouts","value":"checkouts"},{"name":"Events","value":"eventCount"},{"name":"Page Views","value":"screenPageViews"},{"name":"Session Duration","value":"userEngagementDuration"},{"name":"Sessions","value":"sessions"},{"name":"Sessions per User","value":"sessionsPerUser"},{"name":"Total Users","value":"totalUsers"},{"name":"Other metrics…","value":"other"},{"name":"Custom metric…","value":"custom"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getMetricsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"totalUsers","hint":"If expression is specified, name can be any string that you would like","description":"The name of the metric. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Name","name":"name","type":"string","default":"custom_metric","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Expression","name":"expression","type":"string","default":"","description":"A mathematical expression for derived metrics. For example, the metric Event count per user is eventCount/totalUsers.","placeholder":"e.g. eventCount/totalUsers","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Invisible","name":"invisible","type":"boolean","default":false,"displayOptions":{"show":{"listName":["custom"]}},"description":"Whether a metric is invisible in the report response. If a metric is invisible, the metric will not produce a column in the response, but can be used in metricFilter, orderBys, or a metric expression."}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}}},{"displayName":"Dimensions to split by","name":"dimensionsGA4","type":"fixedCollection","default":{"dimensionValues":[{"listName":"date"}]},"typeOptions":{"multipleValues":true},"placeholder":"Add Dimension","description":"Dimensions are attributes of your data. For example, the dimension city indicates the city from which an event originates. Dimension values in report responses are strings; for example, the city could be \"Paris\" or \"New York\". Requests are allowed up to 9 dimensions.","options":[{"displayName":"Values","name":"dimensionValues","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"date","options":[{"name":"Browser","value":"browser"},{"name":"Campaign","value":"campaignName"},{"name":"City","value":"city"},{"name":"Country","value":"country"},{"name":"Date","value":"date"},{"name":"Device Category","value":"deviceCategory"},{"name":"Item Name","value":"itemName"},{"name":"Language","value":"language"},{"name":"Page Location","value":"pageLocation"},{"name":"Source / Medium","value":"sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"date","description":"The name of the dimension. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["ga4"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["ga4"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return"},{"displayName":"Simplify Output","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["ga4"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}},"options":[{"displayName":"Currency Code","name":"currencyCode","type":"string","default":"","description":"A currency code in ISO4217 format, such as \"AED\", \"USD\", \"JPY\". If the field is empty, the report uses the property's default currency."},{"displayName":"Dimensions Filters","name":"dimensionFiltersUI","type":"fixedCollection","default":{},"placeholder":"Add Filter","options":[{"displayName":"Filter Expressions","name":"filterExpressions","values":[{"displayName":"Filter Expression Type","name":"filterExpressionType","type":"options","default":"andGroup","options":[{"name":"And Group","value":"andGroup"},{"name":"Or Group","value":"orGroup"}]},{"displayName":"Expression","name":"expression","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"placeholder":"Add Expression","options":[{"displayName":"String Filter","name":"stringFilter","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"date","options":[{"name":"Browser","value":"browser"},{"name":"Campaign","value":"campaignName"},{"name":"City","value":"city"},{"name":"Country","value":"country"},{"name":"Date","value":"date"},{"name":"Device Category","value":"deviceCategory"},{"name":"Item Name","value":"itemName"},{"name":"Language","value":"language"},{"name":"Page Location","value":"pageLocation"},{"name":"Source / Medium","value":"sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"date","description":"The name of the dimension. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Value","name":"value","type":"string","default":""},{"displayName":"Case Sensitive","name":"caseSensitive","type":"boolean","default":true},{"displayName":"Match Type","name":"matchType","type":"options","default":"EXACT","options":[{"name":"Begins With","value":"BEGINS_WITH"},{"name":"Contains Value","value":"CONTAINS"},{"name":"Ends With","value":"ENDS_WITH"},{"name":"Exact Match","value":"EXACT"},{"name":"Full Match for the Regular Expression","value":"FULL_REGEXP"},{"name":"Partial Match for the Regular Expression","value":"PARTIAL_REGEXP"}]}]},{"displayName":"In List Filter","name":"inListFilter","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"date","options":[{"name":"Browser","value":"browser"},{"name":"Campaign","value":"campaignName"},{"name":"City","value":"city"},{"name":"Country","value":"country"},{"name":"Date","value":"date"},{"name":"Device Category","value":"deviceCategory"},{"name":"Item Name","value":"itemName"},{"name":"Language","value":"language"},{"name":"Page Location","value":"pageLocation"},{"name":"Source / Medium","value":"sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"date","description":"The name of the dimension. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Values","name":"values","type":"string","default":"","hint":"Comma separated list of values. Must be non-empty."},{"displayName":"Case Sensitive","name":"caseSensitive","type":"boolean","default":true}]},{"displayName":"Numeric Filter","name":"numericFilter","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"date","options":[{"name":"Browser","value":"browser"},{"name":"Campaign","value":"campaignName"},{"name":"City","value":"city"},{"name":"Country","value":"country"},{"name":"Date","value":"date"},{"name":"Device Category","value":"deviceCategory"},{"name":"Item Name","value":"itemName"},{"name":"Language","value":"language"},{"name":"Page Location","value":"pageLocation"},{"name":"Source / Medium","value":"sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"date","description":"The name of the dimension. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Value Type","name":"valueType","type":"options","default":"doubleValue","options":[{"name":"Double Value","value":"doubleValue"},{"name":"Integer Value","value":"int64Value"}]},{"displayName":"Value","name":"value","type":"string","default":""},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"EQUAL","options":[{"name":"Equal","value":"EQUAL"},{"name":"Greater Than","value":"GREATER_THAN"},{"name":"Greater than or Equal","value":"GREATER_THAN_OR_EQUAL"},{"name":"Less Than","value":"LESS_THAN"},{"name":"Less than or Equal","value":"LESS_THAN_OR_EQUAL"}]}]}]}]}]},{"displayName":"Metric Aggregation","name":"metricAggregations","type":"multiOptions","default":[],"options":[{"name":"MAXIMUM","value":"MAXIMUM"},{"name":"MINIMUM","value":"MINIMUM"},{"name":"TOTAL","value":"TOTAL"}],"displayOptions":{"show":{"/simple":[false]}}},{"displayName":"Metrics Filters","name":"metricsFiltersUI","type":"fixedCollection","default":{},"placeholder":"Add Filter","options":[{"displayName":"Filter Expressions","name":"filterExpressions","values":[{"displayName":"Filter Expression Type","name":"filterExpressionType","type":"options","default":"andGroup","options":[{"name":"And Group","value":"andGroup"},{"name":"Or Group","value":"orGroup"}]},{"displayName":"Expression","name":"expression","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"placeholder":"Add Expression","options":[{"displayName":"Between Filter","name":"betweenFilter","values":[{"displayName":"Metric","name":"listName","type":"options","default":"totalUsers","options":[{"name":"1 Day Active Users","value":"active1DayUsers"},{"name":"28 Day Active Users","value":"active28DayUsers"},{"name":"7 Day Active Users","value":"active7DayUsers"},{"name":"Checkouts","value":"checkouts"},{"name":"Events","value":"eventCount"},{"name":"Page Views","value":"screenPageViews"},{"name":"Session Duration","value":"userEngagementDuration"},{"name":"Sessions","value":"sessions"},{"name":"Sessions per User","value":"sessionsPerUser"},{"name":"Total Users","value":"totalUsers"},{"name":"Other metrics…","value":"other"},{"name":"Custom metric…","value":"custom"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getMetricsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"totalUsers","hint":"If expression is specified, name can be any string that you would like","description":"The name of the metric. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Name","name":"name","type":"string","default":"custom_metric","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Value Type","name":"valueType","type":"options","default":"doubleValue","options":[{"name":"Double Value","value":"doubleValue"},{"name":"Integer Value","value":"int64Value"}]},{"displayName":"From Value","name":"fromValue","type":"string","default":""},{"displayName":"To Value","name":"toValue","type":"string","default":""}]},{"displayName":"Numeric Filter","name":"numericFilter","values":[{"displayName":"Metric","name":"listName","type":"options","default":"totalUsers","options":[{"name":"1 Day Active Users","value":"active1DayUsers"},{"name":"28 Day Active Users","value":"active28DayUsers"},{"name":"7 Day Active Users","value":"active7DayUsers"},{"name":"Checkouts","value":"checkouts"},{"name":"Events","value":"eventCount"},{"name":"Page Views","value":"screenPageViews"},{"name":"Session Duration","value":"userEngagementDuration"},{"name":"Sessions","value":"sessions"},{"name":"Sessions per User","value":"sessionsPerUser"},{"name":"Total Users","value":"totalUsers"},{"name":"Other metrics…","value":"other"},{"name":"Custom metric…","value":"custom"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getMetricsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"totalUsers","hint":"If expression is specified, name can be any string that you would like","description":"The name of the metric. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Name","name":"name","type":"string","default":"custom_metric","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Value Type","name":"valueType","type":"options","default":"doubleValue","options":[{"name":"Double Value","value":"doubleValue"},{"name":"Integer Value","value":"int64Value"}]},{"displayName":"Value","name":"value","type":"string","default":""},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"EQUAL","options":[{"name":"Equal","value":"EQUAL"},{"name":"Greater Than","value":"GREATER_THAN"},{"name":"Greater than or Equal","value":"GREATER_THAN_OR_EQUAL"},{"name":"Less Than","value":"LESS_THAN"},{"name":"Less than or Equal","value":"LESS_THAN_OR_EQUAL"}]}]}]}]}]},{"displayName":"Keep Empty Rows","name":"keepEmptyRows","type":"boolean","default":false,"description":"Whether false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter."},{"displayName":"Order By","name":"orderByUI","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Order","description":"Specifies how rows are ordered in the response","options":[{"displayName":"Metric Order By","name":"metricOrderBy","values":[{"displayName":"Descending","name":"desc","type":"boolean","default":false,"description":"Whether true, sorts by descending order"},{"displayName":"Metric Name or ID","name":"metricName","type":"options","typeOptions":{"loadOptionsMethod":"getMetricsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"","description":"Sorts by metric values. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]},{"displayName":"Dimmension Order By","name":"dimmensionOrderBy","values":[{"displayName":"Descending","name":"desc","type":"boolean","default":false,"description":"Whether true, sorts by descending order"},{"displayName":"Dimmension Name or ID","name":"dimensionName","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"","description":"Sorts by metric values. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Order Type","name":"orderType","type":"options","default":"ORDER_TYPE_UNSPECIFIED","options":[{"name":"Alphanumeric","value":"ALPHANUMERIC","description":"Alphanumeric sort by Unicode code point"},{"name":"Case Insensitive Alphanumeric","value":"CASE_INSENSITIVE_ALPHANUMERIC","description":"Case insensitive alphanumeric sort by lower case Unicode code point"},{"name":"Numeric","value":"NUMERIC","description":"Dimension values are converted to numbers before sorting"},{"name":"Unspecified","value":"ORDER_TYPE_UNSPECIFIED"}]}]}]},{"displayName":"Return Property Quota","name":"returnPropertyQuota","type":"boolean","default":false,"description":"Whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.","displayOptions":{"show":{"/simple":[false]}}}]},{"displayName":"View","name":"viewId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The View of Google Analytics","hint":"If this doesn't work, try changing the 'Property Type' field above","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a view...","typeOptions":{"searchListMethod":"searchViews","searchFilterRequired":false,"searchable":false}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://analytics.google.com/analytics/...","validation":[{"type":"regex","properties":{"regex":".*analytics.google.com/analytics.*p[0-9]{1,}.*","errorMessage":"Not a valid Google Analytics URL"}}],"extractValue":{"type":"regex","regex":".*analytics.google.com/analytics.*p([0-9]{1,})"}},{"displayName":"By ID","name":"id","type":"string","placeholder":"123456","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Google Analytics View ID"}}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}}},{"displayName":"Date Range","name":"dateRange","type":"options","required":true,"options":[{"name":"Last 7 Days","value":"last7days"},{"name":"Last 30 Days","value":"last30days"},{"name":"Today","value":"today"},{"name":"Yesterday","value":"yesterday"},{"name":"Last Complete Calendar Week","value":"lastCalendarWeek"},{"name":"Last Complete Calendar Month","value":"lastCalendarMonth"},{"name":"Custom","value":"custom"}],"default":"last7days","displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}}},{"displayName":"Start","name":"startDate","type":"dateTime","required":true,"default":"2023-08-23T00:00:00.000+00:00","displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"],"dateRange":["custom"]}}},{"displayName":"End","name":"endDate","type":"dateTime","required":true,"default":"2023-08-30T00:00:00.000+00:00","displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"],"dateRange":["custom"]}}},{"displayName":"Metrics","name":"metricsUA","type":"fixedCollection","default":{"metricValues":[{"listName":"ga:users"}]},"typeOptions":{"multipleValues":true},"placeholder":"Add metric","description":"Metrics in the request","options":[{"displayName":"Metric","name":"metricValues","values":[{"displayName":"Metric","name":"listName","type":"options","default":"ga:users","options":[{"name":"Checkouts","value":"ga:productCheckouts"},{"name":"Events","value":"ga:totalEvents"},{"name":"Page Views","value":"ga:pageviews"},{"name":"Session Duration","value":"ga:sessionDuration"},{"name":"Sessions","value":"ga:sessions"},{"name":"Sessions per User","value":"ga:sessionsPerUser"},{"name":"Total Users","value":"ga:users"},{"name":"Other metrics…","value":"other"},{"name":"Custom metric…","value":"custom"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getMetrics","loadOptionsDependsOn":["viewId.value"]},"default":"ga:users","hint":"If expression is specified, name can be any string that you would like","description":"The name of the metric. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Name","name":"name","type":"string","default":"custom_metric","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Expression","name":"expression","type":"string","default":"","placeholder":"e.g. ga:totalRefunds/ga:users","description":"Learn more about Google Analytics <a href=\"https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#Metric\">metric expressions</a>","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Formatting Type","name":"formattingType","type":"options","default":"INTEGER","description":"Specifies how the metric expression should be formatted","options":[{"name":"Currency","value":"CURRENCY"},{"name":"Float","value":"FLOAT"},{"name":"Integer","value":"INTEGER"},{"name":"Percent","value":"PERCENT"},{"name":"Time","value":"TIME"}],"displayOptions":{"show":{"listName":["custom"]}}}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}}},{"displayName":"Dimensions to split by","name":"dimensionsUA","type":"fixedCollection","default":{"dimensionValues":[{"listName":"ga:date"}]},"typeOptions":{"multipleValues":true},"placeholder":"Add Dimension","description":"Dimensions are attributes of your data. For example, the dimension ga:city indicates the city, for example, \"Paris\" or \"New York\", from which a session originates.","options":[{"displayName":"Values","name":"dimensionValues","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"ga:date","options":[{"name":"Browser","value":"ga:browser"},{"name":"Campaign","value":"ga:campaign"},{"name":"City","value":"ga:city"},{"name":"Country","value":"ga:country"},{"name":"Date","value":"ga:date"},{"name":"Device Category","value":"ga:deviceCategory"},{"name":"Item Name","value":"ga:productName"},{"name":"Language","value":"ga:language"},{"name":"Page","value":"ga:pagePath"},{"name":"Source / Medium","value":"ga:sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensions","loadOptionsDependsOn":["viewId.value"]},"default":"ga:date","description":"Name of the dimension to fetch, for example ga:browser. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["universal"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["universal"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return"},{"displayName":"Simplify Output","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["universal"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}},"options":[{"displayName":"Dimension Filters","name":"dimensionFiltersUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Dimension Filter","description":"Dimension Filters in the request","options":[{"displayName":"Filters","name":"filterValues","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"ga:date","options":[{"name":"Browser","value":"ga:browser"},{"name":"Campaign","value":"ga:campaign"},{"name":"City","value":"ga:city"},{"name":"Country","value":"ga:country"},{"name":"Date","value":"ga:date"},{"name":"Device Category","value":"ga:deviceCategory"},{"name":"Item Name","value":"ga:productName"},{"name":"Language","value":"ga:language"},{"name":"Page","value":"ga:pagePath"},{"name":"Source / Medium","value":"ga:sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensions","loadOptionsDependsOn":["viewId.value"]},"default":"ga:date","description":"Name of the dimension to fetch, for example ga:browser. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Operator","name":"operator","type":"options","default":"EXACT","description":"Operator to use in combination with value","options":[{"name":"Begins With","value":"BEGINS_WITH"},{"name":"Ends With","value":"ENDS_WITH"},{"name":"Equals (Number)","value":"NUMERIC_EQUAL"},{"name":"Exactly Matches","value":"EXACT"},{"name":"Greater Than (Number)","value":"NUMERIC_GREATER_THAN"},{"name":"Less Than (Number)","value":"NUMERIC_LESS_THAN"},{"name":"Partly Matches","value":"PARTIAL"},{"name":"Regular Expression","value":"REGEXP"}]},{"displayName":"Value","name":"expressions","type":"string","default":"","placeholder":"","description":"String or <a href=\"https://support.google.com/analytics/answer/1034324?hl=en\">regular expression</a> to match against"}]}]},{"displayName":"Hide Totals","name":"hideTotals","type":"boolean","default":false,"description":"Whether to hide the total of all metrics for all the matching rows, for every date range","displayOptions":{"show":{"/simple":[false]}}},{"displayName":"Hide Value Ranges","name":"hideValueRanges","type":"boolean","default":false,"description":"Whether to hide the minimum and maximum across all matching rows","displayOptions":{"show":{"/simple":[false]}}},{"displayName":"Include Empty Rows","name":"includeEmptyRows","type":"boolean","default":false,"description":"Whether the response exclude rows if all the retrieved metrics are equal to zero"},{"displayName":"Use Resource Quotas","name":"useResourceQuotas","type":"boolean","default":false,"description":"Whether to enable resource based quotas","displayOptions":{"show":{"/simple":[false]}}}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["userActivity"]}},"options":[{"name":"Search","value":"search","description":"Return user activity data","action":"Search user activity data"}],"default":"search"},{"displayName":"View Name or ID","name":"viewId","type":"options","typeOptions":{"loadOptionsMethod":"getViews"},"default":"","required":true,"displayOptions":{"show":{"resource":["userActivity"],"operation":["search"]}},"placeholder":"123456","description":"The view from Google Analytics. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","hint":"If there's nothing here, try changing the 'Property type' field above"},{"displayName":"User ID","name":"userId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["userActivity"],"operation":["search"]}},"placeholder":"123456","description":"ID of a user"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["search"],"resource":["userActivity"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["search"],"resource":["userActivity"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["search"],"resource":["userActivity"]}},"options":[{"displayName":"Activity Types","name":"activityTypes","type":"multiOptions","options":[{"name":"Ecommerce","value":"ECOMMERCE"},{"name":"Event","value":"EVENT"},{"name":"Goal","value":"GOAL"},{"name":"Pageview","value":"PAGEVIEW"},{"name":"Screenview","value":"SCREENVIEW"}],"description":"Type of activites requested","default":[]}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Analytics/analytics.svg","codex":{"categories":["Analytics"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googleanalytics/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}}},
134
+ {"displayName":"Google Analytics","name":"n8n-nodes-base.googleAnalytics","group":["transform"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Use the Google Analytics API","defaultVersion":2,"version":2,"defaults":{"name":"Google Analytics"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleAnalyticsOAuth2","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Report","value":"report"},{"name":"User Activity","value":"userActivity"}],"default":"report"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["report"]}},"options":[{"name":"Get","value":"get","description":"Return the analytics data","action":"Get a report"}],"default":"get"},{"displayName":"Property Type","name":"propertyType","type":"options","noDataExpression":true,"description":"Google Analytics 4 is the latest version. Universal Analytics is an older version that is not fully functional after the end of June 2023.","options":[{"name":"Google Analytics 4","value":"ga4"},{"name":"Universal Analytics","value":"universal"}],"default":"ga4","displayOptions":{"show":{"resource":["report"],"operation":["get"]}}},{"displayName":"Property","name":"propertyId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The Property of Google Analytics","hint":"If this doesn't work, try changing the 'Property Type' field above","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a property...","typeOptions":{"searchListMethod":"searchProperties","searchFilterRequired":false,"searchable":false}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://analytics.google.com/analytics/...","validation":[{"type":"regex","properties":{"regex":".*analytics\\.google\\.com\\/analytics.*\\/p([0-9]{1,})(?:\\/.*|)*","errorMessage":"Not a valid Google Analytics URL"}}],"extractValue":{"type":"regex","regex":".*analytics\\.google\\.com\\/analytics.*\\/p([0-9]{1,})(?:\\/.*|)"}},{"displayName":"By ID","name":"id","type":"string","placeholder":"123456","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Google Analytics Property ID"}}],"url":"=https://analytics.google.com/analytics/web/#/p{{$value}}/"}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}}},{"displayName":"Date Range","name":"dateRange","type":"options","required":true,"options":[{"name":"Last 7 Days","value":"last7days"},{"name":"Last 30 Days","value":"last30days"},{"name":"Today","value":"today"},{"name":"Yesterday","value":"yesterday"},{"name":"Last Complete Calendar Week","value":"lastCalendarWeek"},{"name":"Last Complete Calendar Month","value":"lastCalendarMonth"},{"name":"Custom","value":"custom"}],"default":"last7days","displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}}},{"displayName":"Start","name":"startDate","type":"dateTime","required":true,"default":"2023-08-29T00:00:00.000+00:00","displayOptions":{"show":{"resource":["report"],"operation":["get"],"dateRange":["custom"],"propertyType":["ga4"]}}},{"displayName":"End","name":"endDate","type":"dateTime","required":true,"default":"2023-09-05T00:00:00.000+00:00","displayOptions":{"show":{"resource":["report"],"operation":["get"],"dateRange":["custom"],"propertyType":["ga4"]}}},{"displayName":"Metrics","name":"metricsGA4","type":"fixedCollection","default":{"metricValues":[{"listName":"totalUsers"}]},"typeOptions":{"multipleValues":true},"placeholder":"Add Metric","description":"The quantitative measurements of a report. For example, the metric eventCount is the total number of events. Requests are allowed up to 10 metrics.","options":[{"displayName":"Values","name":"metricValues","values":[{"displayName":"Metric","name":"listName","type":"options","default":"totalUsers","options":[{"name":"1 Day Active Users","value":"active1DayUsers"},{"name":"28 Day Active Users","value":"active28DayUsers"},{"name":"7 Day Active Users","value":"active7DayUsers"},{"name":"Checkouts","value":"checkouts"},{"name":"Events","value":"eventCount"},{"name":"Page Views","value":"screenPageViews"},{"name":"Session Duration","value":"userEngagementDuration"},{"name":"Sessions","value":"sessions"},{"name":"Sessions per User","value":"sessionsPerUser"},{"name":"Total Users","value":"totalUsers"},{"name":"Other metrics…","value":"other"},{"name":"Custom metric…","value":"custom"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getMetricsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"totalUsers","hint":"If expression is specified, name can be any string that you would like","description":"The name of the metric. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Name","name":"name","type":"string","default":"custom_metric","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Expression","name":"expression","type":"string","default":"","description":"A mathematical expression for derived metrics. For example, the metric Event count per user is eventCount/totalUsers.","placeholder":"e.g. eventCount/totalUsers","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Invisible","name":"invisible","type":"boolean","default":false,"displayOptions":{"show":{"listName":["custom"]}},"description":"Whether a metric is invisible in the report response. If a metric is invisible, the metric will not produce a column in the response, but can be used in metricFilter, orderBys, or a metric expression."}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}}},{"displayName":"Dimensions to split by","name":"dimensionsGA4","type":"fixedCollection","default":{"dimensionValues":[{"listName":"date"}]},"typeOptions":{"multipleValues":true},"placeholder":"Add Dimension","description":"Dimensions are attributes of your data. For example, the dimension city indicates the city from which an event originates. Dimension values in report responses are strings; for example, the city could be \"Paris\" or \"New York\". Requests are allowed up to 9 dimensions.","options":[{"displayName":"Values","name":"dimensionValues","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"date","options":[{"name":"Browser","value":"browser"},{"name":"Campaign","value":"campaignName"},{"name":"City","value":"city"},{"name":"Country","value":"country"},{"name":"Date","value":"date"},{"name":"Device Category","value":"deviceCategory"},{"name":"Item Name","value":"itemName"},{"name":"Language","value":"language"},{"name":"Page Location","value":"pageLocation"},{"name":"Source / Medium","value":"sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"date","description":"The name of the dimension. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["ga4"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["ga4"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return"},{"displayName":"Simplify Output","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["ga4"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["ga4"]}},"options":[{"displayName":"Currency Code","name":"currencyCode","type":"string","default":"","description":"A currency code in ISO4217 format, such as \"AED\", \"USD\", \"JPY\". If the field is empty, the report uses the property's default currency."},{"displayName":"Dimensions Filters","name":"dimensionFiltersUI","type":"fixedCollection","default":{},"placeholder":"Add Filter","options":[{"displayName":"Filter Expressions","name":"filterExpressions","values":[{"displayName":"Filter Expression Type","name":"filterExpressionType","type":"options","default":"andGroup","options":[{"name":"And Group","value":"andGroup"},{"name":"Or Group","value":"orGroup"}]},{"displayName":"Expression","name":"expression","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"placeholder":"Add Expression","options":[{"displayName":"String Filter","name":"stringFilter","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"date","options":[{"name":"Browser","value":"browser"},{"name":"Campaign","value":"campaignName"},{"name":"City","value":"city"},{"name":"Country","value":"country"},{"name":"Date","value":"date"},{"name":"Device Category","value":"deviceCategory"},{"name":"Item Name","value":"itemName"},{"name":"Language","value":"language"},{"name":"Page Location","value":"pageLocation"},{"name":"Source / Medium","value":"sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"date","description":"The name of the dimension. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Value","name":"value","type":"string","default":""},{"displayName":"Case Sensitive","name":"caseSensitive","type":"boolean","default":true},{"displayName":"Match Type","name":"matchType","type":"options","default":"EXACT","options":[{"name":"Begins With","value":"BEGINS_WITH"},{"name":"Contains Value","value":"CONTAINS"},{"name":"Ends With","value":"ENDS_WITH"},{"name":"Exact Match","value":"EXACT"},{"name":"Full Match for the Regular Expression","value":"FULL_REGEXP"},{"name":"Partial Match for the Regular Expression","value":"PARTIAL_REGEXP"}]}]},{"displayName":"In List Filter","name":"inListFilter","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"date","options":[{"name":"Browser","value":"browser"},{"name":"Campaign","value":"campaignName"},{"name":"City","value":"city"},{"name":"Country","value":"country"},{"name":"Date","value":"date"},{"name":"Device Category","value":"deviceCategory"},{"name":"Item Name","value":"itemName"},{"name":"Language","value":"language"},{"name":"Page Location","value":"pageLocation"},{"name":"Source / Medium","value":"sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"date","description":"The name of the dimension. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Values","name":"values","type":"string","default":"","hint":"Comma separated list of values. Must be non-empty."},{"displayName":"Case Sensitive","name":"caseSensitive","type":"boolean","default":true}]},{"displayName":"Numeric Filter","name":"numericFilter","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"date","options":[{"name":"Browser","value":"browser"},{"name":"Campaign","value":"campaignName"},{"name":"City","value":"city"},{"name":"Country","value":"country"},{"name":"Date","value":"date"},{"name":"Device Category","value":"deviceCategory"},{"name":"Item Name","value":"itemName"},{"name":"Language","value":"language"},{"name":"Page Location","value":"pageLocation"},{"name":"Source / Medium","value":"sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"date","description":"The name of the dimension. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Value Type","name":"valueType","type":"options","default":"doubleValue","options":[{"name":"Double Value","value":"doubleValue"},{"name":"Integer Value","value":"int64Value"}]},{"displayName":"Value","name":"value","type":"string","default":""},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"EQUAL","options":[{"name":"Equal","value":"EQUAL"},{"name":"Greater Than","value":"GREATER_THAN"},{"name":"Greater than or Equal","value":"GREATER_THAN_OR_EQUAL"},{"name":"Less Than","value":"LESS_THAN"},{"name":"Less than or Equal","value":"LESS_THAN_OR_EQUAL"}]}]}]}]}]},{"displayName":"Metric Aggregation","name":"metricAggregations","type":"multiOptions","default":[],"options":[{"name":"MAXIMUM","value":"MAXIMUM"},{"name":"MINIMUM","value":"MINIMUM"},{"name":"TOTAL","value":"TOTAL"}],"displayOptions":{"show":{"/simple":[false]}}},{"displayName":"Metrics Filters","name":"metricsFiltersUI","type":"fixedCollection","default":{},"placeholder":"Add Filter","options":[{"displayName":"Filter Expressions","name":"filterExpressions","values":[{"displayName":"Filter Expression Type","name":"filterExpressionType","type":"options","default":"andGroup","options":[{"name":"And Group","value":"andGroup"},{"name":"Or Group","value":"orGroup"}]},{"displayName":"Expression","name":"expression","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"placeholder":"Add Expression","options":[{"displayName":"Between Filter","name":"betweenFilter","values":[{"displayName":"Metric","name":"listName","type":"options","default":"totalUsers","options":[{"name":"1 Day Active Users","value":"active1DayUsers"},{"name":"28 Day Active Users","value":"active28DayUsers"},{"name":"7 Day Active Users","value":"active7DayUsers"},{"name":"Checkouts","value":"checkouts"},{"name":"Events","value":"eventCount"},{"name":"Page Views","value":"screenPageViews"},{"name":"Session Duration","value":"userEngagementDuration"},{"name":"Sessions","value":"sessions"},{"name":"Sessions per User","value":"sessionsPerUser"},{"name":"Total Users","value":"totalUsers"},{"name":"Other metrics…","value":"other"},{"name":"Custom metric…","value":"custom"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getMetricsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"totalUsers","hint":"If expression is specified, name can be any string that you would like","description":"The name of the metric. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Name","name":"name","type":"string","default":"custom_metric","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Value Type","name":"valueType","type":"options","default":"doubleValue","options":[{"name":"Double Value","value":"doubleValue"},{"name":"Integer Value","value":"int64Value"}]},{"displayName":"From Value","name":"fromValue","type":"string","default":""},{"displayName":"To Value","name":"toValue","type":"string","default":""}]},{"displayName":"Numeric Filter","name":"numericFilter","values":[{"displayName":"Metric","name":"listName","type":"options","default":"totalUsers","options":[{"name":"1 Day Active Users","value":"active1DayUsers"},{"name":"28 Day Active Users","value":"active28DayUsers"},{"name":"7 Day Active Users","value":"active7DayUsers"},{"name":"Checkouts","value":"checkouts"},{"name":"Events","value":"eventCount"},{"name":"Page Views","value":"screenPageViews"},{"name":"Session Duration","value":"userEngagementDuration"},{"name":"Sessions","value":"sessions"},{"name":"Sessions per User","value":"sessionsPerUser"},{"name":"Total Users","value":"totalUsers"},{"name":"Other metrics…","value":"other"},{"name":"Custom metric…","value":"custom"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getMetricsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"totalUsers","hint":"If expression is specified, name can be any string that you would like","description":"The name of the metric. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Name","name":"name","type":"string","default":"custom_metric","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Value Type","name":"valueType","type":"options","default":"doubleValue","options":[{"name":"Double Value","value":"doubleValue"},{"name":"Integer Value","value":"int64Value"}]},{"displayName":"Value","name":"value","type":"string","default":""},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"EQUAL","options":[{"name":"Equal","value":"EQUAL"},{"name":"Greater Than","value":"GREATER_THAN"},{"name":"Greater than or Equal","value":"GREATER_THAN_OR_EQUAL"},{"name":"Less Than","value":"LESS_THAN"},{"name":"Less than or Equal","value":"LESS_THAN_OR_EQUAL"}]}]}]}]}]},{"displayName":"Keep Empty Rows","name":"keepEmptyRows","type":"boolean","default":false,"description":"Whether false or unspecified, each row with all metrics equal to 0 will not be returned. If true, these rows will be returned if they are not separately removed by a filter."},{"displayName":"Order By","name":"orderByUI","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Order","description":"Specifies how rows are ordered in the response","options":[{"displayName":"Metric Order By","name":"metricOrderBy","values":[{"displayName":"Descending","name":"desc","type":"boolean","default":false,"description":"Whether true, sorts by descending order"},{"displayName":"Metric Name or ID","name":"metricName","type":"options","typeOptions":{"loadOptionsMethod":"getMetricsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"","description":"Sorts by metric values. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]},{"displayName":"Dimmension Order By","name":"dimmensionOrderBy","values":[{"displayName":"Descending","name":"desc","type":"boolean","default":false,"description":"Whether true, sorts by descending order"},{"displayName":"Dimmension Name or ID","name":"dimensionName","type":"options","typeOptions":{"loadOptionsMethod":"getDimensionsGA4","loadOptionsDependsOn":["propertyId.value"]},"default":"","description":"Sorts by metric values. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Order Type","name":"orderType","type":"options","default":"ORDER_TYPE_UNSPECIFIED","options":[{"name":"Alphanumeric","value":"ALPHANUMERIC","description":"Alphanumeric sort by Unicode code point"},{"name":"Case Insensitive Alphanumeric","value":"CASE_INSENSITIVE_ALPHANUMERIC","description":"Case insensitive alphanumeric sort by lower case Unicode code point"},{"name":"Numeric","value":"NUMERIC","description":"Dimension values are converted to numbers before sorting"},{"name":"Unspecified","value":"ORDER_TYPE_UNSPECIFIED"}]}]}]},{"displayName":"Return Property Quota","name":"returnPropertyQuota","type":"boolean","default":false,"description":"Whether to return the current state of this Analytics Property's quota. Quota is returned in PropertyQuota.","displayOptions":{"show":{"/simple":[false]}}}]},{"displayName":"View","name":"viewId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The View of Google Analytics","hint":"If this doesn't work, try changing the 'Property Type' field above","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a view...","typeOptions":{"searchListMethod":"searchViews","searchFilterRequired":false,"searchable":false}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://analytics.google.com/analytics/...","validation":[{"type":"regex","properties":{"regex":".*analytics.google.com/analytics.*p[0-9]{1,}.*","errorMessage":"Not a valid Google Analytics URL"}}],"extractValue":{"type":"regex","regex":".*analytics.google.com/analytics.*p([0-9]{1,})"}},{"displayName":"By ID","name":"id","type":"string","placeholder":"123456","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Google Analytics View ID"}}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}}},{"displayName":"Date Range","name":"dateRange","type":"options","required":true,"options":[{"name":"Last 7 Days","value":"last7days"},{"name":"Last 30 Days","value":"last30days"},{"name":"Today","value":"today"},{"name":"Yesterday","value":"yesterday"},{"name":"Last Complete Calendar Week","value":"lastCalendarWeek"},{"name":"Last Complete Calendar Month","value":"lastCalendarMonth"},{"name":"Custom","value":"custom"}],"default":"last7days","displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}}},{"displayName":"Start","name":"startDate","type":"dateTime","required":true,"default":"2023-08-29T00:00:00.000+00:00","displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"],"dateRange":["custom"]}}},{"displayName":"End","name":"endDate","type":"dateTime","required":true,"default":"2023-09-05T00:00:00.000+00:00","displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"],"dateRange":["custom"]}}},{"displayName":"Metrics","name":"metricsUA","type":"fixedCollection","default":{"metricValues":[{"listName":"ga:users"}]},"typeOptions":{"multipleValues":true},"placeholder":"Add metric","description":"Metrics in the request","options":[{"displayName":"Metric","name":"metricValues","values":[{"displayName":"Metric","name":"listName","type":"options","default":"ga:users","options":[{"name":"Checkouts","value":"ga:productCheckouts"},{"name":"Events","value":"ga:totalEvents"},{"name":"Page Views","value":"ga:pageviews"},{"name":"Session Duration","value":"ga:sessionDuration"},{"name":"Sessions","value":"ga:sessions"},{"name":"Sessions per User","value":"ga:sessionsPerUser"},{"name":"Total Users","value":"ga:users"},{"name":"Other metrics…","value":"other"},{"name":"Custom metric…","value":"custom"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getMetrics","loadOptionsDependsOn":["viewId.value"]},"default":"ga:users","hint":"If expression is specified, name can be any string that you would like","description":"The name of the metric. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Name","name":"name","type":"string","default":"custom_metric","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Expression","name":"expression","type":"string","default":"","placeholder":"e.g. ga:totalRefunds/ga:users","description":"Learn more about Google Analytics <a href=\"https://developers.google.com/analytics/devguides/reporting/core/v4/rest/v4/reports/batchGet#Metric\">metric expressions</a>","displayOptions":{"show":{"listName":["custom"]}}},{"displayName":"Formatting Type","name":"formattingType","type":"options","default":"INTEGER","description":"Specifies how the metric expression should be formatted","options":[{"name":"Currency","value":"CURRENCY"},{"name":"Float","value":"FLOAT"},{"name":"Integer","value":"INTEGER"},{"name":"Percent","value":"PERCENT"},{"name":"Time","value":"TIME"}],"displayOptions":{"show":{"listName":["custom"]}}}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}}},{"displayName":"Dimensions to split by","name":"dimensionsUA","type":"fixedCollection","default":{"dimensionValues":[{"listName":"ga:date"}]},"typeOptions":{"multipleValues":true},"placeholder":"Add Dimension","description":"Dimensions are attributes of your data. For example, the dimension ga:city indicates the city, for example, \"Paris\" or \"New York\", from which a session originates.","options":[{"displayName":"Values","name":"dimensionValues","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"ga:date","options":[{"name":"Browser","value":"ga:browser"},{"name":"Campaign","value":"ga:campaign"},{"name":"City","value":"ga:city"},{"name":"Country","value":"ga:country"},{"name":"Date","value":"ga:date"},{"name":"Device Category","value":"ga:deviceCategory"},{"name":"Item Name","value":"ga:productName"},{"name":"Language","value":"ga:language"},{"name":"Page","value":"ga:pagePath"},{"name":"Source / Medium","value":"ga:sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensions","loadOptionsDependsOn":["viewId.value"]},"default":"ga:date","description":"Name of the dimension to fetch, for example ga:browser. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}}]}],"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["universal"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["universal"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return"},{"displayName":"Simplify Output","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["report"],"propertyType":["universal"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["report"],"operation":["get"],"propertyType":["universal"]}},"options":[{"displayName":"Dimension Filters","name":"dimensionFiltersUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Dimension Filter","description":"Dimension Filters in the request","options":[{"displayName":"Filters","name":"filterValues","values":[{"displayName":"Dimension","name":"listName","type":"options","default":"ga:date","options":[{"name":"Browser","value":"ga:browser"},{"name":"Campaign","value":"ga:campaign"},{"name":"City","value":"ga:city"},{"name":"Country","value":"ga:country"},{"name":"Date","value":"ga:date"},{"name":"Device Category","value":"ga:deviceCategory"},{"name":"Item Name","value":"ga:productName"},{"name":"Language","value":"ga:language"},{"name":"Page","value":"ga:pagePath"},{"name":"Source / Medium","value":"ga:sourceMedium"},{"name":"Other dimensions…","value":"other"}]},{"displayName":"Name or ID","name":"name","type":"options","typeOptions":{"loadOptionsMethod":"getDimensions","loadOptionsDependsOn":["viewId.value"]},"default":"ga:date","description":"Name of the dimension to fetch, for example ga:browser. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"listName":["other"]}}},{"displayName":"Operator","name":"operator","type":"options","default":"EXACT","description":"Operator to use in combination with value","options":[{"name":"Begins With","value":"BEGINS_WITH"},{"name":"Ends With","value":"ENDS_WITH"},{"name":"Equals (Number)","value":"NUMERIC_EQUAL"},{"name":"Exactly Matches","value":"EXACT"},{"name":"Greater Than (Number)","value":"NUMERIC_GREATER_THAN"},{"name":"Less Than (Number)","value":"NUMERIC_LESS_THAN"},{"name":"Partly Matches","value":"PARTIAL"},{"name":"Regular Expression","value":"REGEXP"}]},{"displayName":"Value","name":"expressions","type":"string","default":"","placeholder":"","description":"String or <a href=\"https://support.google.com/analytics/answer/1034324?hl=en\">regular expression</a> to match against"}]}]},{"displayName":"Hide Totals","name":"hideTotals","type":"boolean","default":false,"description":"Whether to hide the total of all metrics for all the matching rows, for every date range","displayOptions":{"show":{"/simple":[false]}}},{"displayName":"Hide Value Ranges","name":"hideValueRanges","type":"boolean","default":false,"description":"Whether to hide the minimum and maximum across all matching rows","displayOptions":{"show":{"/simple":[false]}}},{"displayName":"Include Empty Rows","name":"includeEmptyRows","type":"boolean","default":false,"description":"Whether the response exclude rows if all the retrieved metrics are equal to zero"},{"displayName":"Use Resource Quotas","name":"useResourceQuotas","type":"boolean","default":false,"description":"Whether to enable resource based quotas","displayOptions":{"show":{"/simple":[false]}}}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["userActivity"]}},"options":[{"name":"Search","value":"search","description":"Return user activity data","action":"Search user activity data"}],"default":"search"},{"displayName":"View Name or ID","name":"viewId","type":"options","typeOptions":{"loadOptionsMethod":"getViews"},"default":"","required":true,"displayOptions":{"show":{"resource":["userActivity"],"operation":["search"]}},"placeholder":"123456","description":"The view from Google Analytics. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","hint":"If there's nothing here, try changing the 'Property type' field above"},{"displayName":"User ID","name":"userId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["userActivity"],"operation":["search"]}},"placeholder":"123456","description":"ID of a user"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["search"],"resource":["userActivity"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["search"],"resource":["userActivity"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["search"],"resource":["userActivity"]}},"options":[{"displayName":"Activity Types","name":"activityTypes","type":"multiOptions","options":[{"name":"Ecommerce","value":"ECOMMERCE"},{"name":"Event","value":"EVENT"},{"name":"Goal","value":"GOAL"},{"name":"Pageview","value":"PAGEVIEW"},{"name":"Screenview","value":"SCREENVIEW"}],"description":"Type of activites requested","default":[]}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Analytics/analytics.svg","codex":{"categories":["Analytics"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googleanalytics/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}}},
134
135
  {"displayName":"Google BigQuery","name":"n8n-nodes-base.googleBigQuery","group":["input"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Google BigQuery API","defaultVersion":2,"version":1,"defaults":{"name":"Google BigQuery"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleBigQueryOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"<strong>New node version available:</strong> get the latest version with added features from the nodes panel.","name":"oldVersionNotice","type":"notice","default":""},{"displayName":"Authentication","name":"authentication","type":"options","noDataExpression":true,"options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Record","value":"record"}],"default":"record"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["record"]}},"options":[{"name":"Create","value":"create","description":"Create a new record","action":"Create a record"},{"name":"Get Many","value":"getAll","description":"Retrieve many records","action":"Get many records"}],"default":"create"},{"displayName":"Project Name or ID","name":"projectId","type":"options","typeOptions":{"loadOptionsMethod":"getProjects"},"required":true,"displayOptions":{"show":{"operation":["create"],"resource":["record"]}},"default":"","description":"ID of the project to create the record in. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Dataset Name or ID","name":"datasetId","type":"options","typeOptions":{"loadOptionsMethod":"getDatasets","loadOptionsDependsOn":["projectId"]},"required":true,"displayOptions":{"show":{"operation":["create"],"resource":["record"]}},"default":"","description":"ID of the dataset to create the record in. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Table Name or ID","name":"tableId","type":"options","typeOptions":{"loadOptionsMethod":"getTables","loadOptionsDependsOn":["projectId","datasetId"]},"required":true,"displayOptions":{"show":{"operation":["create"],"resource":["record"]}},"default":"","description":"ID of the table to create the record in. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"resource":["record"],"operation":["create"]}},"default":"","required":true,"placeholder":"id,name,description","description":"Comma-separated list of the item properties to use as columns"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Options","default":{},"displayOptions":{"show":{"operation":["create"],"resource":["record"]}},"options":[{"displayName":"Ignore Unknown Values","name":"ignoreUnknownValues","type":"boolean","default":false,"description":"Whether to gnore row values that do not match the schema"},{"displayName":"Skip Invalid Rows","name":"skipInvalidRows","type":"boolean","default":false,"description":"Whether to skip rows with values that do not match the schema"},{"displayName":"Template Suffix","name":"templateSuffix","type":"string","default":"","description":"Create a new table based on the destination table and insert rows into the new table. The new table will be named <code>{destinationTable}{templateSuffix}</code>"},{"displayName":"Trace ID","name":"traceId","type":"string","default":"","description":"Unique ID for the request, for debugging only. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended."}]},{"displayName":"Project Name or ID","name":"projectId","type":"options","typeOptions":{"loadOptionsMethod":"getProjects"},"required":true,"displayOptions":{"show":{"operation":["getAll"],"resource":["record"]}},"default":"","description":"ID of the project to retrieve all rows from. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Dataset Name or ID","name":"datasetId","type":"options","typeOptions":{"loadOptionsMethod":"getDatasets","loadOptionsDependsOn":["projectId"]},"required":true,"displayOptions":{"show":{"operation":["getAll"],"resource":["record"]}},"default":"","description":"ID of the dataset to retrieve all rows from. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Table Name or ID","name":"tableId","type":"options","typeOptions":{"loadOptionsMethod":"getTables","loadOptionsDependsOn":["projectId","datasetId"]},"required":true,"displayOptions":{"show":{"operation":["getAll"],"resource":["record"]}},"default":"","description":"ID of the table to retrieve all rows from. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["record"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll"],"resource":["record"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":50,"description":"Max number of results to return"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"resource":["record"],"operation":["getAll"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Options","default":{},"displayOptions":{"show":{"operation":["getAll"],"resource":["record"]}},"options":[{"displayName":"Fields","name":"selectedFields","type":"string","default":"","description":"Subset of fields to return, supports select into sub fields. Example: <code>selectedFields = \"a,e.d.f\"</code>"}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/BigQuery/googleBigQuery.svg"},
135
136
  {"displayName":"Google BigQuery","name":"n8n-nodes-base.googleBigQuery","group":["input"],"subtitle":"={{$parameter[\"operation\"]}}","description":"Consume Google BigQuery API","defaultVersion":2,"version":2,"defaults":{"name":"Google BigQuery"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleBigQueryOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","noDataExpression":true,"options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["database"]}},"options":[{"name":"Execute Query","value":"executeQuery","description":"Execute a SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"}],"default":"executeQuery"},{"displayName":"Project","name":"projectId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"searchProjects","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/console.cloud.google.com\\/bigquery\\?project=([0-9a-zA-Z\\-_]+).{0,}"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/console.cloud.google.com\\/bigquery\\?project=([0-9a-zA-Z\\-_]+).{0,}","errorMessage":"Not a valid BigQuery Project URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid BigQuery Project ID"}}],"url":"=https://console.cloud.google.com/bigquery?project={{$value}}"}],"description":"Projects to which you have been granted any project role","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery","insert"]}}},{"displayName":"Dataset","name":"datasetId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"searchDatasets","searchable":true}},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Dataset ID"}}]}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]}}},{"displayName":"Table","name":"tableId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"searchTables","searchable":true}},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Table ID"}}]}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]}}},{"displayName":"SQL Query","name":"sqlQuery","type":"string","noDataExpression":true,"typeOptions":{"editor":"sqlEditor"},"displayOptions":{"hide":{"/options.useLegacySql":[true]},"show":{"resource":["database"],"operation":["executeQuery"]}},"default":"","placeholder":"SELECT * FROM dataset.table LIMIT 100","description":"SQL query to execute, you can find more information <a href=\"https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax\" target=\"_blank\">here</a>. Standard SQL syntax used by default, but you can also use Legacy SQL syntax by using optinon 'Use Legacy SQL'."},{"displayName":"SQL Query","name":"sqlQuery","type":"string","noDataExpression":true,"typeOptions":{"editor":"sqlEditor"},"displayOptions":{"show":{"/options.useLegacySql":[true],"resource":["database"],"operation":["executeQuery"]}},"default":"","placeholder":"SELECT * FROM [project:dataset.table] LIMIT 100;","hint":"Legacy SQL syntax","description":"SQL query to execute, you can find more information about Legacy SQL syntax <a href=\"https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax\" target=\"_blank\">here</a>"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Options","default":{},"options":[{"displayName":"Default Dataset Name or ID","name":"defaultDataset","type":"options","typeOptions":{"loadOptionsMethod":"getDatasets","loadOptionsDependsOn":["projectId.value"]},"default":"","description":"If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Dry Run","name":"dryRun","type":"boolean","default":false,"description":"Whether set to true BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns."},{"displayName":"Include Schema in Output","name":"includeSchema","type":"boolean","default":false,"description":"Whether to include the schema in the output. If set to true, the output will contain key '_schema' with the schema of the table.","displayOptions":{"hide":{"rawOutput":[true]}}},{"displayName":"Location (Region)","name":"location","type":"string","default":"","placeholder":"e.g. europe-west3","description":"Location or the region where data would be stored and processed. Pricing for storage and analysis is also defined by location of data and reservations, more information <a href=\"https://cloud.google.com/bigquery/docs/locations\" target=\"_blank\">here</a>."},{"displayName":"Maximum Bytes Billed","name":"maximumBytesBilled","type":"string","default":"","description":"Limits the bytes billed for this query. Queries with bytes billed above this limit will fail (without incurring a charge). String in <a href=\"https://developers.google.com/discovery/v1/type-format?utm_source=cloud.google.com&utm_medium=referral\" target=\"_blank\">Int64Value</a> format"},{"displayName":"Max Results","name":"maxResults","type":"number","default":1000,"description":"The maximum number of rows of data to return"},{"displayName":"Timeout","name":"timeoutMs","type":"number","default":10000,"description":"How long to wait for the query to complete, in milliseconds"},{"displayName":"Raw Output","name":"rawOutput","type":"boolean","default":false,"displayOptions":{"hide":{"dryRun":[true]}}},{"displayName":"Use Legacy SQL","name":"useLegacySql","type":"boolean","default":false,"description":"Whether to use BigQuery's legacy SQL dialect for this query. If set to false, the query will use BigQuery's standard SQL."}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data","value":"autoMap","description":"Use when node input properties match destination field names"},{"name":"Map Each Field Below","value":"define","description":"Set the value for each destination field"}],"default":"autoMap","description":"Whether to insert the input data this node receives in the new row","displayOptions":{"show":{"resource":["database"],"operation":["insert"]}}},{"displayName":"In this mode, make sure the incoming data fields are named the same as the columns in BigQuery. (Use a 'set' node before this node to change them if required.)","name":"info","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMap"],"resource":["database"],"operation":["insert"]}}},{"displayName":"Fields to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Field","multipleValues":true},"default":{},"options":[{"displayName":"Field","name":"values","values":[{"displayName":"Field Name or ID","name":"fieldId","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsDependsOn":["projectId.value","datasetId.value","tableId.value"],"loadOptionsMethod":"getSchema"},"default":""},{"displayName":"Field Value","name":"fieldValue","type":"string","default":""}]}],"displayOptions":{"show":{"dataMode":["define"],"resource":["database"],"operation":["insert"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Options","default":{},"options":[{"displayName":"Batch Size","name":"batchSize","type":"number","default":100,"typeOptions":{"minValue":1}},{"displayName":"Ignore Unknown Values","name":"ignoreUnknownValues","type":"boolean","default":false,"description":"Whether to gnore row values that do not match the schema"},{"displayName":"Skip Invalid Rows","name":"skipInvalidRows","type":"boolean","default":false,"description":"Whether to skip rows with values that do not match the schema"},{"displayName":"Template Suffix","name":"templateSuffix","type":"string","default":"","description":"Create a new table based on the destination table and insert rows into the new table. The new table will be named <code>{destinationTable}{templateSuffix}</code>"},{"displayName":"Trace ID","name":"traceId","type":"string","default":"","description":"Unique ID for the request, for debugging only. It is case-sensitive, limited to up to 36 ASCII characters. A UUID is recommended."}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/BigQuery/googleBigQuery.svg","codex":{"categories":["Data & Storage","Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlebigquery/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}}},
136
137
  {"displayName":"Google Books","name":"n8n-nodes-base.googleBooks","group":["input","output"],"version":[1,2],"description":"Read data from Google Books","subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","defaults":{"name":"Google Books"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleBooksOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Service Account","value":"serviceAccount"},{"name":"OAuth2","value":"oAuth2"}],"default":"serviceAccount","displayOptions":{"show":{"@version":[1]}}},{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2","displayOptions":{"show":{"@version":[2]}}},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Bookshelf","value":"bookshelf"},{"name":"Bookshelf Volume","value":"bookshelfVolume"},{"name":"Volume","value":"volume"}],"default":"bookshelf"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Get","value":"get","description":"Retrieve a specific bookshelf resource for the specified user","action":"Get a bookshelf"},{"name":"Get Many","value":"getAll","description":"Get many public bookshelf resource for the specified user","action":"Get many bookshelves"}],"displayOptions":{"show":{"resource":["bookshelf"]}},"default":"get"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Add","value":"add","description":"Add a volume to a bookshelf","action":"Add a bookshelf volume"},{"name":"Clear","value":"clear","description":"Clears all volumes from a bookshelf","action":"Clear a bookshelf volume"},{"name":"Get Many","value":"getAll","description":"Get many volumes in a specific bookshelf for the specified user","action":"Get many bookshelf volumes"},{"name":"Move","value":"move","description":"Moves a volume within a bookshelf","action":"Move a bookshelf volume"},{"name":"Remove","value":"remove","description":"Removes a volume from a bookshelf","action":"Remove a bookshelf volume"}],"displayOptions":{"show":{"resource":["bookshelfVolume"]}},"default":"getAll"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Get","value":"get","description":"Get a volume resource based on ID","action":"Get a volume"},{"name":"Get Many","value":"getAll","description":"Get many volumes filtered by query","action":"Get many volumes"}],"displayOptions":{"show":{"resource":["volume"]}},"default":"get"},{"displayName":"My Library","name":"myLibrary","type":"boolean","default":false,"required":true,"displayOptions":{"show":{"operation":["get","getAll"],"resource":["bookshelf","bookshelfVolume"]}}},{"displayName":"Search Query","name":"searchQuery","type":"string","description":"Full-text search query string","default":"","required":true,"displayOptions":{"show":{"operation":["getAll"],"resource":["volume"]}}},{"displayName":"User ID","name":"userId","type":"string","description":"ID of user","default":"","required":true,"displayOptions":{"show":{"operation":["get","getAll"],"resource":["bookshelf","bookshelfVolume"]},"hide":{"myLibrary":[true]}}},{"displayName":"Bookshelf ID","name":"shelfId","type":"string","description":"ID of the bookshelf","default":"","required":true,"displayOptions":{"show":{"operation":["get","add","clear","move","remove"],"resource":["bookshelf","bookshelfVolume"]}}},{"displayName":"Bookshelf ID","name":"shelfId","type":"string","description":"ID of the bookshelf","default":"","required":true,"displayOptions":{"show":{"operation":["getAll"],"resource":["bookshelfVolume"]}}},{"displayName":"Volume ID","name":"volumeId","type":"string","description":"ID of the volume","default":"","required":true,"displayOptions":{"show":{"operation":["add","move","remove","get"],"resource":["bookshelfVolume","volume"]}}},{"displayName":"Volume Position","name":"volumePosition","type":"string","description":"Position on shelf to move the item (0 puts the item before the current first item, 1 puts it between the first and the second and so on)","default":"","required":true,"displayOptions":{"show":{"operation":["move"],"resource":["bookshelfVolume"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":40},"default":40,"description":"Max number of results to return"}],"codex":{"categories":["Miscellaneous"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlebooks/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Books/googlebooks.svg"},
@@ -305,10 +306,10 @@
305
306
  {"displayName":"Plivo","name":"n8n-nodes-base.plivo","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Send SMS/MMS messages or make phone calls","defaults":{"name":"Plivo"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"plivoApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Call","value":"call"},{"name":"MMS","value":"mms"},{"name":"SMS","value":"sms"}],"default":"sms","required":true},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["sms"]}},"options":[{"name":"Send","value":"send","description":"Send an SMS message","action":"Send an SMS"}],"default":"send"},{"displayName":"From","name":"from","type":"string","default":"","description":"Plivo Number to send the SMS from","placeholder":"+14156667777","required":true,"displayOptions":{"show":{"resource":["sms"],"operation":["send"]}}},{"displayName":"To","name":"to","type":"string","default":"","description":"Phone number to send the message to","placeholder":"+14156667778","required":true,"displayOptions":{"show":{"resource":["sms"],"operation":["send"]}}},{"displayName":"Message","name":"message","type":"string","default":"","description":"Message to send","required":true,"displayOptions":{"show":{"operation":["send"],"resource":["sms"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["mms"]}},"options":[{"name":"Send","value":"send","description":"Send an MMS message (US/Canada only)","action":"Send an MMS"}],"default":"send"},{"displayName":"From","name":"from","type":"string","default":"","description":"Plivo Number to send the MMS from","placeholder":"+14156667777","required":true,"displayOptions":{"show":{"resource":["mms"],"operation":["send"]}}},{"displayName":"To","name":"to","type":"string","default":"","description":"Phone number to send the MMS to","placeholder":"+14156667778","required":true,"displayOptions":{"show":{"operation":["send"],"resource":["mms"]}}},{"displayName":"Message","name":"message","type":"string","default":"","description":"Message to send","displayOptions":{"show":{"resource":["mms"],"operation":["send"]}}},{"displayName":"Media URLs","name":"media_urls","type":"string","default":"","displayOptions":{"show":{"resource":["mms"],"operation":["send"]}},"description":"Comma-separated list of media URLs of the files from your file server"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["call"]}},"options":[{"name":"Make","value":"make","description":"Make a voice call","action":"Make a call"}],"default":"make"},{"displayName":"From","name":"from","type":"string","default":"","placeholder":"+14156667777","description":"Caller ID for the call to make","required":true,"displayOptions":{"show":{"resource":["call"],"operation":["make"]}}},{"displayName":"To","name":"to","type":"string","default":"","placeholder":"+14156667778","required":true,"description":"Phone number to make the call to","displayOptions":{"show":{"resource":["call"],"operation":["make"]}}},{"displayName":"Answer Method","name":"answer_method","type":"options","required":true,"description":"HTTP verb to be used when invoking the Answer URL","default":"POST","options":[{"name":"GET","value":"GET"},{"name":"POST","value":"POST"}],"displayOptions":{"show":{"resource":["call"],"operation":["make"]}}},{"displayName":"Answer URL","name":"answer_url","type":"string","default":"","description":"URL to be invoked by Plivo once the call is answered. It should return the XML to handle the call once answered.","required":true,"displayOptions":{"show":{"resource":["call"],"operation":["make"]}}}],"codex":{"categories":["Communication","Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.plivo/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/plivo"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Plivo/plivo.svg"},
306
307
  {"displayName":"PostBin","name":"n8n-nodes-base.postBin","group":["transform"],"version":1,"subtitle":"={{ $parameter[\"operation\"] + \": \" + $parameter[\"resource\"] }}","description":"Consume PostBin API","defaults":{"name":"PostBin"},"inputs":["main"],"outputs":["main"],"credentials":[],"requestDefaults":{"baseURL":"https://www.toptal.com"},"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Bin","value":"bin"},{"name":"Request","value":"request"}],"default":"bin","required":true},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["bin"]}},"options":[{"name":"Create","value":"create","description":"Create bin","routing":{"request":{"method":"POST","url":"/developers/postbin/api/bin"},"output":{"postReceive":[null]}},"action":"Create a bin"},{"name":"Get","value":"get","description":"Get a bin","routing":{"request":{"method":"GET"},"output":{"postReceive":[null]},"send":{"preSend":[null]}},"action":"Get a bin"},{"name":"Delete","value":"delete","description":"Delete a bin","routing":{"request":{"method":"DELETE"},"send":{"preSend":[null]}},"action":"Delete a bin"}],"default":"create"},{"displayName":"Bin ID","name":"binId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["bin"],"operation":["get","delete"]}},"description":"Unique identifier for each bin"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["request"]}},"options":[{"name":"Get","value":"get","description":"Get a request","routing":{"request":{"method":"GET","url":"=/developers/postbin/api/bin/{{$parameter[\"binId\"]}}/req/{{$parameter[\"requestId\"]}}"},"send":{"preSend":[null]}},"action":"Get a request"},{"name":"Remove First","value":"removeFirst","description":"Remove the first request from bin","routing":{"request":{"method":"GET","url":"=/developers/postbin/api/bin/{{$parameter[\"binId\"]}}/req/shift"},"send":{"preSend":[null]}},"action":"Remove First a request"},{"name":"Send","value":"send","description":"Send a test request to the bin","routing":{"request":{"method":"POST"},"send":{"preSend":[null]},"output":{"postReceive":[{"type":"set","properties":{"value":"={{ { \"requestId\": $response.body } }}"}}]}},"action":"Send a request"}],"default":"get"},{"displayName":"Bin ID","name":"binId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["request"],"operation":["get","removeFirst","send"]}},"description":"Unique identifier for each bin"},{"displayName":"Bin Content","name":"binContent","type":"string","default":"","typeOptions":{"rows":5},"displayOptions":{"show":{"resource":["request"],"operation":["send"]}},"routing":{"send":{"property":"content","type":"body"}}},{"displayName":"Request ID","name":"requestId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["request"],"operation":["get"]}},"description":"Unique identifier for each request"}],"codex":{"categories":["Development","Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postbin/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/PostBin/postbin.svg"},
307
308
  {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":1,"defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"<strong>New node version available:</strong> get the latest version with added features from the nodes panel.","name":"oldVersionNotice","type":"notice","default":""},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in database","action":"Insert rows in database"},{"name":"Update","value":"update","description":"Update rows in database","action":"Update rows in database"}],"default":"insert"},{"displayName":"Query","name":"query","type":"string","noDataExpression":true,"typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"displayOptions":{"show":{"operation":["executeQuery"]}},"default":"","placeholder":"SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","required":true,"description":"The SQL query to execute. You can use n8n expressions or $1 and $2 in conjunction with query parameters."},{"displayName":"Schema","name":"schema","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"public","required":true,"description":"Name of the schema the table belongs to"},{"displayName":"Table","name":"table","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"","required":true,"description":"Name of the table in which to insert data to"},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"","placeholder":"id:int,name:text,description","description":"Comma-separated list of the properties which should used as columns for the new rows. You can use type casting with colons (:) like id:int."},{"displayName":"Schema","name":"schema","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"public","description":"Name of the schema the table belongs to"},{"displayName":"Table","name":"table","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"","required":true,"description":"Name of the table in which to update data in"},{"displayName":"Update Key","name":"updateKey","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"id","required":true,"description":"Comma-separated list of the properties which decides which rows in the database should be updated. Normally that would be \"id\"."},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"","placeholder":"name:text,description","description":"Comma-separated list of the properties which should used as columns for rows to update. You can use type casting with colons (:) like id:int."},{"displayName":"Return Fields","name":"returnFields","type":"string","requiresDataPath":"multiple","displayOptions":{"show":{"operation":["insert","update"]}},"default":"*","description":"Comma-separated list of the fields that the operation will return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Mode","name":"mode","type":"options","options":[{"name":"Independently","value":"independently","description":"Execute each query independently"},{"name":"Multiple Queries","value":"multiple","description":"<b>Default</b>. Sends multiple queries at once to database."},{"name":"Transaction","value":"transaction","description":"Executes all queries in a single transaction"}],"default":"multiple","description":"The way queries should be sent to database. Can be used in conjunction with <b>Continue on Fail</b>. See <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/\">the docs</a> for more examples"},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Query Parameters","name":"queryParams","type":"string","displayOptions":{"show":{"/operation":["executeQuery"]}},"default":"","placeholder":"quantity,price","description":"Comma-separated list of properties which should be used as query parameters"}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
308
- {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":[2,2.1,2.2,2.3],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete","value":"deleteTable","description":"Delete an entire table or rows in a table","action":"Delete table or rows"},{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"},{"name":"Insert or Update","value":"upsert","description":"Insert or update rows in a table","action":"Insert or update rows in a table"},{"name":"Select","value":"select","description":"Select rows from a table","action":"Select rows from a table"},{"name":"Update","value":"update","description":"Update rows in a table","action":"Update rows in a table"}],"displayOptions":{"show":{"resource":["database"]}},"default":"insert"},{"displayName":"Schema","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"placeholder":"e.g. public","description":"The schema that contains the table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"schemaSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"tableSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Command","name":"deleteCommand","type":"options","default":"truncate","options":[{"name":"Truncate","value":"truncate","description":"Only removes the table's data and preserves the table's structure"},{"name":"Delete","value":"delete","description":"Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."},{"name":"Drop","value":"drop","description":"Deletes the table's data and also the table's structure permanently"}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Restart Sequences","name":"restartSequences","type":"boolean","default":false,"description":"Whether to reset identity (auto-increment) columns to their initial values","displayOptions":{"show":{"deleteCommand":["truncate"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
309
- {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":[2,2.1,2.2,2.3],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete","value":"deleteTable","description":"Delete an entire table or rows in a table","action":"Delete table or rows"},{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"},{"name":"Insert or Update","value":"upsert","description":"Insert or update rows in a table","action":"Insert or update rows in a table"},{"name":"Select","value":"select","description":"Select rows from a table","action":"Select rows from a table"},{"name":"Update","value":"update","description":"Update rows in a table","action":"Update rows in a table"}],"displayOptions":{"show":{"resource":["database"]}},"default":"insert"},{"displayName":"Schema","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"placeholder":"e.g. public","description":"The schema that contains the table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"schemaSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"tableSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Command","name":"deleteCommand","type":"options","default":"truncate","options":[{"name":"Truncate","value":"truncate","description":"Only removes the table's data and preserves the table's structure"},{"name":"Delete","value":"delete","description":"Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."},{"name":"Drop","value":"drop","description":"Deletes the table's data and also the table's structure permanently"}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Restart Sequences","name":"restartSequences","type":"boolean","default":false,"description":"Whether to reset identity (auto-increment) columns to their initial values","displayOptions":{"show":{"deleteCommand":["truncate"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
310
- {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":[2,2.1,2.2,2.3],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete","value":"deleteTable","description":"Delete an entire table or rows in a table","action":"Delete table or rows"},{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"},{"name":"Insert or Update","value":"upsert","description":"Insert or update rows in a table","action":"Insert or update rows in a table"},{"name":"Select","value":"select","description":"Select rows from a table","action":"Select rows from a table"},{"name":"Update","value":"update","description":"Update rows in a table","action":"Update rows in a table"}],"displayOptions":{"show":{"resource":["database"]}},"default":"insert"},{"displayName":"Schema","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"placeholder":"e.g. public","description":"The schema that contains the table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"schemaSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"tableSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Command","name":"deleteCommand","type":"options","default":"truncate","options":[{"name":"Truncate","value":"truncate","description":"Only removes the table's data and preserves the table's structure"},{"name":"Delete","value":"delete","description":"Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."},{"name":"Drop","value":"drop","description":"Deletes the table's data and also the table's structure permanently"}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Restart Sequences","name":"restartSequences","type":"boolean","default":false,"description":"Whether to reset identity (auto-increment) columns to their initial values","displayOptions":{"show":{"deleteCommand":["truncate"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
311
- {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":[2,2.1,2.2,2.3],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete","value":"deleteTable","description":"Delete an entire table or rows in a table","action":"Delete table or rows"},{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"},{"name":"Insert or Update","value":"upsert","description":"Insert or update rows in a table","action":"Insert or update rows in a table"},{"name":"Select","value":"select","description":"Select rows from a table","action":"Select rows from a table"},{"name":"Update","value":"update","description":"Update rows in a table","action":"Update rows in a table"}],"displayOptions":{"show":{"resource":["database"]}},"default":"insert"},{"displayName":"Schema","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"placeholder":"e.g. public","description":"The schema that contains the table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"schemaSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"tableSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Command","name":"deleteCommand","type":"options","default":"truncate","options":[{"name":"Truncate","value":"truncate","description":"Only removes the table's data and preserves the table's structure"},{"name":"Delete","value":"delete","description":"Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."},{"name":"Drop","value":"drop","description":"Deletes the table's data and also the table's structure permanently"}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Restart Sequences","name":"restartSequences","type":"boolean","default":false,"description":"Whether to reset identity (auto-increment) columns to their initial values","displayOptions":{"show":{"deleteCommand":["truncate"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg","codex":{"categories":["Development","Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/postgres"}]}}},
309
+ {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":[2,2.1,2.2,2.3],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete","value":"deleteTable","description":"Delete an entire table or rows in a table","action":"Delete table or rows"},{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"},{"name":"Insert or Update","value":"upsert","description":"Insert or update rows in a table","action":"Insert or update rows in a table"},{"name":"Select","value":"select","description":"Select rows from a table","action":"Select rows from a table"},{"name":"Update","value":"update","description":"Update rows in a table","action":"Update rows in a table"}],"displayOptions":{"show":{"resource":["database"]}},"default":"insert"},{"displayName":"Schema","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"placeholder":"e.g. public","description":"The schema that contains the table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"schemaSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"tableSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Command","name":"deleteCommand","type":"options","default":"truncate","options":[{"name":"Truncate","value":"truncate","description":"Only removes the table's data and preserves the table's structure"},{"name":"Delete","value":"delete","description":"Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."},{"name":"Drop","value":"drop","description":"Deletes the table's data and also the table's structure permanently"}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Restart Sequences","name":"restartSequences","type":"boolean","default":false,"description":"Whether to reset identity (auto-increment) columns to their initial values","displayOptions":{"show":{"deleteCommand":["truncate"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
310
+ {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":[2,2.1,2.2,2.3],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete","value":"deleteTable","description":"Delete an entire table or rows in a table","action":"Delete table or rows"},{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"},{"name":"Insert or Update","value":"upsert","description":"Insert or update rows in a table","action":"Insert or update rows in a table"},{"name":"Select","value":"select","description":"Select rows from a table","action":"Select rows from a table"},{"name":"Update","value":"update","description":"Update rows in a table","action":"Update rows in a table"}],"displayOptions":{"show":{"resource":["database"]}},"default":"insert"},{"displayName":"Schema","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"placeholder":"e.g. public","description":"The schema that contains the table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"schemaSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"tableSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Command","name":"deleteCommand","type":"options","default":"truncate","options":[{"name":"Truncate","value":"truncate","description":"Only removes the table's data and preserves the table's structure"},{"name":"Delete","value":"delete","description":"Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."},{"name":"Drop","value":"drop","description":"Deletes the table's data and also the table's structure permanently"}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Restart Sequences","name":"restartSequences","type":"boolean","default":false,"description":"Whether to reset identity (auto-increment) columns to their initial values","displayOptions":{"show":{"deleteCommand":["truncate"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
311
+ {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":[2,2.1,2.2,2.3],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete","value":"deleteTable","description":"Delete an entire table or rows in a table","action":"Delete table or rows"},{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"},{"name":"Insert or Update","value":"upsert","description":"Insert or update rows in a table","action":"Insert or update rows in a table"},{"name":"Select","value":"select","description":"Select rows from a table","action":"Select rows from a table"},{"name":"Update","value":"update","description":"Update rows in a table","action":"Update rows in a table"}],"displayOptions":{"show":{"resource":["database"]}},"default":"insert"},{"displayName":"Schema","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"placeholder":"e.g. public","description":"The schema that contains the table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"schemaSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"tableSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Command","name":"deleteCommand","type":"options","default":"truncate","options":[{"name":"Truncate","value":"truncate","description":"Only removes the table's data and preserves the table's structure"},{"name":"Delete","value":"delete","description":"Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."},{"name":"Drop","value":"drop","description":"Deletes the table's data and also the table's structure permanently"}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Restart Sequences","name":"restartSequences","type":"boolean","default":false,"description":"Whether to reset identity (auto-increment) columns to their initial values","displayOptions":{"show":{"deleteCommand":["truncate"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
312
+ {"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.3,"description":"Get, add and update data in Postgres","version":[2,2.1,2.2,2.3],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"Postgres"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postgres","required":true,"testedBy":"postgresConnectionTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Delete","value":"deleteTable","description":"Delete an entire table or rows in a table","action":"Delete table or rows"},{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"},{"name":"Insert or Update","value":"upsert","description":"Insert or update rows in a table","action":"Insert or update rows in a table"},{"name":"Select","value":"select","description":"Select rows from a table","action":"Select rows from a table"},{"name":"Update","value":"update","description":"Update rows in a table","action":"Update rows in a table"}],"displayOptions":{"show":{"resource":["database"]}},"default":"insert"},{"displayName":"Schema","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"placeholder":"e.g. public","description":"The schema that contains the table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"schemaSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"description":"The table you want to work on","modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"tableSearch"}},{"displayName":"By Name","name":"name","type":"string"}],"displayOptions":{"hide":{"operation":["executeQuery"]}}},{"displayName":"Command","name":"deleteCommand","type":"options","default":"truncate","options":[{"name":"Truncate","value":"truncate","description":"Only removes the table's data and preserves the table's structure"},{"name":"Delete","value":"delete","description":"Delete the rows that match the 'Select Rows' conditions below. If no selection is made, all rows in the table are deleted."},{"name":"Drop","value":"drop","description":"Deletes the table's data and also the table's structure permanently"}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Restart Sequences","name":"restartSequences","type":"boolean","default":false,"description":"Whether to reset identity (auto-increment) columns to their initial values","displayOptions":{"show":{"deleteCommand":["truncate"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2,2.3],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg","codex":{"categories":["Development","Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/postgres"}]}}},
312
313
  {"displayName":"Postgres Trigger","name":"n8n-nodes-base.postgresTrigger","group":["trigger"],"version":1,"description":"Listens to Postgres messages","eventTriggerDescription":"","defaults":{"name":"Postgres Trigger"},"triggerPanel":{"header":"","executionsHelp":{"inactive":"<b>While building your workflow</b>, click the 'listen' button, then trigger a Postgres event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.","active":"<b>While building your workflow</b>, click the 'listen' button, then trigger a Postgres event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor."},"activationHint":"Once you've finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won't see those executions here)."},"inputs":[],"outputs":["main"],"credentials":[{"name":"postgres","required":true}],"properties":[{"displayName":"Listen For","name":"triggerMode","type":"options","options":[{"name":"Table Row Change Events","value":"createTrigger","description":"Insert, update or delete"},{"name":"Advanced","value":"listenTrigger","description":"Listen to existing Postgres channel"}],"default":"createTrigger"},{"displayName":"Schema Name","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"displayOptions":{"show":{"triggerMode":["createTrigger"]}},"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a schema","typeOptions":{"searchListMethod":"searchSchema","searchFilterRequired":false}},{"displayName":"Name","name":"name","type":"string","placeholder":"e.g. public"}]},{"displayName":"Table Name","name":"tableName","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"displayOptions":{"show":{"triggerMode":["createTrigger"]}},"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a table","typeOptions":{"searchListMethod":"searchTables","searchFilterRequired":false}},{"displayName":"Name","name":"name","type":"string","placeholder":"e.g. table_name"}]},{"displayName":"Channel Name","name":"channelName","type":"string","default":"","required":true,"placeholder":"e.g. n8n_channel","description":"Name of the channel to listen to","displayOptions":{"show":{"triggerMode":["listenTrigger"]}}},{"displayName":"Event to listen for","name":"firesOn","type":"options","displayOptions":{"show":{"triggerMode":["createTrigger"]}},"options":[{"name":"Insert","value":"INSERT"},{"name":"Update","value":"UPDATE"},{"name":"Delete","value":"DELETE"}],"default":"INSERT"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"triggerMode":["createTrigger"]}},"options":[{"displayName":"Channel Name","name":"channelName","type":"string","placeholder":"e.g. n8n_channel","description":"Name of the channel to listen to","default":""},{"displayName":"Function Name","name":"functionName","type":"string","description":"Name of the function to create","placeholder":"e.g. n8n_trigger_function()","default":""},{"displayName":"Replace if Exists","name":"replaceIfExists","type":"boolean","description":"Whether to replace an existing function and trigger with the same name","default":false},{"displayName":"Trigger Name","name":"triggerName","type":"string","description":"Name of the trigger to create","placeholder":"e.g. n8n_trigger","default":""}]}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.postgrestrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/postgres"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
313
314
  {"displayName":"PostHog","name":"n8n-nodes-base.postHog","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume PostHog API","defaults":{"name":"PostHog"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"postHogApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Alias","value":"alias"},{"name":"Event","value":"event"},{"name":"Identity","value":"identity"},{"name":"Track","value":"track"}],"default":"event"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["alias"]}},"options":[{"name":"Create","value":"create","description":"Create an alias","action":"Create an alias"}],"default":"create"},{"displayName":"Alias","name":"alias","type":"string","required":true,"displayOptions":{"show":{"resource":["alias"],"operation":["create"]}},"default":"","description":"The name of the alias"},{"displayName":"Distinct ID","name":"distinctId","type":"string","required":true,"displayOptions":{"show":{"resource":["alias"],"operation":["create"]}},"default":"","description":"The user's distinct ID"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"resource":["alias"],"operation":["create"]}},"default":{},"options":[{"displayName":"Context","name":"contextUi","type":"fixedCollection","placeholder":"Add Property","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Context","name":"contextValues","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Timestamp","name":"timestamp","type":"dateTime","default":"","description":"If not set, it'll automatically be set to the current time"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["event"]}},"options":[{"name":"Create","value":"create","description":"Create an event","action":"Create an event"}],"default":"create"},{"displayName":"Event","name":"eventName","type":"string","required":true,"displayOptions":{"show":{"resource":["event"],"operation":["create"]}},"default":"","description":"The name of the event"},{"displayName":"Distinct ID","name":"distinctId","type":"string","required":true,"displayOptions":{"show":{"resource":["event"],"operation":["create"]}},"default":"","description":"The user's distinct ID"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"resource":["event"],"operation":["create"]}},"default":{},"options":[{"displayName":"Properties","name":"propertiesUi","type":"fixedCollection","placeholder":"Add Property","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Property","name":"propertyValues","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Timestamp","name":"timestamp","type":"dateTime","default":"","description":"If not set, it'll automatically be set to the current time"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["identity"]}},"options":[{"name":"Create","value":"create","action":"Create an identity"}],"default":"create"},{"displayName":"Distinct ID","name":"distinctId","type":"string","required":true,"displayOptions":{"show":{"resource":["identity"],"operation":["create"]}},"default":"","description":"The identity's distinct ID"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"resource":["identity"],"operation":["create"]}},"default":{},"options":[{"displayName":"Properties","name":"propertiesUi","type":"fixedCollection","placeholder":"Add Property","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Property","name":"propertyValues","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Message ID","name":"messageId","type":"string","default":""},{"displayName":"Timestamp","name":"timestamp","type":"dateTime","default":"","description":"If not set, it'll automatically be set to the current time"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["track"]}},"options":[{"name":"Page","value":"page","description":"Track a page","action":"Track a page"},{"name":"Screen","value":"screen","description":"Track a screen","action":"Track a screen"}],"default":"page"},{"displayName":"Name","name":"name","type":"string","required":true,"displayOptions":{"show":{"resource":["track"],"operation":["page","screen"]}},"default":""},{"displayName":"Distinct ID","name":"distinctId","type":"string","required":true,"displayOptions":{"show":{"resource":["track"],"operation":["page","screen"]}},"default":"","description":"The user's distinct ID"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"resource":["track"],"operation":["page","screen"]}},"default":{},"options":[{"displayName":"Category","name":"category","type":"string","default":""},{"displayName":"Context","name":"contextUi","type":"fixedCollection","placeholder":"Add Property","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Context","name":"contextValues","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Message ID","name":"messageId","type":"string","default":""},{"displayName":"Properties","name":"propertiesUi","type":"fixedCollection","placeholder":"Add Property","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Property","name":"propertyValues","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Timestamp","name":"timestamp","type":"dateTime","default":"","description":"If not set, it'll automatically be set to the current time"}]}],"codex":{"categories":["Analytics","Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.posthog/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/postHog"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/PostHog/postHog.svg"},
314
315
  {"displayName":"Postmark Trigger","name":"n8n-nodes-base.postmarkTrigger","group":["trigger"],"version":1,"description":"Starts the workflow when Postmark events occur","defaults":{"name":"Postmark Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"postmarkApi","required":true}],"webhooks":[{"name":"default","httpMethod":"POST","responseMode":"onReceived","path":"webhook"}],"properties":[{"displayName":"Events","name":"events","type":"multiOptions","options":[{"name":"Bounce","value":"bounce","description":"Trigger on bounce"},{"name":"Click","value":"click","description":"Trigger on click"},{"name":"Delivery","value":"delivery","description":"Trigger on delivery"},{"name":"Open","value":"open","description":"Trigger webhook on open"},{"name":"Spam Complaint","value":"spamComplaint","description":"Trigger on spam complaint"},{"name":"Subscription Change","value":"subscriptionChange","description":"Trigger on subscription change"}],"default":[],"required":true,"description":"Webhook events that will be enabled for that endpoint"},{"displayName":"First Open","name":"firstOpen","description":"Only fires on first open for event \"Open\"","type":"boolean","default":false,"displayOptions":{"show":{"events":["open"]}}},{"displayName":"Include Content","name":"includeContent","description":"Whether to include message content for events \"Bounce\" and \"Spam Complaint\"","type":"boolean","default":false,"displayOptions":{"show":{"events":["bounce","spamComplaint"]}}}],"codex":{"categories":["Communication","Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.postmarktrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/postmark"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postmark/postmark.png"},
@@ -361,14 +362,15 @@
361
362
  {"displayName":"Splunk","name":"n8n-nodes-base.splunk","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume the Splunk Enterprise API","defaults":{"name":"Splunk"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"splunkApi","required":true,"testedBy":"splunkApiTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Fired Alert","value":"firedAlert"},{"name":"Search Configuration","value":"searchConfiguration"},{"name":"Search Job","value":"searchJob"},{"name":"Search Result","value":"searchResult"},{"name":"User","value":"user"}],"default":"searchJob"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["firedAlert"]}},"options":[{"name":"Get Report","value":"getReport","description":"Retrieve a fired alerts report","action":"Get a fired alerts report"}],"default":"getReport"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["searchConfiguration"]}},"options":[{"name":"Delete","value":"delete","description":"Delete a search configuration","action":"Delete a search configuration"},{"name":"Get","value":"get","description":"Retrieve a search configuration","action":"Get a search configuration"},{"name":"Get Many","value":"getAll","description":"Retrieve many search configurations","action":"Get many search configurations"}],"default":"delete"},{"displayName":"Search Configuration ID","name":"searchConfigurationId","description":"ID of the search configuration to delete","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["searchConfiguration"],"operation":["delete"]}}},{"displayName":"Search Configuration ID","name":"searchConfigurationId","description":"ID of the search configuration to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["searchConfiguration"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["searchConfiguration"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["searchConfiguration"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["searchConfiguration"],"operation":["getAll"]}},"options":[{"displayName":"Add Orphan Field","name":"add_orphan_field","description":"Whether to include a boolean value for each saved search to show whether the search is orphaned, meaning that it has no valid owner","type":"boolean","default":false},{"displayName":"List Default Actions","name":"listDefaultActionArgs","type":"boolean","default":false}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["searchJob"]}},"options":[{"name":"Create","value":"create","description":"Create a search job","action":"Create a search job"},{"name":"Delete","value":"delete","description":"Delete a search job","action":"Delete a search job"},{"name":"Get","value":"get","description":"Retrieve a search job","action":"Get a search job"},{"name":"Get Many","value":"getAll","description":"Retrieve many search jobs","action":"Get many search jobs"}],"default":"create"},{"displayName":"Query","name":"search","description":"Search language string to execute, in Splunk's <a href=\"https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/WhatsInThisManual\">Search Processing Language</a>","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["searchJob"],"operation":["create"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["searchJob"],"operation":["create"]}},"options":[{"displayName":"Ad Hoc Search Level","name":"adhoc_search_level","type":"options","default":"verbose","options":[{"name":"Fast","value":"fast"},{"name":"Smart","value":"smart"},{"name":"Verbose","value":"verbose"}]},{"displayName":"Auto-Cancel After (Seconds)","name":"auto_cancel","type":"number","default":0,"description":"Seconds after which the search job automatically cancels"},{"displayName":"Auto-Finalize After (Num Events)","name":"auto_finalize_ec","type":"number","default":0,"description":"Auto-finalize the search after at least this many events are processed"},{"displayName":"Auto Pause After (Seconds)","name":"auto_pause","type":"number","default":0,"description":"Seconds of inactivity after which the search job automatically pauses"},{"displayName":"Earliest Index","name":"index_earliest","type":"dateTime","default":"","description":"The earliest index time for the search (inclusive)"},{"displayName":"Earliest Time","name":"earliest_time","type":"dateTime","default":"","description":"The earliest cut-off for the search (inclusive)"},{"displayName":"Exec Mode","name":"exec_mode","type":"options","default":"blocking","options":[{"name":"Blocking","value":"blocking"},{"name":"Normal","value":"normal"},{"name":"One Shot","value":"oneshot"}]},{"displayName":"Indexed Real Time Offset","name":"indexedRealtimeOffset","type":"number","default":0,"description":"Seconds of disk sync delay for indexed real-time search"},{"displayName":"Latest Index","name":"index_latest","type":"dateTime","default":"","description":"The latest index time for the search (inclusive)"},{"displayName":"Latest Time","name":"latest_time","type":"dateTime","default":"","description":"The latest cut-off for the search (inclusive)"},{"displayName":"Max Time","name":"max_time","type":"number","default":0,"description":"Number of seconds to run this search before finalizing. Enter <code>0</code> to never finalize."},{"displayName":"Namespace","name":"namespace","type":"string","default":"","description":"Application namespace in which to restrict searches"},{"displayName":"Reduce Frequency","name":"reduce_freq","type":"number","default":0,"description":"How frequently to run the MapReduce reduce phase on accumulated map values"},{"displayName":"Remote Server List","name":"remote_server_list","type":"string","default":"","description":"Comma-separated list of (possibly wildcarded) servers from which raw events should be pulled. This same server list is to be used in subsearches."},{"displayName":"Reuse Limit (Seconds)","name":"reuse_max_seconds_ago","type":"number","default":0,"description":"Number of seconds ago to check when an identical search is started and return the job’s search ID instead of starting a new job"},{"displayName":"Required Field","name":"rf","type":"string","default":"","description":"Name of a required field to add to the search. Even if not referenced or used directly by the search, a required field is still included in events and summary endpoints."},{"displayName":"Search Mode","name":"search_mode","type":"options","default":"normal","options":[{"name":"Normal","value":"normal"},{"name":"Real Time","value":"realtime"}]},{"displayName":"Status Buckets","name":"status_buckets","type":"number","default":0,"description":"The most status buckets to generate. Set <code>0</code> generate no timeline information."},{"displayName":"Timeout","name":"timeout","type":"number","default":86400,"description":"Number of seconds to keep this search after processing has stopped"},{"displayName":"Workload Pool","name":"workload_pool","type":"string","default":"","description":"New workload pool where the existing running search should be placed"}]},{"displayName":"Search ID","name":"searchJobId","description":"ID of the search job to delete","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["searchJob"],"operation":["delete"]}}},{"displayName":"Search ID","name":"searchJobId","description":"ID of the search job to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["searchJob"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["searchJob"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["searchJob"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["searchJob"],"operation":["getAll"]}},"options":[{"displayName":"Sort Direction","name":"sort_dir","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"},{"displayName":"Sort Key","name":"sort_key","description":"Key name to use for sorting","type":"string","default":""},{"displayName":"Sort Mode","name":"sort_mode","type":"options","options":[{"name":"Automatic","value":"auto","description":"If all field values are numeric, collate numerically. Otherwise, collate alphabetically."},{"name":"Alphabetic","value":"alpha","description":"Collate alphabetically, case-insensitive"},{"name":"Alphabetic and Case-Sensitive","value":"alpha_case","description":"Collate alphabetically, case-sensitive"},{"name":"Numeric","value":"num","description":"Collate numerically"}],"default":"auto"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["searchResult"]}},"options":[{"name":"Get Many","value":"getAll","description":"Retrieve many search results for a search job","action":"Get many search results"}],"default":"getAll"},{"displayName":"Search ID","name":"searchJobId","description":"ID of the search whose results to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["searchResult"],"operation":["getAll"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["searchResult"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["searchResult"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["searchResult"],"operation":["getAll"]}},"options":[{"displayName":"Key-Value Match","name":"keyValueMatch","description":"Key-value pair to match against. Example: if \"Key\" is set to <code>user</code> and \"Field\" is set to <code>john</code>, only the results where <code>user</code> is <code>john</code> will be returned.","type":"fixedCollection","default":{},"placeholder":"Add Key-Value Pair","options":[{"displayName":"Key-Value Pair","name":"keyValuePair","values":[{"displayName":"Key","name":"key","description":"Key to match against","type":"string","default":""},{"displayName":"Value","name":"value","description":"Value to match against","type":"string","default":""}]}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["searchResult"],"operation":["getAll"]}},"options":[{"displayName":"Add Summary to Metadata","name":"add_summary_to_metadata","description":"Whether to include field summary statistics in the response","type":"boolean","default":false}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["user"]}},"options":[{"name":"Create","value":"create","description":"Create an user","action":"Create a user"},{"name":"Delete","value":"delete","description":"Delete an user","action":"Delete a user"},{"name":"Get","value":"get","description":"Retrieve an user","action":"Get a user"},{"name":"Get Many","value":"getAll","description":"Retrieve many users","action":"Get many users"},{"name":"Update","value":"update","description":"Update an user","action":"Update a user"}],"default":"create"},{"displayName":"Name","name":"name","description":"Login name of the user","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["user"],"operation":["create"]}}},{"displayName":"Role Names or IDs","name":"roles","type":"multiOptions","description":"Comma-separated list of roles to assign to the user. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true,"default":[],"typeOptions":{"loadOptionsMethod":"getRoles"},"displayOptions":{"show":{"resource":["user"],"operation":["create"]}}},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"required":true,"default":"","displayOptions":{"show":{"resource":["user"],"operation":["create"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["user"],"operation":["create"]}},"options":[{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","default":""},{"displayName":"Full Name","name":"realname","type":"string","default":"","description":"Full name of the user"}]},{"displayName":"User ID","name":"userId","description":"ID of the user to delete","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["user"],"operation":["delete"]}}},{"displayName":"User ID","name":"userId","description":"ID of the user to retrieve","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["user"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["user"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"resource":["user"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"User ID","name":"userId","description":"ID of the user to update","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["user"],"operation":["update"]}}},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["user"],"operation":["update"]}},"options":[{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","default":""},{"displayName":"Full Name","name":"realname","type":"string","default":"","description":"Full name of the user"},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Role Names or IDs","name":"roles","type":"multiOptions","description":"Comma-separated list of roles to assign to the user. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","default":[],"typeOptions":{"loadOptionsMethod":"getRoles"}}]}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.splunk/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/splunk"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Splunk/splunk.svg"},
362
363
  {"displayName":"Spontit","name":"n8n-nodes-base.spontit","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Spontit API","defaults":{"name":"Spontit"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"spontitApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Push","value":"push"}],"default":"push"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["push"]}},"options":[{"name":"Create","value":"create","description":"Create a push notification","action":"Create a push notification"}],"default":"create"},{"displayName":"Content","name":"content","type":"string","default":"","displayOptions":{"show":{"operation":["create"],"resource":["push"]}},"description":"To provide text in a push, supply one of either \"content\" or \"pushContent\" (or both). Limited to 2500 characters. (Required if a value for \"pushContent\" is not provided)."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"operation":["create"],"resource":["push"]}},"default":{},"options":[{"displayName":"Channel Name","name":"channelName","type":"string","default":"","description":"The name of a channel you created. If you have not yet created a channel, simply don't provide this value and the push will be sent to your main account."},{"displayName":"Expiration Stamp","name":"expirationStamp","type":"dateTime","default":"","description":"A Unix timestamp. When to automatically expire your push notification. The default is 10 days after pushing. The push will become unaccessible within 15-30 minutes of the selected time, but will remain on all device screens until dismissed or clicked."},{"displayName":"iOS DeepLink","name":"iOSDeepLink","type":"string","default":"","description":"An iOS deep link. Use this to deep link into other apps. Alternatively, you can provide a universal link in the link attribute and set openLinkInApp to false."},{"displayName":"Link","name":"link","type":"string","default":"","description":"A link that can be attached to your push. Must be a valid URL."},{"displayName":"Open In Home Feed","name":"openInHomeFeed","type":"boolean","default":false,"description":"Whether the notification opens to the home feed or to a standalone page with the notification. The default (openInHomeFeed=False) is to open the notification on a standalone page."},{"displayName":"Open Link In App","name":"openLinkInApp","type":"boolean","default":false,"description":"Whether to open the provided link within the iOS app or in Safari. Android PWA opens all links in the default web browser."},{"displayName":"Push To Emails","name":"pushToEmails","type":"string","default":"","description":"<p>Emails (strings) to whom to send the notification. If all three attributes 'pushToFollowers', 'pushToPhoneNumbers' and 'pushToEmails' are not supplied, then everyone who follows the channel will receive the push notification.</p><p>If 'pushToFollowers' is supplied, only those listed in the array will receive the push notification.</p><p>If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.</p><p>See the \"Followers\" section to learn how to list the userIds of those who follow one of your channels.</p>."},{"displayName":"Push To Followers","name":"pushToFollowers","type":"string","default":"","description":"<p>User IDs (strings) to whom to send the notification. If all three attributes 'pushToFollowers', 'pushToPhoneNumbers' and 'pushToEmails' are not supplied, then everyone who follows the channel will receive the push notification.</p><p>If 'pushToFollowers' is supplied, only those listed in the array will receive the push notification.</p><p>If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.</p><p>See the \"Followers\" section to learn how to list the userIds of those who follow one of your channels.</p>."},{"displayName":"Push To Phone Numbers","name":"pushToPhoneNumbers","type":"string","default":"","description":"<p>Phone numbers (strings) to whom to send the notification. If all three attributes 'pushToFollowers', 'pushToPhoneNumbers' and 'pushToEmails' are not supplied, then everyone who follows the channel will receive the push notification.</p><p>If 'pushToFollowers' is supplied, only those listed in the array will receive the push notification.</p><p>If one of the userIds supplied does not follow the specified channel, then that userId value will be ignored.</p><p>See the \"Followers\" section to learn how to list the userIds of those who follow one of your channels.</p>."},{"displayName":"Schedule","name":"schedule","type":"dateTime","default":"","description":"A Unix timestamp. Schedule a push to be sent at a later date and time."},{"displayName":"Subtitle","name":"subtitle","type":"string","default":"","description":"The subtitle of your push. Limited to 20 characters. Only appears on iOS devices."},{"displayName":"Title","name":"pushTitle","type":"string","default":"","description":"The title of push. Appears in bold at the top. Limited to 100 characters."}]}],"codex":{"categories":["Communication"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.spontit/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/spontit"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Spontit/spontit.png"},
363
364
  {"displayName":"Spotify","name":"n8n-nodes-base.spotify","group":["input"],"version":1,"description":"Access public song data via the Spotify API","subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","defaults":{"name":"Spotify"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"spotifyOAuth2Api","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Album","value":"album"},{"name":"Artist","value":"artist"},{"name":"Library","value":"library"},{"name":"My Data","value":"myData"},{"name":"Player","value":"player"},{"name":"Playlist","value":"playlist"},{"name":"Track","value":"track"}],"default":"player"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["player"]}},"options":[{"name":"Add Song to Queue","value":"addSongToQueue","description":"Add a song to your queue","action":"Add a song to a queue"},{"name":"Currently Playing","value":"currentlyPlaying","description":"Get your currently playing track","action":"Get the currently playing track"},{"name":"Next Song","value":"nextSong","description":"Skip to your next track","action":"Skip to the next track"},{"name":"Pause","value":"pause","description":"Pause your music","action":"Pause the player"},{"name":"Previous Song","value":"previousSong","description":"Skip to your previous song","action":"Skip to the previous song"},{"name":"Recently Played","value":"recentlyPlayed","description":"Get your recently played tracks","action":"Get the recently played tracks"},{"name":"Resume","value":"resume","description":"Resume playback on the current active device","action":"Resume the player"},{"name":"Set Volume","value":"volume","description":"Set volume on the current active device","action":"Set volume on the player"},{"name":"Start Music","value":"startMusic","description":"Start playing a playlist, artist, or album","action":"Start music on the player"}],"default":"addSongToQueue"},{"displayName":"Resource ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["player"],"operation":["startMusic"]}},"placeholder":"spotify:album:1YZ3k65Mqw3G8FzYlW1mmp","description":"Enter a playlist, artist, or album URI or ID"},{"displayName":"Track ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["player"],"operation":["addSongToQueue"]}},"placeholder":"spotify:track:0xE4LEFzSNGsz1F6kvXsHU","description":"Enter a track URI or ID"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["album"]}},"options":[{"name":"Get","value":"get","description":"Get an album by URI or ID","action":"Get an album"},{"name":"Get New Releases","value":"getNewReleases","description":"Get a list of new album releases","action":"Get new album releases"},{"name":"Get Tracks","value":"getTracks","description":"Get an album's tracks by URI or ID","action":"Get an album's tracks by URI or ID"},{"name":"Search","value":"search","description":"Search albums by keyword","action":"Search albums by keyword"}],"default":"get"},{"displayName":"Album ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["album"],"operation":["get","getTracks"]},"hide":{"operation":["search"]}},"placeholder":"spotify:album:1YZ3k65Mqw3G8FzYlW1mmp","description":"The album's Spotify URI or ID"},{"displayName":"Search Keyword","name":"query","type":"string","required":true,"default":"","description":"The keyword term to search for","displayOptions":{"show":{"resource":["album"],"operation":["search"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["artist"]}},"options":[{"name":"Get","value":"get","description":"Get an artist by URI or ID","action":"Get an artist"},{"name":"Get Albums","value":"getAlbums","description":"Get an artist's albums by URI or ID","action":"Get an artist's albums by URI or ID"},{"name":"Get Related Artists","value":"getRelatedArtists","description":"Get an artist's related artists by URI or ID","action":"Get an artist's related artists by URI or ID"},{"name":"Get Top Tracks","value":"getTopTracks","description":"Get an artist's top tracks by URI or ID","action":"Get an artist's top tracks by URI or ID"},{"name":"Search","value":"search","description":"Search artists by keyword","action":"Search artists by keyword"}],"default":"get"},{"displayName":"Artist ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["artist"]},"hide":{"operation":["search"]}},"placeholder":"spotify:artist:4LLpKhyESsyAXpc4laK94U","description":"The artist's Spotify URI or ID"},{"displayName":"Country","name":"country","type":"string","default":"US","required":true,"displayOptions":{"show":{"resource":["artist"],"operation":["getTopTracks"]}},"placeholder":"US","description":"Top tracks in which country? Enter the postal abbriviation"},{"displayName":"Search Keyword","name":"query","type":"string","required":true,"default":"","description":"The keyword term to search for","displayOptions":{"show":{"resource":["artist"],"operation":["search"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["playlist"]}},"options":[{"name":"Add an Item","value":"add","description":"Add tracks from a playlist by track and playlist URI or ID","action":"Add an Item a playlist"},{"name":"Create a Playlist","value":"create","description":"Create a new playlist","action":"Create a playlist"},{"name":"Get","value":"get","description":"Get a playlist by URI or ID","action":"Get a playlist"},{"name":"Get the User's Playlists","value":"getUserPlaylists","description":"Get a user's playlists","action":"Get a user's playlists"},{"name":"Get Tracks","value":"getTracks","description":"Get a playlist's tracks by URI or ID","action":"Get a playlist's tracks by URI or ID"},{"name":"Remove an Item","value":"delete","description":"Remove tracks from a playlist by track and playlist URI or ID","action":"Remove an item from a playlist"},{"name":"Search","value":"search","description":"Search playlists by keyword","action":"Search playlists by keyword"}],"default":"add"},{"displayName":"Playlist ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["playlist"],"operation":["add","delete","get","getTracks"]}},"placeholder":"spotify:playlist:37i9dQZF1DWUhI3iC1khPH","description":"The playlist's Spotify URI or its ID"},{"displayName":"Name","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["playlist"],"operation":["create"]}},"placeholder":"Favorite Songs","description":"Name of the playlist to create"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["playlist"],"operation":["create"]}},"options":[{"displayName":"Description","name":"description","type":"string","default":"","placeholder":"These are all my favorite songs.","description":"Description for the playlist to create"},{"displayName":"Public","name":"public","type":"boolean","default":true,"description":"Whether the playlist is publicly accessible"}]},{"displayName":"Track ID","name":"trackID","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["playlist"],"operation":["add","delete"]}},"placeholder":"spotify:track:0xE4LEFzSNGsz1F6kvXsHU","description":"The track's Spotify URI or its ID. The track to add/delete from the playlist."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["playlist"],"operation":["add"]}},"options":[{"displayName":"Position","name":"position","type":"number","typeOptions":{"minValue":0},"default":0,"placeholder":"0","description":"The new track's position in the playlist"}]},{"displayName":"Search Keyword","name":"query","type":"string","required":true,"default":"","description":"The keyword term to search for","displayOptions":{"show":{"resource":["playlist"],"operation":["search"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["track"]}},"options":[{"name":"Get","value":"get","description":"Get a track by its URI or ID","action":"Get a track"},{"name":"Get Audio Features","value":"getAudioFeatures","description":"Get audio features for a track by URI or ID","action":"Get audio features of a track"},{"name":"Search","value":"search","description":"Search tracks by keyword","action":"Search tracks by keyword"}],"default":"track"},{"displayName":"Track ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["track"]},"hide":{"operation":["search"]}},"placeholder":"spotify:track:0xE4LEFzSNGsz1F6kvXsHU","description":"The track's Spotify URI or ID"},{"displayName":"Search Keyword","name":"query","type":"string","required":true,"default":"","description":"The keyword term to search for","displayOptions":{"show":{"resource":["track"],"operation":["search"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["library"]}},"options":[{"name":"Get Liked Tracks","value":"getLikedTracks","description":"Get the user's liked tracks","action":"Get liked tracks"}],"default":"getLikedTracks"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["myData"]}},"options":[{"name":"Get Following Artists","value":"getFollowingArtists","description":"Get your followed artists","action":"Get your followed artists"}],"default":"getFollowingArtists"},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"required":true,"displayOptions":{"show":{"resource":["album","artist","library","myData","playlist","track","player"],"operation":["getTracks","getAlbums","getUserPlaylists","getNewReleases","getLikedTracks","getFollowingArtists","search","recentlyPlayed"]}},"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","default":50,"required":true,"displayOptions":{"show":{"resource":["album","artist","library","playlist","track"],"operation":["getTracks","getAlbums","getUserPlaylists","getNewReleases","getLikedTracks","search"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"description":"Max number of results to return"},{"displayName":"Limit","name":"limit","type":"number","default":50,"required":true,"displayOptions":{"show":{"resource":["myData","player"],"operation":["getFollowingArtists","recentlyPlayed"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":50},"description":"Max number of results to return"},{"displayName":"Volume","name":"volumePercent","type":"number","default":50,"required":true,"displayOptions":{"show":{"resource":["player"],"operation":["volume"]}},"typeOptions":{"minValue":0,"maxValue":100},"description":"The volume percentage to set"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["album"],"operation":["getNewReleases"]}},"options":[{"displayName":"Country","name":"country","type":"options","default":"US","options":[{"name":"Afghanistan","value":"AF"},{"name":"Åland Islands","value":"AX"},{"name":"Albania","value":"AL"},{"name":"Algeria","value":"DZ"},{"name":"American Samoa","value":"AS"},{"name":"Andorra","value":"AD"},{"name":"Angola","value":"AO"},{"name":"Anguilla","value":"AI"},{"name":"Antarctica","value":"AQ"},{"name":"Antigua and Barbuda","value":"AG"},{"name":"Argentina","value":"AR"},{"name":"Armenia","value":"AM"},{"name":"Aruba","value":"AW"},{"name":"Australia","value":"AU"},{"name":"Austria","value":"AT"},{"name":"Azerbaijan","value":"AZ"},{"name":"Bahamas (the)","value":"BS"},{"name":"Bahrain","value":"BH"},{"name":"Bangladesh","value":"BD"},{"name":"Barbados","value":"BB"},{"name":"Belarus","value":"BY"},{"name":"Belgium","value":"BE"},{"name":"Belize","value":"BZ"},{"name":"Benin","value":"BJ"},{"name":"Bermuda","value":"BM"},{"name":"Bhutan","value":"BT"},{"name":"Bolivia (Plurinational State of)","value":"BO"},{"name":"Bonaire, Sint Eustatius and Saba","value":"BQ"},{"name":"Bosnia and Herzegovina","value":"BA"},{"name":"Botswana","value":"BW"},{"name":"Bouvet Island","value":"BV"},{"name":"Brazil","value":"BR"},{"name":"British Indian Ocean Territory (the)","value":"IO"},{"name":"Brunei Darussalam","value":"BN"},{"name":"Bulgaria","value":"BG"},{"name":"Burkina Faso","value":"BF"},{"name":"Burundi","value":"BI"},{"name":"Cabo Verde","value":"CV"},{"name":"Cambodia","value":"KH"},{"name":"Cameroon","value":"CM"},{"name":"Canada","value":"CA"},{"name":"Cayman Islands (the)","value":"KY"},{"name":"Central African Republic (the)","value":"CF"},{"name":"Chad","value":"TD"},{"name":"Chile","value":"CL"},{"name":"China","value":"CN"},{"name":"Christmas Island","value":"CX"},{"name":"Cocos (Keeling) Islands (the)","value":"CC"},{"name":"Colombia","value":"CO"},{"name":"Comoros (the)","value":"KM"},{"name":"Congo (the Democratic Republic of the)","value":"CD"},{"name":"Congo (the)","value":"CG"},{"name":"Cook Islands (the)","value":"CK"},{"name":"Costa Rica","value":"CR"},{"name":"Côte d'Ivoire","value":"CI"},{"name":"Croatia","value":"HR"},{"name":"Cuba","value":"CU"},{"name":"Curaçao","value":"CW"},{"name":"Cyprus","value":"CY"},{"name":"Czechia","value":"CZ"},{"name":"Denmark","value":"DK"},{"name":"Djibouti","value":"DJ"},{"name":"Dominica","value":"DM"},{"name":"Dominican Republic (the)","value":"DO"},{"name":"Ecuador","value":"EC"},{"name":"Egypt","value":"EG"},{"name":"El Salvador","value":"SV"},{"name":"Equatorial Guinea","value":"GQ"},{"name":"Eritrea","value":"ER"},{"name":"Estonia","value":"EE"},{"name":"Ethiopia","value":"ET"},{"name":"Falkland Islands (the) [Malvinas]","value":"FK"},{"name":"Faroe Islands (the)","value":"FO"},{"name":"Fiji","value":"FJ"},{"name":"Finland","value":"FI"},{"name":"France","value":"FR"},{"name":"French Guiana","value":"GF"},{"name":"French Polynesia","value":"PF"},{"name":"French Southern Territories (the)","value":"TF"},{"name":"Gabon","value":"GA"},{"name":"Gambia (the)","value":"GM"},{"name":"Georgia","value":"GE"},{"name":"Germany","value":"DE"},{"name":"Ghana","value":"GH"},{"name":"Gibraltar","value":"GI"},{"name":"Greece","value":"GR"},{"name":"Greenland","value":"GL"},{"name":"Grenada","value":"GD"},{"name":"Guadeloupe","value":"GP"},{"name":"Guam","value":"GU"},{"name":"Guatemala","value":"GT"},{"name":"Guernsey","value":"GG"},{"name":"Guinea","value":"GN"},{"name":"Guinea-Bissau","value":"GW"},{"name":"Guyana","value":"GY"},{"name":"Haiti","value":"HT"},{"name":"Heard Island and McDonald Islands","value":"HM"},{"name":"Holy See (the)","value":"VA"},{"name":"Honduras","value":"HN"},{"name":"Hong Kong","value":"HK"},{"name":"Hungary","value":"HU"},{"name":"Iceland","value":"IS"},{"name":"India","value":"IN"},{"name":"Indonesia","value":"ID"},{"name":"Iran (Islamic Republic of)","value":"IR"},{"name":"Iraq","value":"IQ"},{"name":"Ireland","value":"IE"},{"name":"Isle of Man","value":"IM"},{"name":"Israel","value":"IL"},{"name":"Italy","value":"IT"},{"name":"Jamaica","value":"JM"},{"name":"Japan","value":"JP"},{"name":"Jersey","value":"JE"},{"name":"Jordan","value":"JO"},{"name":"Kazakhstan","value":"KZ"},{"name":"Kenya","value":"KE"},{"name":"Kiribati","value":"KI"},{"name":"Korea (the Democratic People's Republic of)","value":"KP"},{"name":"Korea (the Republic of)","value":"KR"},{"name":"Kuwait","value":"KW"},{"name":"Kyrgyzstan","value":"KG"},{"name":"Lao People's Democratic Republic (the)","value":"LA"},{"name":"Latvia","value":"LV"},{"name":"Lebanon","value":"LB"},{"name":"Lesotho","value":"LS"},{"name":"Liberia","value":"LR"},{"name":"Libya","value":"LY"},{"name":"Liechtenstein","value":"LI"},{"name":"Lithuania","value":"LT"},{"name":"Luxembourg","value":"LU"},{"name":"Macao","value":"MO"},{"name":"Macedonia (the former Yugoslav Republic of)","value":"MK"},{"name":"Madagascar","value":"MG"},{"name":"Malawi","value":"MW"},{"name":"Malaysia","value":"MY"},{"name":"Maldives","value":"MV"},{"name":"Mali","value":"ML"},{"name":"Malta","value":"MT"},{"name":"Marshall Islands (the)","value":"MH"},{"name":"Martinique","value":"MQ"},{"name":"Mauritania","value":"MR"},{"name":"Mauritius","value":"MU"},{"name":"Mayotte","value":"YT"},{"name":"Mexico","value":"MX"},{"name":"Micronesia (Federated States of)","value":"FM"},{"name":"Moldova (the Republic of)","value":"MD"},{"name":"Monaco","value":"MC"},{"name":"Mongolia","value":"MN"},{"name":"Montenegro","value":"ME"},{"name":"Montserrat","value":"MS"},{"name":"Morocco","value":"MA"},{"name":"Mozambique","value":"MZ"},{"name":"Myanmar","value":"MM"},{"name":"Namibia","value":"NA"},{"name":"Nauru","value":"NR"},{"name":"Nepal","value":"NP"},{"name":"Netherlands (the)","value":"NL"},{"name":"New Caledonia","value":"NC"},{"name":"New Zealand","value":"NZ"},{"name":"Nicaragua","value":"NI"},{"name":"Niger (the)","value":"NE"},{"name":"Nigeria","value":"NG"},{"name":"Niue","value":"NU"},{"name":"Norfolk Island","value":"NF"},{"name":"Northern Mariana Islands (the)","value":"MP"},{"name":"Norway","value":"NO"},{"name":"Oman","value":"OM"},{"name":"Pakistan","value":"PK"},{"name":"Palau","value":"PW"},{"name":"Palestine, State of","value":"PS"},{"name":"Panama","value":"PA"},{"name":"Papua New Guinea","value":"PG"},{"name":"Paraguay","value":"PY"},{"name":"Peru","value":"PE"},{"name":"Philippines (the)","value":"PH"},{"name":"Pitcairn","value":"PN"},{"name":"Poland","value":"PL"},{"name":"Portugal","value":"PT"},{"name":"Puerto Rico","value":"PR"},{"name":"Qatar","value":"QA"},{"name":"Réunion","value":"RE"},{"name":"Romania","value":"RO"},{"name":"Russian Federation (the)","value":"RU"},{"name":"Rwanda","value":"RW"},{"name":"Saint Barthélemy","value":"BL"},{"name":"Saint Helena, Ascension and Tristan da Cunha","value":"SH"},{"name":"Saint Kitts and Nevis","value":"KN"},{"name":"Saint Lucia","value":"LC"},{"name":"Saint Martin (French part)","value":"MF"},{"name":"Saint Pierre and Miquelon","value":"PM"},{"name":"Saint Vincent and the Grenadines","value":"VC"},{"name":"Samoa","value":"WS"},{"name":"San Marino","value":"SM"},{"name":"Sao Tome and Principe","value":"ST"},{"name":"Saudi Arabia","value":"SA"},{"name":"Senegal","value":"SN"},{"name":"Serbia","value":"RS"},{"name":"Seychelles","value":"SC"},{"name":"Sierra Leone","value":"SL"},{"name":"Singapore","value":"SG"},{"name":"Sint Maarten (Dutch part)","value":"SX"},{"name":"Slovakia","value":"SK"},{"name":"Slovenia","value":"SI"},{"name":"Solomon Islands","value":"SB"},{"name":"Somalia","value":"SO"},{"name":"South Africa","value":"ZA"},{"name":"South Georgia and the South Sandwich Islands","value":"GS"},{"name":"South Sudan","value":"SS"},{"name":"Spain","value":"ES"},{"name":"Sri Lanka","value":"LK"},{"name":"Sudan (the)","value":"SD"},{"name":"Suriname","value":"SR"},{"name":"Svalbard and Jan Mayen","value":"SJ"},{"name":"Swaziland","value":"SZ"},{"name":"Sweden","value":"SE"},{"name":"Switzerland","value":"CH"},{"name":"Syrian Arab Republic","value":"SY"},{"name":"Taiwan (Province of China)","value":"TW"},{"name":"Tajikistan","value":"TJ"},{"name":"Tanzania, United Republic of","value":"TZ"},{"name":"Thailand","value":"TH"},{"name":"Timor-Leste","value":"TL"},{"name":"Togo","value":"TG"},{"name":"Tokelau","value":"TK"},{"name":"Tonga","value":"TO"},{"name":"Trinidad and Tobago","value":"TT"},{"name":"Tunisia","value":"TN"},{"name":"Turkey","value":"TR"},{"name":"Turkmenistan","value":"TM"},{"name":"Turks and Caicos Islands (the)","value":"TC"},{"name":"Tuvalu","value":"TV"},{"name":"Uganda","value":"UG"},{"name":"Ukraine","value":"UA"},{"name":"United Arab Emirates (the)","value":"AE"},{"name":"United Kingdom of Great Britain and Northern Ireland (the)","value":"GB"},{"name":"United States Minor Outlying Islands (the)","value":"UM"},{"name":"United States of America (the)","value":"US"},{"name":"Uruguay","value":"UY"},{"name":"Uzbekistan","value":"UZ"},{"name":"Vanuatu","value":"VU"},{"name":"Venezuela (Bolivarian Republic of)","value":"VE"},{"name":"Viet Nam","value":"VN"},{"name":"Virgin Islands (British)","value":"VG"},{"name":"Virgin Islands (U.S.)","value":"VI"},{"name":"Wallis and Futuna","value":"WF"},{"name":"Western Sahara*","value":"EH"},{"name":"Yemen","value":"YE"},{"name":"Zambia","value":"ZM"},{"name":"Zimbabwe","value":"ZW"}],"description":"Country to filter new releases by"}]},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["playlist","artist","track","album"],"operation":["search"]}},"options":[{"displayName":"Country","name":"market","type":"options","options":[{"name":"Afghanistan","value":"AF"},{"name":"Åland Islands","value":"AX"},{"name":"Albania","value":"AL"},{"name":"Algeria","value":"DZ"},{"name":"American Samoa","value":"AS"},{"name":"Andorra","value":"AD"},{"name":"Angola","value":"AO"},{"name":"Anguilla","value":"AI"},{"name":"Antarctica","value":"AQ"},{"name":"Antigua and Barbuda","value":"AG"},{"name":"Argentina","value":"AR"},{"name":"Armenia","value":"AM"},{"name":"Aruba","value":"AW"},{"name":"Australia","value":"AU"},{"name":"Austria","value":"AT"},{"name":"Azerbaijan","value":"AZ"},{"name":"Bahamas (the)","value":"BS"},{"name":"Bahrain","value":"BH"},{"name":"Bangladesh","value":"BD"},{"name":"Barbados","value":"BB"},{"name":"Belarus","value":"BY"},{"name":"Belgium","value":"BE"},{"name":"Belize","value":"BZ"},{"name":"Benin","value":"BJ"},{"name":"Bermuda","value":"BM"},{"name":"Bhutan","value":"BT"},{"name":"Bolivia (Plurinational State of)","value":"BO"},{"name":"Bonaire, Sint Eustatius and Saba","value":"BQ"},{"name":"Bosnia and Herzegovina","value":"BA"},{"name":"Botswana","value":"BW"},{"name":"Bouvet Island","value":"BV"},{"name":"Brazil","value":"BR"},{"name":"British Indian Ocean Territory (the)","value":"IO"},{"name":"Brunei Darussalam","value":"BN"},{"name":"Bulgaria","value":"BG"},{"name":"Burkina Faso","value":"BF"},{"name":"Burundi","value":"BI"},{"name":"Cabo Verde","value":"CV"},{"name":"Cambodia","value":"KH"},{"name":"Cameroon","value":"CM"},{"name":"Canada","value":"CA"},{"name":"Cayman Islands (the)","value":"KY"},{"name":"Central African Republic (the)","value":"CF"},{"name":"Chad","value":"TD"},{"name":"Chile","value":"CL"},{"name":"China","value":"CN"},{"name":"Christmas Island","value":"CX"},{"name":"Cocos (Keeling) Islands (the)","value":"CC"},{"name":"Colombia","value":"CO"},{"name":"Comoros (the)","value":"KM"},{"name":"Congo (the Democratic Republic of the)","value":"CD"},{"name":"Congo (the)","value":"CG"},{"name":"Cook Islands (the)","value":"CK"},{"name":"Costa Rica","value":"CR"},{"name":"Côte d'Ivoire","value":"CI"},{"name":"Croatia","value":"HR"},{"name":"Cuba","value":"CU"},{"name":"Curaçao","value":"CW"},{"name":"Cyprus","value":"CY"},{"name":"Czechia","value":"CZ"},{"name":"Denmark","value":"DK"},{"name":"Djibouti","value":"DJ"},{"name":"Dominica","value":"DM"},{"name":"Dominican Republic (the)","value":"DO"},{"name":"Ecuador","value":"EC"},{"name":"Egypt","value":"EG"},{"name":"El Salvador","value":"SV"},{"name":"Equatorial Guinea","value":"GQ"},{"name":"Eritrea","value":"ER"},{"name":"Estonia","value":"EE"},{"name":"Ethiopia","value":"ET"},{"name":"Falkland Islands (the) [Malvinas]","value":"FK"},{"name":"Faroe Islands (the)","value":"FO"},{"name":"Fiji","value":"FJ"},{"name":"Finland","value":"FI"},{"name":"France","value":"FR"},{"name":"French Guiana","value":"GF"},{"name":"French Polynesia","value":"PF"},{"name":"French Southern Territories (the)","value":"TF"},{"name":"Gabon","value":"GA"},{"name":"Gambia (the)","value":"GM"},{"name":"Georgia","value":"GE"},{"name":"Germany","value":"DE"},{"name":"Ghana","value":"GH"},{"name":"Gibraltar","value":"GI"},{"name":"Greece","value":"GR"},{"name":"Greenland","value":"GL"},{"name":"Grenada","value":"GD"},{"name":"Guadeloupe","value":"GP"},{"name":"Guam","value":"GU"},{"name":"Guatemala","value":"GT"},{"name":"Guernsey","value":"GG"},{"name":"Guinea","value":"GN"},{"name":"Guinea-Bissau","value":"GW"},{"name":"Guyana","value":"GY"},{"name":"Haiti","value":"HT"},{"name":"Heard Island and McDonald Islands","value":"HM"},{"name":"Holy See (the)","value":"VA"},{"name":"Honduras","value":"HN"},{"name":"Hong Kong","value":"HK"},{"name":"Hungary","value":"HU"},{"name":"Iceland","value":"IS"},{"name":"India","value":"IN"},{"name":"Indonesia","value":"ID"},{"name":"Iran (Islamic Republic of)","value":"IR"},{"name":"Iraq","value":"IQ"},{"name":"Ireland","value":"IE"},{"name":"Isle of Man","value":"IM"},{"name":"Israel","value":"IL"},{"name":"Italy","value":"IT"},{"name":"Jamaica","value":"JM"},{"name":"Japan","value":"JP"},{"name":"Jersey","value":"JE"},{"name":"Jordan","value":"JO"},{"name":"Kazakhstan","value":"KZ"},{"name":"Kenya","value":"KE"},{"name":"Kiribati","value":"KI"},{"name":"Korea (the Democratic People's Republic of)","value":"KP"},{"name":"Korea (the Republic of)","value":"KR"},{"name":"Kuwait","value":"KW"},{"name":"Kyrgyzstan","value":"KG"},{"name":"Lao People's Democratic Republic (the)","value":"LA"},{"name":"Latvia","value":"LV"},{"name":"Lebanon","value":"LB"},{"name":"Lesotho","value":"LS"},{"name":"Liberia","value":"LR"},{"name":"Libya","value":"LY"},{"name":"Liechtenstein","value":"LI"},{"name":"Lithuania","value":"LT"},{"name":"Luxembourg","value":"LU"},{"name":"Macao","value":"MO"},{"name":"Macedonia (the former Yugoslav Republic of)","value":"MK"},{"name":"Madagascar","value":"MG"},{"name":"Malawi","value":"MW"},{"name":"Malaysia","value":"MY"},{"name":"Maldives","value":"MV"},{"name":"Mali","value":"ML"},{"name":"Malta","value":"MT"},{"name":"Marshall Islands (the)","value":"MH"},{"name":"Martinique","value":"MQ"},{"name":"Mauritania","value":"MR"},{"name":"Mauritius","value":"MU"},{"name":"Mayotte","value":"YT"},{"name":"Mexico","value":"MX"},{"name":"Micronesia (Federated States of)","value":"FM"},{"name":"Moldova (the Republic of)","value":"MD"},{"name":"Monaco","value":"MC"},{"name":"Mongolia","value":"MN"},{"name":"Montenegro","value":"ME"},{"name":"Montserrat","value":"MS"},{"name":"Morocco","value":"MA"},{"name":"Mozambique","value":"MZ"},{"name":"Myanmar","value":"MM"},{"name":"Namibia","value":"NA"},{"name":"Nauru","value":"NR"},{"name":"Nepal","value":"NP"},{"name":"Netherlands (the)","value":"NL"},{"name":"New Caledonia","value":"NC"},{"name":"New Zealand","value":"NZ"},{"name":"Nicaragua","value":"NI"},{"name":"Niger (the)","value":"NE"},{"name":"Nigeria","value":"NG"},{"name":"Niue","value":"NU"},{"name":"Norfolk Island","value":"NF"},{"name":"Northern Mariana Islands (the)","value":"MP"},{"name":"Norway","value":"NO"},{"name":"Oman","value":"OM"},{"name":"Pakistan","value":"PK"},{"name":"Palau","value":"PW"},{"name":"Palestine, State of","value":"PS"},{"name":"Panama","value":"PA"},{"name":"Papua New Guinea","value":"PG"},{"name":"Paraguay","value":"PY"},{"name":"Peru","value":"PE"},{"name":"Philippines (the)","value":"PH"},{"name":"Pitcairn","value":"PN"},{"name":"Poland","value":"PL"},{"name":"Portugal","value":"PT"},{"name":"Puerto Rico","value":"PR"},{"name":"Qatar","value":"QA"},{"name":"Réunion","value":"RE"},{"name":"Romania","value":"RO"},{"name":"Russian Federation (the)","value":"RU"},{"name":"Rwanda","value":"RW"},{"name":"Saint Barthélemy","value":"BL"},{"name":"Saint Helena, Ascension and Tristan da Cunha","value":"SH"},{"name":"Saint Kitts and Nevis","value":"KN"},{"name":"Saint Lucia","value":"LC"},{"name":"Saint Martin (French part)","value":"MF"},{"name":"Saint Pierre and Miquelon","value":"PM"},{"name":"Saint Vincent and the Grenadines","value":"VC"},{"name":"Samoa","value":"WS"},{"name":"San Marino","value":"SM"},{"name":"Sao Tome and Principe","value":"ST"},{"name":"Saudi Arabia","value":"SA"},{"name":"Senegal","value":"SN"},{"name":"Serbia","value":"RS"},{"name":"Seychelles","value":"SC"},{"name":"Sierra Leone","value":"SL"},{"name":"Singapore","value":"SG"},{"name":"Sint Maarten (Dutch part)","value":"SX"},{"name":"Slovakia","value":"SK"},{"name":"Slovenia","value":"SI"},{"name":"Solomon Islands","value":"SB"},{"name":"Somalia","value":"SO"},{"name":"South Africa","value":"ZA"},{"name":"South Georgia and the South Sandwich Islands","value":"GS"},{"name":"South Sudan","value":"SS"},{"name":"Spain","value":"ES"},{"name":"Sri Lanka","value":"LK"},{"name":"Sudan (the)","value":"SD"},{"name":"Suriname","value":"SR"},{"name":"Svalbard and Jan Mayen","value":"SJ"},{"name":"Swaziland","value":"SZ"},{"name":"Sweden","value":"SE"},{"name":"Switzerland","value":"CH"},{"name":"Syrian Arab Republic","value":"SY"},{"name":"Taiwan (Province of China)","value":"TW"},{"name":"Tajikistan","value":"TJ"},{"name":"Tanzania, United Republic of","value":"TZ"},{"name":"Thailand","value":"TH"},{"name":"Timor-Leste","value":"TL"},{"name":"Togo","value":"TG"},{"name":"Tokelau","value":"TK"},{"name":"Tonga","value":"TO"},{"name":"Trinidad and Tobago","value":"TT"},{"name":"Tunisia","value":"TN"},{"name":"Turkey","value":"TR"},{"name":"Turkmenistan","value":"TM"},{"name":"Turks and Caicos Islands (the)","value":"TC"},{"name":"Tuvalu","value":"TV"},{"name":"Uganda","value":"UG"},{"name":"Ukraine","value":"UA"},{"name":"United Arab Emirates (the)","value":"AE"},{"name":"United Kingdom of Great Britain and Northern Ireland (the)","value":"GB"},{"name":"United States Minor Outlying Islands (the)","value":"UM"},{"name":"United States of America (the)","value":"US"},{"name":"Uruguay","value":"UY"},{"name":"Uzbekistan","value":"UZ"},{"name":"Vanuatu","value":"VU"},{"name":"Venezuela (Bolivarian Republic of)","value":"VE"},{"name":"Viet Nam","value":"VN"},{"name":"Virgin Islands (British)","value":"VG"},{"name":"Virgin Islands (U.S.)","value":"VI"},{"name":"Wallis and Futuna","value":"WF"},{"name":"Western Sahara*","value":"EH"},{"name":"Yemen","value":"YE"},{"name":"Zambia","value":"ZM"},{"name":"Zimbabwe","value":"ZW"}],"default":"","description":"If a country code is specified, only content that is playable in that market is returned"}]}],"codex":{"categories":["Miscellaneous"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.spotify/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/spotify"}]},"alias":["Music","Song"]},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Spotify/spotify.svg"},
364
- {"displayName":"Spreadsheet File","name":"n8n-nodes-base.spreadsheetFile","icon":"fa:table","group":["transform"],"version":1,"description":"Reads and writes data from a spreadsheet file like CSV, XLS, ODS, etc","defaults":{"name":"Spreadsheet File","color":"#2244FF"},"inputs":["main"],"outputs":["main"],"properties":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Read From File","value":"fromFile","description":"Reads data from a spreadsheet file","action":"Read data from a spreadsheet file"},{"name":"Write to File","value":"toFile","description":"Writes the workflow data to a spreadsheet file","action":"Write data to a spreadsheet file"}],"default":"fromFile"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["fromFile"]}},"placeholder":"","description":"Name of the binary property from which to read the binary data of the spreadsheet file"},{"displayName":"File Format","name":"fileFormat","type":"options","options":[{"name":"CSV","value":"csv","description":"Comma-separated values"},{"name":"HTML","value":"html","description":"HTML Table"},{"name":"ODS","value":"ods","description":"OpenDocument Spreadsheet"},{"name":"RTF","value":"rtf","description":"Rich Text Format"},{"name":"XLS","value":"xls","description":"Excel"},{"name":"XLSX","value":"xlsx","description":"Excel"}],"default":"xls","displayOptions":{"show":{"operation":["toFile"]}},"description":"The format of the file to save the data as"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["toFile"]}},"placeholder":"","description":"Name of the binary property in which to save the binary data of the spreadsheet file"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Compression","name":"compression","type":"boolean","displayOptions":{"show":{"/operation":["toFile"],"/fileFormat":["xlsx","ods"]}},"default":false,"description":"Whether compression will be applied or not"},{"displayName":"File Name","name":"fileName","type":"string","displayOptions":{"show":{"/operation":["toFile"]}},"default":"","description":"File name to set in binary data. By default will \"spreadsheet.&lt;fileFormat&gt;\" be used."},{"displayName":"Header Row","name":"headerRow","type":"boolean","displayOptions":{"show":{"/operation":["fromFile","toFile"]}},"default":true,"description":"Whether the first row of the file contains the header names"},{"displayName":"Include Empty Cells","name":"includeEmptyCells","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"When reading from file the empty cells will be filled with an empty string in the JSON"},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"Whether the data should be returned RAW instead of parsed"},{"displayName":"Read As String","name":"readAsString","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"In some cases and file formats, it is necessary to read specifically as string else some special character get interpreted wrong"},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"/operation":["fromFile"]}},"default":"","description":"The range to read from the table. If set to a number it will be the starting row. If set to string it will be used as A1-style bounded range."},{"displayName":"Sheet Name","name":"sheetName","type":"string","displayOptions":{"show":{"/operation":["fromFile"]}},"default":"Sheet","description":"Name of the sheet to read from in the spreadsheet (if supported). If not set, the first one gets chosen."},{"displayName":"Sheet Name","name":"sheetName","type":"string","displayOptions":{"show":{"/operation":["toFile"],"/fileFormat":["ods","xls","xlsx"]}},"default":"Sheet","description":"Name of the sheet to create in the spreadsheet"}]}],"codex":{"categories":["Data & Storage","Core Nodes"],"subcategories":{"Core Nodes":["Files"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.spreadsheetfile/"}]},"alias":["CSV","Spreadsheet","Excel","xls","xlsx","ods"]}},
365
+ {"displayName":"Spreadsheet File","name":"n8n-nodes-base.spreadsheetFile","icon":"fa:table","group":["transform"],"description":"Reads and writes data from a spreadsheet file like CSV, XLS, ODS, etc","defaultVersion":2,"version":1,"defaults":{"name":"Spreadsheet File","color":"#2244FF"},"inputs":["main"],"outputs":["main"],"properties":[{"displayName":"<strong>New node version available:</strong> get the latest version with added features from the nodes panel.","name":"oldVersionNotice","type":"notice","default":""},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Read From File","value":"fromFile","description":"Reads data from a spreadsheet file","action":"Read data from a spreadsheet file"},{"name":"Write to File","value":"toFile","description":"Writes the workflow data to a spreadsheet file","action":"Write data to a spreadsheet file"}],"default":"fromFile"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["fromFile"]}},"placeholder":"","description":"Name of the binary property from which to read the binary data of the spreadsheet file"},{"displayName":"File Format","name":"fileFormat","type":"options","options":[{"name":"CSV","value":"csv","description":"Comma-separated values"},{"name":"HTML","value":"html","description":"HTML Table"},{"name":"ODS","value":"ods","description":"OpenDocument Spreadsheet"},{"name":"RTF","value":"rtf","description":"Rich Text Format"},{"name":"XLS","value":"xls","description":"Excel"},{"name":"XLSX","value":"xlsx","description":"Excel"}],"default":"xls","displayOptions":{"show":{"operation":["toFile"]}},"description":"The format of the file to save the data as"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["toFile"]}},"placeholder":"","description":"Name of the binary property in which to save the binary data of the spreadsheet file"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Compression","name":"compression","type":"boolean","displayOptions":{"show":{"/operation":["toFile"],"/fileFormat":["xlsx","ods"]}},"default":false,"description":"Whether compression will be applied or not"},{"displayName":"File Name","name":"fileName","type":"string","displayOptions":{"show":{"/operation":["toFile"]}},"default":"","description":"File name to set in binary data. By default will \"spreadsheet.&lt;fileFormat&gt;\" be used."},{"displayName":"Header Row","name":"headerRow","type":"boolean","displayOptions":{"show":{"/operation":["fromFile","toFile"]}},"default":true,"description":"Whether the first row of the file contains the header names"},{"displayName":"Include Empty Cells","name":"includeEmptyCells","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"When reading from file the empty cells will be filled with an empty string in the JSON"},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"Whether the data should be returned RAW instead of parsed"},{"displayName":"Read As String","name":"readAsString","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"In some cases and file formats, it is necessary to read specifically as string else some special character get interpreted wrong"},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"/operation":["fromFile"]}},"default":"","description":"The range to read from the table. If set to a number it will be the starting row. If set to string it will be used as A1-style bounded range."},{"displayName":"Sheet Name","name":"sheetName","type":"string","displayOptions":{"show":{"/operation":["fromFile"]}},"default":"Sheet","description":"Name of the sheet to read from in the spreadsheet (if supported). If not set, the first one gets chosen."},{"displayName":"Sheet Name","name":"sheetName","type":"string","displayOptions":{"show":{"/operation":["toFile"],"/fileFormat":["ods","xls","xlsx"]}},"default":"Sheet","description":"Name of the sheet to create in the spreadsheet"}]}]},
366
+ {"displayName":"Spreadsheet File","name":"n8n-nodes-base.spreadsheetFile","icon":"fa:table","group":["transform"],"description":"Reads and writes data from a spreadsheet file like CSV, XLS, ODS, etc","defaultVersion":2,"version":2,"defaults":{"name":"Spreadsheet File","color":"#2244FF"},"inputs":["main"],"outputs":["main"],"properties":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Read From File","value":"fromFile","description":"Reads data from a spreadsheet file","action":"Read data from a spreadsheet file"},{"name":"Write to File","value":"toFile","description":"Writes the workflow data to a spreadsheet file","action":"Write data to a spreadsheet file"}],"default":"fromFile"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["fromFile"]}},"placeholder":"","description":"Name of the binary property from which to read the binary data of the spreadsheet file"},{"displayName":"File Format","name":"fileFormat","type":"options","options":[{"name":"Autodetect","value":"autodetect"},{"name":"CSV","value":"csv","description":"Comma-separated values"},{"name":"HTML","value":"html","description":"HTML Table"},{"name":"ODS","value":"ods","description":"OpenDocument Spreadsheet"},{"name":"RTF","value":"rtf","description":"Rich Text Format"},{"name":"XLS","value":"xls","description":"Excel"},{"name":"XLSX","value":"xlsx","description":"Excel"}],"default":"autodetect","displayOptions":{"show":{"operation":["fromFile"]}},"description":"The format of the binary data to read from"},{"displayName":"File Format","name":"fileFormat","type":"options","options":[{"name":"CSV","value":"csv","description":"Comma-separated values"},{"name":"HTML","value":"html","description":"HTML Table"},{"name":"ODS","value":"ods","description":"OpenDocument Spreadsheet"},{"name":"RTF","value":"rtf","description":"Rich Text Format"},{"name":"XLS","value":"xls","description":"Excel"},{"name":"XLSX","value":"xlsx","description":"Excel"}],"default":"xls","displayOptions":{"show":{"operation":["toFile"]}},"description":"The format of the file to save the data as"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["toFile"]}},"placeholder":"","description":"Name of the binary property in which to save the binary data of the spreadsheet file"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Compression","name":"compression","type":"boolean","displayOptions":{"show":{"/operation":["toFile"],"/fileFormat":["xlsx","ods"]}},"default":false,"description":"Whether compression will be applied or not"},{"displayName":"File Name","name":"fileName","type":"string","displayOptions":{"show":{"/operation":["toFile"]}},"default":"","description":"File name to set in binary data. By default will \"spreadsheet.&lt;fileFormat&gt;\" be used."},{"displayName":"Header Row","name":"headerRow","type":"boolean","displayOptions":{"show":{"/operation":["fromFile","toFile"]}},"default":true,"description":"Whether the first row of the file contains the header names"},{"displayName":"Include Empty Cells","name":"includeEmptyCells","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"When reading from file the empty cells will be filled with an empty string in the JSON"},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"Whether the data should be returned RAW instead of parsed"},{"displayName":"Read As String","name":"readAsString","type":"boolean","displayOptions":{"show":{"/operation":["fromFile"]}},"default":false,"description":"In some cases and file formats, it is necessary to read specifically as string else some special character get interpreted wrong"},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"/operation":["fromFile"]}},"default":"","description":"The range to read from the table. If set to a number it will be the starting row. If set to string it will be used as A1-style bounded range."},{"displayName":"Sheet Name","name":"sheetName","type":"string","displayOptions":{"show":{"/operation":["fromFile"]}},"default":"Sheet","description":"Name of the sheet to read from in the spreadsheet (if supported). If not set, the first one gets chosen."},{"displayName":"Sheet Name","name":"sheetName","type":"string","displayOptions":{"show":{"/operation":["toFile"],"/fileFormat":["ods","xls","xlsx"]}},"default":"Sheet","description":"Name of the sheet to create in the spreadsheet"}]}],"codex":{"categories":["Data & Storage","Core Nodes"],"subcategories":{"Core Nodes":["Files"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.spreadsheetfile/"}]},"alias":["CSV","Spreadsheet","Excel","xls","xlsx","ods"]}},
365
367
  {"displayName":"SSE Trigger","name":"n8n-nodes-base.sseTrigger","icon":"fa:cloud-download-alt","group":["trigger"],"version":1,"description":"Triggers the workflow when Server-Sent Events occur","eventTriggerDescription":"","activationMessage":"You can now make calls to your SSE URL to trigger executions.","defaults":{"name":"SSE Trigger","color":"#225577"},"triggerPanel":{"header":"","executionsHelp":{"inactive":"<b>While building your workflow</b>, click the 'listen' button, then trigger an SSE event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.","active":"<b>While building your workflow</b>, click the 'listen' button, then trigger an SSE event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor."},"activationHint":"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here)."},"inputs":[],"outputs":["main"],"properties":[{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com","description":"The URL to receive the SSE from","required":true}],"codex":{"categories":["Development","Core Nodes"],"subcategories":{"Core Nodes":["Flow","Other Trigger Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.ssetrigger/"}]}}},
366
368
  {"displayName":"SSH","name":"n8n-nodes-base.ssh","icon":"fa:terminal","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Execute commands via SSH","defaults":{"name":"SSH","color":"#000000"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"sshPassword","required":true,"testedBy":"sshConnectionTest","displayOptions":{"show":{"authentication":["password"]}}},{"name":"sshPrivateKey","required":true,"testedBy":"sshConnectionTest","displayOptions":{"show":{"authentication":["privateKey"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Password","value":"password"},{"name":"Private Key","value":"privateKey"}],"default":"password"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Command","value":"command"},{"name":"File","value":"file"}],"default":"command"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["command"]}},"options":[{"name":"Execute","value":"execute","description":"Execute a command","action":"Execute a command"}],"default":"execute"},{"displayName":"Command","name":"command","type":"string","displayOptions":{"show":{"resource":["command"],"operation":["execute"]}},"default":"","description":"The command to be executed on a remote device"},{"displayName":"Working Directory","name":"cwd","type":"string","displayOptions":{"show":{"resource":["command"],"operation":["execute"]}},"default":"/","required":true},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Download","value":"download","description":"Download a file","action":"Download a file"},{"name":"Upload","value":"upload","description":"Upload a file","action":"Upload a file"}],"default":"upload"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"placeholder":"","description":"Name of the binary property which contains the data for the file to be uploaded"},{"displayName":"Target Directory","name":"path","type":"string","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}},"default":"","required":true,"placeholder":"/home/user","description":"The directory to upload the file to. The name of the file does not need to be specified, it's taken from the binary data file name. To override this behavior, set the parameter \"File Name\" under options."},{"displayName":"Path","displayOptions":{"show":{"resource":["file"],"operation":["download"]}},"name":"path","type":"string","default":"","placeholder":"/home/user/invoice.txt","description":"The file path of the file to download. Has to contain the full path including file name.","required":true},{"displayName":"Binary Property","displayOptions":{"show":{"resource":["file"],"operation":["download"]}},"name":"binaryPropertyName","type":"string","default":"data","description":"Object property name which holds binary data","required":true},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","displayOptions":{"show":{"resource":["file"],"operation":["upload","download"]}},"default":{},"options":[{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"Overrides the binary data file name"}]}],"codex":{"categories":["Core Nodes","Development"],"subcategories":["Helpers"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.ssh/"}]},"alias":["remote"]}},
367
369
  {"displayName":"Stackby","name":"n8n-nodes-base.stackby","group":["transform"],"version":1,"description":"Read, write, and delete data in Stackby","defaults":{"name":"Stackby"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"stackbyApi","required":true}],"properties":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Append","value":"append"},{"name":"Delete","value":"delete"},{"name":"List","value":"list"},{"name":"Read","value":"read"}],"default":"append","placeholder":"Action to perform"},{"displayName":"Stack ID","name":"stackId","type":"string","default":"","required":true,"description":"The ID of the stack to access"},{"displayName":"Table","name":"table","type":"string","default":"","placeholder":"Stories","required":true,"description":"Enter Table Name"},{"displayName":"ID","name":"id","type":"string","displayOptions":{"show":{"operation":["read","delete"]}},"default":"","required":true,"description":"ID of the record to return"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["list"]}},"default":true,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":1000,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","displayOptions":{"show":{"operation":["list"]}},"default":{},"placeholder":"Add Field","options":[{"displayName":"View","name":"view","type":"string","default":"","placeholder":"All Stories","description":"The name or ID of a view in the Stories table. If set, only the records in that view will be returned. The records will be sorted according to the order of the view."}]},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["append"]}},"default":"","required":true,"placeholder":"id,name,description","description":"Comma-separated list of the properties which should used as columns for the new rows"}],"codex":{"categories":["Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.stackby/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/stackby"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Stackby/stackby.png"},
368
370
  {"displayName":"Start","name":"n8n-nodes-base.start","icon":"fa:play","group":["input"],"version":1,"description":"Starts the workflow execution from this node","maxNodes":1,"hidden":true,"defaults":{"name":"Start","color":"#00e000"},"inputs":[],"outputs":["main"],"properties":[{"displayName":"This node is where a manual workflow execution starts. To make one, go back to the canvas and click ‘execute workflow’","name":"notice","type":"notice","default":""}],"codex":{"categories":["Core Nodes"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.start/"}]}}},
369
371
  {"displayName":"Stop and Error","name":"n8n-nodes-base.stopAndError","icon":"fa:exclamation-triangle","group":["input"],"version":1,"description":"Throw an error in the workflow","defaults":{"name":"Stop and Error","color":"#ff0000"},"inputs":["main"],"outputs":[],"properties":[{"displayName":"Error Type","name":"errorType","type":"options","options":[{"name":"Error Message","value":"errorMessage"},{"name":"Error Object","value":"errorObject"}],"default":"errorMessage","description":"Type of error to throw"},{"displayName":"Error Message","name":"errorMessage","type":"string","placeholder":"An error occurred!","default":"","required":true,"displayOptions":{"show":{"errorType":["errorMessage"]}}},{"displayName":"Error Object","name":"errorObject","type":"json","description":"Object containing error properties","default":"","typeOptions":{"alwaysOpenEditWindow":true},"placeholder":"{\n\t\"code\": \"404\",\n\t\"description\": \"The resource could not be fetched\"\n}","required":true,"displayOptions":{"show":{"errorType":["errorObject"]}}}],"codex":{"categories":["Core Nodes","Utility"],"subcategories":{"Core Nodes":["Helpers"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.stopanderror/"}]},"alias":["Throw error","Error","Exception"]}},
370
372
  {"displayName":"Storyblok","name":"n8n-nodes-base.storyblok","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Storyblok API","defaults":{"name":"Storyblok"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"storyblokContentApi","required":true,"displayOptions":{"show":{"source":["contentApi"]}}},{"name":"storyblokManagementApi","required":true,"displayOptions":{"show":{"source":["managementApi"]}}}],"properties":[{"displayName":"Source","name":"source","type":"options","default":"contentApi","description":"Pick where your data comes from, Content or Management API","options":[{"name":"Content API","value":"contentApi"},{"name":"Management API","value":"managementApi"}]},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Story","value":"story"}],"default":"story","displayOptions":{"show":{"source":["contentApi"]}}},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Story","value":"story"}],"default":"story","displayOptions":{"show":{"source":["managementApi"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"source":["contentApi"],"resource":["story"]}},"options":[{"name":"Get","value":"get","description":"Get a story","action":"Get a story"},{"name":"Get Many","value":"getAll","description":"Get many stories","action":"Get many stories"}],"default":"get"},{"displayName":"Identifier","name":"identifier","type":"string","default":"","required":true,"displayOptions":{"show":{"source":["contentApi"],"resource":["story"],"operation":["get"]}},"description":"The ID or slug of the story to get"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"source":["contentApi"],"resource":["story"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"source":["contentApi"],"resource":["story"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"source":["contentApi"],"resource":["story"],"operation":["getAll"]}},"options":[{"displayName":"Starts With","name":"starts_with","type":"string","default":"","description":"Filter by slug"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"]}},"options":[{"name":"Delete","value":"delete","description":"Delete a story","action":"Delete a story"},{"name":"Get","value":"get","description":"Get a story","action":"Get a story"},{"name":"Get Many","value":"getAll","description":"Get many stories","action":"Get many stories"},{"name":"Publish","value":"publish","description":"Publish a story","action":"Publish a story"},{"name":"Unpublish","value":"unpublish","description":"Unpublish a story","action":"Unpublish a story"}],"default":"get"},{"displayName":"Space Name or ID","name":"space","type":"options","typeOptions":{"loadOptionsMethod":"getSpaces"},"default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["delete"]}},"description":"The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Story ID","name":"storyId","type":"string","default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["delete"]}},"description":"Numeric ID of the story"},{"displayName":"Space Name or ID","name":"space","type":"options","typeOptions":{"loadOptionsMethod":"getSpaces"},"default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["get"]}},"description":"The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Story ID","name":"storyId","type":"string","default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["get"]}},"description":"Numeric ID of the story"},{"displayName":"Space Name or ID","name":"space","type":"options","typeOptions":{"loadOptionsMethod":"getSpaces"},"default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["getAll"]}},"description":"The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["getAll"]}},"options":[{"displayName":"Starts With","name":"starts_with","type":"string","default":"","description":"Filter by slug"}]},{"displayName":"Space Name or ID","name":"space","type":"options","typeOptions":{"loadOptionsMethod":"getSpaces"},"default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["publish"]}},"description":"The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Story ID","name":"storyId","type":"string","default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["publish"]}},"description":"Numeric ID of the story"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["publish"]}},"default":{},"options":[{"displayName":"Release ID","name":"releaseId","type":"string","default":"","description":"Numeric ID of release"},{"displayName":"Language","name":"language","type":"string","default":"","description":"Language code to publish the story individually (must be enabled in the space settings)"}]},{"displayName":"Space Name or ID","name":"space","type":"options","typeOptions":{"loadOptionsMethod":"getSpaces"},"default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["unpublish"]}},"description":"The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Story ID","name":"storyId","type":"string","default":"","required":true,"displayOptions":{"show":{"source":["managementApi"],"resource":["story"],"operation":["unpublish"]}},"description":"Numeric ID of the story"}],"codex":{"categories":["Data & Storage","Marketing & Content"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.storyblok/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/storyblok"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Storyblok/storyblok.svg"},
371
- {"displayName":"Strapi","name":"n8n-nodes-base.strapi","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Strapi API","defaults":{"name":"Strapi"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"strapiApi","required":true,"testedBy":"strapiApiTest"}],"properties":[{"displayName":"Resource","name":"resource","noDataExpression":true,"type":"options","options":[{"name":"Entry","value":"entry"}],"default":"entry"},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","displayOptions":{"show":{"resource":["entry"]}},"options":[{"name":"Create","value":"create","description":"Create an entry","action":"Create an entry"},{"name":"Delete","value":"delete","description":"Delete an entry","action":"Delete an entry"},{"name":"Get","value":"get","description":"Get an entry","action":"Get an entry"},{"name":"Get Many","value":"getAll","description":"Get many entries","action":"Get many entries"},{"name":"Update","value":"update","description":"Update an entry","action":"Update an entry"}],"default":"get"},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["create"]}},"description":"Name of the content type"},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"resource":["entry"],"operation":["create"]}},"default":"","placeholder":"id,name,description","description":"Comma-separated list of the properties which should used as columns for the new rows"},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["delete"]}},"description":"Name of the content type"},{"displayName":"Entry ID","name":"entryId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["delete"]}},"description":"The ID of the entry to delete"},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["get"]}},"description":"Name of the content type"},{"displayName":"Entry ID","name":"entryId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["get"]}},"description":"The ID of the entry to get"},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["getAll"]}},"description":"Name of the content type"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["entry"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["entry"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["entry"],"operation":["getAll"]}},"options":[{"displayName":"Publication State","name":"publicationState","type":"options","options":[{"name":"Live","value":"live"},{"name":"Preview","value":"preview"}],"default":"","description":"Only select entries matching the publication state provided"},{"displayName":"Sort Fields","name":"sort","type":"string","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Sort Field"},"default":"","placeholder":"name:asc","description":"Name of the fields to sort the data by. By default will be sorted ascendingly. To modify that behavior, you have to add the sort direction after the name of sort field preceded by a colon. For example: <code>name:asc</code>."},{"displayName":"Where (JSON)","name":"where","type":"string","default":"","description":"JSON query to filter the data. <a href=\"https://strapi.io/documentation/developer-docs/latest/developer-resources/content-api/content-api.html#filters\">More info</a>."}]},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["update"]}},"description":"Name of the content type"},{"displayName":"Update Key","name":"updateKey","type":"string","displayOptions":{"show":{"resource":["entry"],"operation":["update"]}},"default":"id","required":true,"description":"Name of the property which decides which rows in the database should be updated. Normally that would be \"id\"."},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"resource":["entry"],"operation":["update"]}},"default":"","placeholder":"id,name,description","description":"Comma-separated list of the properties which should used as columns for the new rows"}],"codex":{"categories":["Data & Storage","Marketing & Content"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.strapi/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/strapi"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Strapi/strapi.svg"},
373
+ {"displayName":"Strapi","name":"n8n-nodes-base.strapi","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Strapi API","defaults":{"name":"Strapi"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"strapiApi","required":true,"testedBy":"strapiApiTest","displayOptions":{"show":{"authentication":["password"]}}},{"name":"strapiTokenApi","required":true,"displayOptions":{"show":{"authentication":["token"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Username & Password","value":"password"},{"name":"API Token","value":"token"}],"default":"password"},{"displayName":"Resource","name":"resource","noDataExpression":true,"type":"options","options":[{"name":"Entry","value":"entry"}],"default":"entry"},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","displayOptions":{"show":{"resource":["entry"]}},"options":[{"name":"Create","value":"create","description":"Create an entry","action":"Create an entry"},{"name":"Delete","value":"delete","description":"Delete an entry","action":"Delete an entry"},{"name":"Get","value":"get","description":"Get an entry","action":"Get an entry"},{"name":"Get Many","value":"getAll","description":"Get many entries","action":"Get many entries"},{"name":"Update","value":"update","description":"Update an entry","action":"Update an entry"}],"default":"get"},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["create"]}},"description":"Name of the content type"},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"resource":["entry"],"operation":["create"]}},"default":"","placeholder":"id,name,description","description":"Comma-separated list of the properties which should used as columns for the new rows"},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["delete"]}},"description":"Name of the content type"},{"displayName":"Entry ID","name":"entryId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["delete"]}},"description":"The ID of the entry to delete"},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["get"]}},"description":"Name of the content type"},{"displayName":"Entry ID","name":"entryId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["get"]}},"description":"The ID of the entry to get"},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["getAll"]}},"description":"Name of the content type"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["entry"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["entry"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["entry"],"operation":["getAll"]}},"options":[{"displayName":"Publication State","name":"publicationState","type":"options","options":[{"name":"Live","value":"live"},{"name":"Preview","value":"preview"}],"default":"","description":"Only select entries matching the publication state provided"},{"displayName":"Sort Fields","name":"sort","type":"string","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Sort Field"},"default":"","placeholder":"name:asc","description":"Name of the fields to sort the data by. By default will be sorted ascendingly. To modify that behavior, you have to add the sort direction after the name of sort field preceded by a colon. For example: <code>name:asc</code>."},{"displayName":"Where (JSON)","name":"where","type":"string","default":"","description":"JSON query to filter the data. <a href=\"https://strapi.io/documentation/developer-docs/latest/developer-resources/content-api/content-api.html#filters\">More info</a>."}]},{"displayName":"Content Type","name":"contentType","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["entry"],"operation":["update"]}},"description":"Name of the content type"},{"displayName":"Update Key","name":"updateKey","type":"string","displayOptions":{"show":{"resource":["entry"],"operation":["update"]}},"default":"id","required":true,"description":"Name of the property which decides which rows in the database should be updated. Normally that would be \"id\"."},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"resource":["entry"],"operation":["update"]}},"default":"","placeholder":"id,name,description","description":"Comma-separated list of the properties which should used as columns for the new rows"}],"codex":{"categories":["Data & Storage","Marketing & Content"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.strapi/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/strapi"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Strapi/strapi.svg"},
372
374
  {"displayName":"Strava","name":"n8n-nodes-base.strava","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Strava API","defaults":{"name":"Strava"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"stravaOAuth2Api","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Activity","value":"activity"}],"default":"activity"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["activity"]}},"options":[{"name":"Create","value":"create","description":"Create a new activity","action":"Create an activity"},{"name":"Get","value":"get","description":"Get an activity","action":"Get an activity"},{"name":"Get Comments","value":"getComments","description":"Get all activity comments","action":"Get all activity comments"},{"name":"Get Kudos","value":"getKudos","description":"Get all activity kudos","action":"Get all activity kudos"},{"name":"Get Laps","value":"getLaps","description":"Get all activity laps","action":"Get all activity laps"},{"name":"Get Many","value":"getAll","description":"Get many activities","action":"Get many activities"},{"name":"Get Streams","value":"getStreams","description":"Get activity streams","action":"Get all activity streams"},{"name":"Get Zones","value":"getZones","description":"Get all activity zones","action":"Get all activity zones"},{"name":"Update","value":"update","description":"Update an activity","action":"Update an activity"}],"default":"create"},{"displayName":"Name","name":"name","type":"string","required":true,"displayOptions":{"show":{"resource":["activity"],"operation":["create"]}},"default":"","description":"The name of the activity"},{"displayName":"Type","name":"type","type":"string","required":true,"displayOptions":{"show":{"resource":["activity"],"operation":["create"]}},"default":"","description":"Type of activity. For example - Run, Ride etc."},{"displayName":"Start Date","name":"startDate","type":"dateTime","default":"","required":true,"displayOptions":{"show":{"resource":["activity"],"operation":["create"]}},"description":"ISO 8601 formatted date time"},{"displayName":"Elapsed Time (Seconds)","name":"elapsedTime","type":"number","required":true,"displayOptions":{"show":{"resource":["activity"],"operation":["create"]}},"typeOptions":{"minValue":0},"default":0,"description":"In seconds"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["activity"],"operation":["create"]}},"options":[{"displayName":"Commute","name":"commute","type":"boolean","default":false,"description":"Whether to mark as commute"},{"displayName":"Description","name":"description","type":"string","default":"","description":"Description of the activity"},{"displayName":"Distance","name":"distance","type":"number","typeOptions":{"minValue":0},"default":0,"description":"In meters"},{"displayName":"Trainer","name":"trainer","type":"boolean","default":false,"description":"Whether to mark as a trainer activity"}]},{"displayName":"Activity ID","name":"activityId","type":"string","required":true,"displayOptions":{"show":{"resource":["activity"],"operation":["update"]}},"default":"","description":"ID or email of activity"},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["activity"],"operation":["update"]}},"options":[{"displayName":"Commute","name":"commute","type":"boolean","default":false,"description":"Whether to mark as commute"},{"displayName":"Description","name":"description","type":"string","default":"","description":"Description of the activity"},{"displayName":"Gear ID","name":"gear_id","type":"string","default":"","description":"Identifier for the gear associated with the activity. ‘none’ clears gear from activity."},{"displayName":"Mute Activity","name":"hide_from_home","type":"boolean","default":false,"description":"Do not publish to Home or Club feeds"},{"displayName":"Name","name":"name","type":"string","default":"","description":"The name of the activity"},{"displayName":"Type","name":"type","type":"string","default":"","description":"Type of activity. For example - Run, Ride etc."},{"displayName":"Trainer","name":"trainer","type":"boolean","default":false,"description":"Whether to mark as a trainer activity"}]},{"displayName":"Activity ID","name":"activityId","type":"string","required":true,"displayOptions":{"show":{"resource":["activity"],"operation":["get"]}},"default":"","description":"ID or email of activity"},{"displayName":"Activity ID","name":"activityId","type":"string","required":true,"displayOptions":{"show":{"resource":["activity"],"operation":["getComments","getLaps","getKudos","getZones","getStreams"]}},"default":"","description":"ID or email of activity"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["activity"],"operation":["getComments","getLaps","getKudos","getZones"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["activity"],"operation":["getComments","getLaps","getKudos","getZones"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Keys","name":"keys","type":"multiOptions","options":[{"name":"Altitude","value":"altitude"},{"name":"Cadence","value":"cadence"},{"name":"Distance","value":"distance"},{"name":"Gradient","value":"grade_smooth"},{"name":"Heartrate","value":"heartrate"},{"name":"Latitude / Longitude","value":"latlng"},{"name":"Moving","value":"moving"},{"name":"Temperature","value":"temp"},{"name":"Time","value":"time"},{"name":"Velocity","value":"velocity_smooth"},{"name":"Watts","value":"watts"}],"displayOptions":{"show":{"resource":["activity"],"operation":["getStreams"]}},"required":true,"default":[],"description":"Desired stream types to return"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["activity"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["activity"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"}],"codex":{"categories":["Productivity"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.strava/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/strava"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Strava/strava.svg"},
373
375
  {"displayName":"Strava Trigger","name":"n8n-nodes-base.stravaTrigger","group":["trigger"],"version":1,"description":"Starts the workflow when Strava events occur","defaults":{"name":"Strava Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"stravaOAuth2Api","required":true}],"webhooks":[{"name":"setup","httpMethod":"GET","responseMode":"onReceived","path":"webhook"},{"name":"default","httpMethod":"POST","responseMode":"onReceived","path":"webhook"}],"properties":[{"displayName":"Object","name":"object","type":"options","options":[{"name":"[All]","value":"*"},{"name":"Activity","value":"activity"},{"name":"Athlete","value":"athlete"}],"default":"*"},{"displayName":"Event","name":"event","type":"options","options":[{"name":"[All]","value":"*"},{"name":"Created","value":"create"},{"name":"Deleted","value":"delete"},{"name":"Updated","value":"update"}],"default":"*"},{"displayName":"Resolve Data","name":"resolveData","type":"boolean","default":true,"description":"By default the webhook-data only contain the Object ID. If this option gets activated, it will resolve the data automatically."},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Delete If Exist","name":"deleteIfExist","type":"boolean","default":false,"description":"Strava allows just one subscription at all times. If you want to delete the current subscription to make room for a new subcription with the current parameters, set this parameter to true. Keep in mind this is a destructive operation."}]}],"codex":{"categories":["Productivity"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.stravatrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/strava"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Strava/strava.svg"},
374
376
  {"displayName":"Stripe","name":"n8n-nodes-base.stripe","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume the Stripe API","defaults":{"name":"Stripe"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"stripeApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Balance","value":"balance"},{"name":"Charge","value":"charge"},{"name":"Coupon","value":"coupon"},{"name":"Customer","value":"customer"},{"name":"Customer Card","value":"customerCard"},{"name":"Source","value":"source"},{"name":"Token","value":"token"}],"default":"balance"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"get","options":[{"name":"Get","value":"get","description":"Get a balance","action":"Get a balance"}],"displayOptions":{"show":{"resource":["balance"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"get","options":[{"name":"Add","value":"add","description":"Add a customer card","action":"Add a customer card"},{"name":"Get","value":"get","description":"Get a customer card","action":"Get a customer card"},{"name":"Remove","value":"remove","description":"Remove a customer card","action":"Remove a customer card"}],"displayOptions":{"show":{"resource":["customerCard"]}}},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer to be associated with this card","displayOptions":{"show":{"resource":["customerCard"],"operation":["add"]}}},{"displayName":"Card Token","name":"token","type":"string","typeOptions":{"password":true},"required":true,"default":"","placeholder":"tok_1IMfKdJhRTnqS5TKQVG1LI9o","description":"Token representing sensitive card information","displayOptions":{"show":{"resource":["customerCard"],"operation":["add"]}}},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer whose card to remove","displayOptions":{"show":{"resource":["customerCard"],"operation":["remove"]}}},{"displayName":"Card ID","name":"cardId","type":"string","required":true,"default":"","description":"ID of the card to remove","displayOptions":{"show":{"resource":["customerCard"],"operation":["remove"]}}},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer whose card to retrieve","displayOptions":{"show":{"resource":["customerCard"],"operation":["get"]}}},{"displayName":"Source ID","name":"sourceId","type":"string","required":true,"default":"","description":"ID of the source to retrieve","displayOptions":{"show":{"resource":["customerCard"],"operation":["get"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"get","options":[{"name":"Create","value":"create","description":"Create a charge","action":"Create a charge"},{"name":"Get","value":"get","description":"Get a charge","action":"Get a charge"},{"name":"Get Many","value":"getAll","description":"Get many charges","action":"Get many charges"},{"name":"Update","value":"update","description":"Update a charge","action":"Update a charge"}],"displayOptions":{"show":{"resource":["charge"]}}},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer to be associated with this charge","displayOptions":{"show":{"resource":["charge"],"operation":["create"]}}},{"displayName":"Amount","name":"amount","type":"number","required":true,"default":0,"description":"Amount in cents to be collected for this charge, e.g. enter <code>100</code> for $1.00","typeOptions":{"minValue":0,"maxValue":99999999},"displayOptions":{"show":{"resource":["charge"],"operation":["create"]}}},{"displayName":"Currency Name or ID","name":"currency","type":"options","typeOptions":{"loadOptionsMethod":"getCurrencies"},"required":true,"default":"","description":"Three-letter ISO currency code, e.g. <code>USD</code> or <code>EUR</code>. It must be a <a href=\"https://stripe.com/docs/currencies\">Stripe-supported currency</a>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"resource":["charge"],"operation":["create"]}}},{"displayName":"Source ID","name":"source","type":"string","required":true,"default":"","description":"ID of the customer's payment source to be charged","displayOptions":{"show":{"resource":["charge"],"operation":["create"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["charge"],"operation":["create"]}},"options":[{"displayName":"Description","name":"description","type":"string","default":"","description":"Arbitrary text to describe the charge to create"},{"displayName":"Metadata","name":"metadata","type":"fixedCollection","default":[],"placeholder":"Add Metadata Item","description":"Set of key-value pairs to attach to the charge to create","typeOptions":{"multipleValues":true},"options":[{"displayName":"Metadata Properties","name":"metadataProperties","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Receipt Email","name":"receipt_email","type":"string","default":"","description":"Email address to which the receipt for this charge will be sent"},{"displayName":"Shipping","name":"shipping","type":"fixedCollection","description":"Shipping information for the charge","placeholder":"Add Field","typeOptions":{"multipleValues":true},"default":[],"options":[{"displayName":"Shipping Properties","name":"shippingProperties","values":[{"displayName":"Recipient Name","name":"name","type":"string","description":"Name of the person who will receive the shipment","default":""},{"displayName":"Address","name":"address","type":"fixedCollection","default":{},"placeholder":"Add Field","options":[{"displayName":"Details","name":"details","values":[{"displayName":"Line 1","name":"line1","description":"Address line 1 (e.g. street, PO Box, or company name)","type":"string","default":""},{"displayName":"Line 2","name":"line2","description":"Address line 2 (e.g. apartment, suite, unit, or building)","type":"string","default":""},{"displayName":"City","name":"city","description":"City, district, suburb, town, or village","type":"string","default":""},{"displayName":"State","name":"state","description":"State, county, province, or region","type":"string","default":""},{"displayName":"Country","name":"country","description":"Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)","type":"string","default":""},{"displayName":"Postal Code","name":"postal_code","description":"ZIP or postal code","type":"string","default":""}]}]}]}]}]},{"displayName":"Charge ID","name":"chargeId","type":"string","required":true,"default":"","description":"ID of the charge to retrieve","displayOptions":{"show":{"resource":["charge"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["charge"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1,"maxValue":1000},"displayOptions":{"show":{"resource":["charge"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Charge ID","name":"chargeId","type":"string","required":true,"default":"","description":"ID of the charge to update","displayOptions":{"show":{"resource":["charge"],"operation":["update"]}}},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["charge"],"operation":["update"]}},"options":[{"displayName":"Description","name":"description","type":"string","default":"","description":"Arbitrary text to describe the charge to update"},{"displayName":"Metadata","name":"metadata","type":"fixedCollection","default":{},"placeholder":"Add Metadata Item","description":"Set of key-value pairs to attach to the charge to update","typeOptions":{"multipleValues":true},"options":[{"displayName":"Metadata Properties","name":"metadataProperties","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Receipt Email","name":"receipt_email","type":"string","default":"","description":"The email address to which the receipt for this charge will be sent"},{"displayName":"Shipping","name":"shipping","type":"fixedCollection","default":{},"description":"Shipping information for the charge","placeholder":"Add Field","typeOptions":{"multipleValues":true},"options":[{"displayName":"Shipping Properties","name":"shippingProperties","default":{},"values":[{"displayName":"Recipient Name","name":"name","type":"string","default":""},{"displayName":"Recipient Address","name":"address","type":"fixedCollection","default":{},"placeholder":"Add Address Details","options":[{"displayName":"Details","name":"details","values":[{"displayName":"Line 1","name":"line1","description":"Address line 1 (e.g. street, PO Box, or company name)","type":"string","default":""},{"displayName":"Line 2","name":"line2","description":"Address line 2 (e.g. apartment, suite, unit, or building)","type":"string","default":""},{"displayName":"City","name":"city","description":"City, district, suburb, town, or village","type":"string","default":""},{"displayName":"State","name":"state","description":"State, county, province, or region","type":"string","default":""},{"displayName":"Country","name":"country","description":"Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)","type":"string","default":""},{"displayName":"Postal Code","name":"postal_code","description":"ZIP or postal code","type":"string","default":""}]}]}]}]}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"create","options":[{"name":"Create","value":"create","description":"Create a coupon","action":"Create a coupon"},{"name":"Get Many","value":"getAll","description":"Get many coupons","action":"Get many coupons"}],"displayOptions":{"show":{"resource":["coupon"]}}},{"displayName":"Apply","name":"duration","type":"options","required":true,"default":"once","description":"How long the discount will be in effect","options":[{"name":"Forever","value":"forever"},{"name":"Once","value":"once"}],"displayOptions":{"show":{"resource":["coupon"],"operation":["create"]}}},{"displayName":"Discount Type","name":"type","type":"options","required":true,"default":"percent","description":"Whether the coupon discount is a percentage or a fixed amount","options":[{"name":"Fixed Amount (in Cents)","value":"fixedAmount"},{"name":"Percent","value":"percent"}],"displayOptions":{"show":{"resource":["coupon"],"operation":["create"]}}},{"displayName":"Amount Off","name":"amountOff","type":"number","required":true,"default":0,"description":"Amount in cents to subtract from an invoice total, e.g. enter <code>100</code> for $1.00","typeOptions":{"minValue":0,"maxValue":99999999},"displayOptions":{"show":{"resource":["coupon"],"operation":["create"],"type":["fixedAmount"]}}},{"displayName":"Currency Name or ID","name":"currency","type":"options","typeOptions":{"loadOptionsMethod":"getCurrencies"},"required":true,"default":"","description":"Three-letter ISO currency code, e.g. <code>USD</code> or <code>EUR</code>. It must be a <a href=\"https://stripe.com/docs/currencies\">Stripe-supported currency</a>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"resource":["coupon"],"operation":["create"],"type":["fixedAmount"]}}},{"displayName":"Percent Off","name":"percentOff","type":"number","required":true,"default":1,"description":"Percentage to apply with the coupon","typeOptions":{"minValue":1,"maxValue":100},"displayOptions":{"show":{"resource":["coupon"],"operation":["create"],"type":["percent"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["coupon"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1,"maxValue":1000},"displayOptions":{"show":{"resource":["coupon"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"get","options":[{"name":"Create","value":"create","description":"Create a customer","action":"Create a customer"},{"name":"Delete","value":"delete","description":"Delete a customer","action":"Delete a customer"},{"name":"Get","value":"get","description":"Get a customer","action":"Get a customer"},{"name":"Get Many","value":"getAll","description":"Get many customers","action":"Get many customers"},{"name":"Update","value":"update","description":"Update a customer","action":"Update a customer"}],"displayOptions":{"show":{"resource":["customer"]}}},{"displayName":"Name","name":"name","type":"string","required":true,"default":"","description":"Full name or business name of the customer to create","displayOptions":{"show":{"resource":["customer"],"operation":["create"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["customer"],"operation":["create"]}},"options":[{"displayName":"Address","name":"address","type":"fixedCollection","description":"Address of the customer to create","placeholder":"Add Field","default":{},"options":[{"displayName":"Details","name":"details","values":[{"displayName":"Line 1","name":"line1","description":"Address line 1 (e.g. street, PO Box, or company name)","type":"string","default":""},{"displayName":"Line 2","name":"line2","description":"Address line 2 (e.g. apartment, suite, unit, or building)","type":"string","default":""},{"displayName":"City","name":"city","description":"City, district, suburb, town, or village","type":"string","default":""},{"displayName":"State","name":"state","description":"State, county, province, or region","type":"string","default":""},{"displayName":"Country","name":"country","description":"Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)","type":"string","default":""},{"displayName":"Postal Code","name":"postal_code","description":"ZIP or postal code","type":"string","default":""}]}]},{"displayName":"Description","name":"description","type":"string","default":"","description":"Arbitrary text to describe the customer to create"},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","default":"","description":"Email of the customer to create"},{"displayName":"Metadata","name":"metadata","type":"fixedCollection","default":{},"placeholder":"Add Metadata Item","description":"Set of key-value pairs to attach to the customer to create","typeOptions":{"multipleValues":true},"options":[{"displayName":"Metadata Properties","name":"metadataProperties","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Phone","name":"phone","type":"string","default":"","description":"Telephone number of the customer to create"},{"displayName":"Shipping","name":"shipping","type":"fixedCollection","default":{},"description":"Shipping information for the customer","typeOptions":{"multipleValues":true},"placeholder":"Add Field","options":[{"displayName":"Shipping Properties","name":"shippingProperties","values":[{"displayName":"Recipient Name","name":"name","type":"string","default":""},{"displayName":"Recipient Address","name":"address","type":"fixedCollection","default":{},"placeholder":"Add Address Details","options":[{"displayName":"Details","name":"details","values":[{"displayName":"Line 1","name":"line1","description":"Address line 1 (e.g. street, PO Box, or company name)","type":"string","default":""},{"displayName":"Line 2","name":"line2","description":"Address line 2 (e.g. apartment, suite, unit, or building)","type":"string","default":""},{"displayName":"City","name":"city","description":"City, district, suburb, town, or village","type":"string","default":""},{"displayName":"State","name":"state","description":"State, county, province, or region","type":"string","default":""},{"displayName":"Country","name":"country","description":"Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)","type":"string","default":""},{"displayName":"Postal Code","name":"postal_code","description":"ZIP or postal code","type":"string","default":""}]}]},{"displayName":"Recipient Phone","name":"phone","type":"string","default":""}]}]}]},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer to delete","displayOptions":{"show":{"resource":["customer"],"operation":["delete"]}}},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer to retrieve","displayOptions":{"show":{"resource":["customer"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["customer"],"operation":["getAll"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1,"maxValue":1000},"displayOptions":{"show":{"resource":["customer"],"operation":["getAll"],"returnAll":[false]}}},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["customer"],"operation":["getAll"]}},"options":[{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","default":"","description":"Customer's email to filter by"}]},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer to update","displayOptions":{"show":{"resource":["customer"],"operation":["update"]}}},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["customer"],"operation":["update"]}},"options":[{"displayName":"Address","name":"address","type":"fixedCollection","description":"Address of the customer to update","placeholder":"Add Field","default":{},"options":[{"displayName":"Details","name":"details","values":[{"displayName":"Line 1","name":"line1","description":"Address line 1 (e.g. street, PO Box, or company name)","type":"string","default":""},{"displayName":"Line 2","name":"line2","description":"Address line 2 (e.g. apartment, suite, unit, or building)","type":"string","default":""},{"displayName":"City","name":"city","description":"City, district, suburb, town, or village","type":"string","default":""},{"displayName":"State","name":"state","description":"State, county, province, or region","type":"string","default":""},{"displayName":"Country","name":"country","description":"Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)","type":"string","default":""},{"displayName":"Postal Code","name":"postal_code","description":"ZIP or postal code","type":"string","default":""}]}]},{"displayName":"Description","name":"description","type":"string","default":"","description":"Arbitrary text to describe the customer to create"},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","default":"","description":"Email of the customer to create"},{"displayName":"Metadata","name":"metadata","type":"fixedCollection","default":{},"placeholder":"Add Metadata Item","description":"Set of key-value pairs to attach to the customer to create","typeOptions":{"multipleValues":true},"options":[{"displayName":"Metadata Properties","name":"metadataProperties","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Name","name":"name","type":"string","default":"","description":"Full name or business name of the customer to create"},{"displayName":"Phone","name":"phone","type":"string","default":"","description":"Telephone number of this customer"},{"displayName":"Shipping","name":"shipping","type":"fixedCollection","description":"Shipping information for the customer","placeholder":"Add Field","typeOptions":{"multipleValues":true},"default":{},"options":[{"displayName":"Shipping Properties","name":"shippingProperties","values":[{"displayName":"Recipient Name","name":"name","type":"string","default":"","description":"Name of the person who will receive the shipment"},{"displayName":"Recipient Address","name":"address","type":"fixedCollection","default":{},"placeholder":"Add Address Details","options":[{"displayName":"Details","name":"details","values":[{"displayName":"Line 1","name":"line1","description":"Address line 1 (e.g. street, PO Box, or company name)","type":"string","default":""},{"displayName":"Line 2","name":"line2","description":"Address line 2 (e.g. apartment, suite, unit, or building)","type":"string","default":""},{"displayName":"City","name":"city","description":"City, district, suburb, town, or village","type":"string","default":""},{"displayName":"State","name":"state","description":"State, county, province, or region","type":"string","default":""},{"displayName":"Country","name":"country","description":"Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)","type":"string","default":""},{"displayName":"Postal Code","name":"postal_code","description":"ZIP or postal code","type":"string","default":""}]}]},{"displayName":"Recipient Phone","name":"phone","type":"string","default":"","description":"Phone number of the person who will receive the shipment"}]}]}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"get","options":[{"name":"Create","value":"create","description":"Create a source","action":"Create a source"},{"name":"Delete","value":"delete","description":"Delete a source","action":"Delete a source"},{"name":"Get","value":"get","description":"Get a source","action":"Get a source"}],"displayOptions":{"show":{"resource":["source"]}}},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer to attach the source to","displayOptions":{"show":{"resource":["source"],"operation":["create"]}}},{"displayName":"Type","name":"type","type":"options","required":true,"default":"wechat","description":"Type of source (payment instrument) to create","options":[{"name":"WeChat","value":"wechat"}],"displayOptions":{"show":{"resource":["source"],"operation":["create"]}}},{"displayName":"Amount","name":"amount","type":"number","default":0,"description":"Amount in cents to be collected for this charge, e.g. enter <code>100</code> for $1.00","typeOptions":{"minValue":0,"maxValue":99999999},"displayOptions":{"show":{"resource":["source"],"operation":["create"]}}},{"displayName":"Currency Name or ID","name":"currency","type":"options","typeOptions":{"loadOptionsMethod":"getCurrencies"},"default":"","description":"Three-letter ISO currency code, e.g. <code>USD</code> or <code>EUR</code>. It must be a <a href=\"https://stripe.com/docs/currencies\">Stripe-supported currency</a>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"resource":["source"],"operation":["create"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["source"],"operation":["create"]}},"options":[{"displayName":"Metadata","name":"metadata","type":"fixedCollection","placeholder":"Add Metadata Item","description":"Set of key-value pairs to attach to the source to create","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Metadata Properties","name":"metadataProperties","values":[{"displayName":"Key","name":"key","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Statement Descriptor","name":"statement_descriptor","type":"string","default":"","description":"Arbitrary text to display on the customer's statement"}]},{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":"","description":"ID of the customer whose source to delete","displayOptions":{"show":{"resource":["source"],"operation":["delete"]}}},{"displayName":"Source ID","name":"sourceId","type":"string","required":true,"default":"","description":"ID of the source to delete","displayOptions":{"show":{"resource":["source"],"operation":["delete"]}}},{"displayName":"Source ID","name":"sourceId","type":"string","required":true,"default":"","description":"ID of the source to retrieve","displayOptions":{"show":{"resource":["source"],"operation":["get"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"create","options":[{"name":"Create","value":"create","description":"Create a token","action":"Create a token"}],"displayOptions":{"show":{"resource":["token"]}}},{"displayName":"Type","name":"type","type":"options","required":true,"default":"cardToken","description":"Type of token to create","options":[{"name":"Card Token","value":"cardToken"}],"displayOptions":{"show":{"resource":["token"],"operation":["create"]}}},{"displayName":"Card Number","name":"number","type":"string","displayOptions":{"show":{"resource":["token"],"operation":["create"],"type":["cardToken"]}},"placeholder":"4242424242424242","default":""},{"displayName":"CVC","name":"cvc","type":"string","displayOptions":{"show":{"resource":["token"],"operation":["create"],"type":["cardToken"]}},"default":"","placeholder":"314","description":"Security code printed on the back of the card"},{"displayName":"Expiration Month","description":"Number of the month when the card will expire","name":"expirationMonth","type":"string","displayOptions":{"show":{"resource":["token"],"operation":["create"],"type":["cardToken"]}},"default":"","placeholder":"10"},{"displayName":"Expiration Year","description":"Year when the card will expire","name":"expirationYear","type":"string","displayOptions":{"show":{"resource":["token"],"operation":["create"],"type":["cardToken"]}},"default":"","placeholder":"2022"}],"codex":{"categories":["Finance & Accounting","Sales"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.stripe/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/stripe"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Stripe/stripe.svg"},
@@ -382,6 +384,8 @@
382
384
  {"displayName":"Tapfiliate","name":"n8n-nodes-base.tapfiliate","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \":\" + $parameter[\"resource\"]}}","description":"Consume Tapfiliate API","defaults":{"name":"Tapfiliate"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"tapfiliateApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Affiliate","value":"affiliate"},{"name":"Affiliate Metadata","value":"affiliateMetadata"},{"name":"Program Affiliate","value":"programAffiliate"}],"default":"affiliate","required":true},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["affiliate"]}},"options":[{"name":"Create","value":"create","description":"Create an affiliate","action":"Create an affiliate"},{"name":"Delete","value":"delete","description":"Delete an affiliate","action":"Delete an affiliate"},{"name":"Get","value":"get","description":"Get an affiliate by ID","action":"Get an affiliate"},{"name":"Get Many","value":"getAll","description":"Get many affiliates","action":"Get many affiliates"}],"default":"create"},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","required":true,"default":"","displayOptions":{"show":{"operation":["create"],"resource":["affiliate"]}},"description":"The affiliate’s email"},{"displayName":"First Name","name":"firstname","type":"string","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["affiliate"]}},"default":"","description":"The affiliate’s firstname"},{"displayName":"Last Name","name":"lastname","type":"string","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["affiliate"]}},"default":"","description":"The affiliate’s lastname"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["affiliate"],"operation":["create"]}},"options":[{"displayName":"Address","name":"addressUi","placeholder":"Address","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{},"options":[{"name":"addressValues","displayName":"Address","values":[{"displayName":"Line 1","name":"address","type":"string","default":""},{"displayName":"Line 2","name":"address_two","type":"string","default":""},{"displayName":"Postal Code","name":"postal_code","type":"string","default":""},{"displayName":"City","name":"city","type":"string","default":""},{"displayName":"State","name":"state","type":"string","default":""},{"displayName":"Country Code","name":"country","type":"string","default":"","description":"The country’s ISO_3166-1 code. <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1\">Codes</a>."}]}]},{"displayName":"Company Name","name":"companyName","type":"string","default":"","description":"The affiliate’s company data"}]},{"displayName":"Affiliate ID","name":"affiliateId","required":true,"type":"string","default":"","displayOptions":{"show":{"resource":["affiliate"],"operation":["delete"]}},"description":"The ID of the affiliate"},{"displayName":"Affiliate ID","name":"affiliateId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["affiliate"],"operation":["get"]}},"description":"The ID of the affiliate"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["affiliate"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["affiliate"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":100,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["affiliate"],"operation":["getAll"]}},"options":[{"displayName":"Affiliate Group ID","name":"affiliate_group_id","type":"string","default":"","description":"Retrieves affiliates for a certain affiliate group"},{"displayName":"Click ID","name":"click_id","type":"string","default":""},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","default":"","description":"An email address,"},{"displayName":"Parent ID","name":"parentId","type":"string","default":"","description":"Retrieves children for a certain parent affiliate"},{"displayName":"Referral Code","name":"referral_code","type":"string","default":"","description":"An affiliate’s referral code. This corresponds to the value of ref= in their referral link."},{"displayName":"Source ID","name":"source_id","type":"string","default":""}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["affiliateMetadata"]}},"options":[{"name":"Add","value":"add","description":"Add metadata to affiliate","action":"Add metadata to an affiliate"},{"name":"Remove","value":"remove","description":"Remove metadata from affiliate","action":"Remove metadata from an affiliate"},{"name":"Update","value":"update","description":"Update affiliate's metadata","action":"Update metadata for an affiliate"}],"default":"add"},{"displayName":"Affiliate ID","name":"affiliateId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["affiliateMetadata"],"operation":["add"]}},"description":"The ID of the affiliate"},{"displayName":"Metadata","name":"metadataUi","placeholder":"Add Metadata","type":"fixedCollection","displayOptions":{"show":{"resource":["affiliateMetadata"],"operation":["add"]}},"default":{},"typeOptions":{"multipleValues":true},"description":"Meta data","options":[{"name":"metadataValues","displayName":"Metadata","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the metadata key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the metadata key"}]}]},{"displayName":"Affiliate ID","name":"affiliateId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["affiliateMetadata"],"operation":["remove"]}},"description":"The ID of the affiliate"},{"displayName":"Key","name":"key","type":"string","displayOptions":{"show":{"resource":["affiliateMetadata"],"operation":["remove"]}},"default":"","description":"Name of the metadata key to remove"},{"displayName":"Affiliate ID","name":"affiliateId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["affiliateMetadata"],"operation":["update"]}},"description":"The ID of the affiliate"},{"displayName":"Key","name":"key","type":"string","displayOptions":{"show":{"resource":["affiliateMetadata"],"operation":["update"]}},"default":"","description":"Name of the metadata key to update"},{"displayName":"Value","name":"value","type":"string","displayOptions":{"show":{"resource":["affiliateMetadata"],"operation":["update"]}},"default":"","description":"Value to set for the metadata key"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["programAffiliate"]}},"options":[{"name":"Add","value":"add","description":"Add affiliate to program","action":"Add a program affiliate"},{"name":"Approve","value":"approve","description":"Approve an affiliate for a program","action":"Approve a program affiliate"},{"name":"Disapprove","value":"disapprove","description":"Disapprove an affiliate","action":"Disapprove a program affiliate"},{"name":"Get","value":"get","description":"Get an affiliate in a program","action":"Get a program affiliate"},{"name":"Get Many","value":"getAll","description":"Get many affiliates in program","action":"Get many program affiliates"}],"default":"add"},{"displayName":"Program Name or ID","name":"programId","type":"options","required":true,"typeOptions":{"loadOptionsMethod":"getPrograms"},"default":"","displayOptions":{"show":{"operation":["add"],"resource":["programAffiliate"]}},"description":"The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Affiliate ID","name":"affiliateId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["programAffiliate"],"operation":["add"]}},"description":"The ID of the affiliate"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["programAffiliate"],"operation":["add"]}},"options":[{"displayName":"Approved","name":"approved","type":"boolean","default":true,"description":"An optional approval status"},{"displayName":"Coupon","name":"coupon","type":"string","default":"","description":"An optional coupon for this affiliate"}]},{"displayName":"Program Name or ID","name":"programId","type":"options","typeOptions":{"loadOptionsMethod":"getPrograms"},"default":"","displayOptions":{"show":{"operation":["approve"],"resource":["programAffiliate"]}},"description":"The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Affiliate ID","name":"affiliateId","type":"string","default":"","displayOptions":{"show":{"resource":["programAffiliate"],"operation":["approve"]}},"description":"The ID of the affiliate"},{"displayName":"Program Name or ID","name":"programId","type":"options","typeOptions":{"loadOptionsMethod":"getPrograms"},"default":"","displayOptions":{"show":{"operation":["disapprove"],"resource":["programAffiliate"]}},"description":"The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Affiliate ID","name":"affiliateId","type":"string","default":"","displayOptions":{"show":{"resource":["programAffiliate"],"operation":["disapprove"]}},"description":"The ID of the affiliate"},{"displayName":"Program Name or ID","name":"programId","type":"options","required":true,"typeOptions":{"loadOptionsMethod":"getPrograms"},"default":"","displayOptions":{"show":{"operation":["get"],"resource":["programAffiliate"]}},"description":"The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Affiliate ID","name":"affiliateId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["programAffiliate"],"operation":["get"]}},"description":"The ID of the affiliate"},{"displayName":"Program Name or ID","name":"programId","type":"options","typeOptions":{"loadOptionsMethod":"getPrograms"},"required":true,"default":"","displayOptions":{"show":{"operation":["getAll"],"resource":["programAffiliate"]}},"description":"The ID of the Program to add the affiliate to. This ID can be found as part of the URL when viewing the program on the platform. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["programAffiliate"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["programAffiliate"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":100,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["programAffiliate"],"operation":["getAll"]}},"options":[{"displayName":"Affiliate Group ID","name":"affiliate_group_id","type":"string","default":"","description":"Retrieves affiliates for a certain affiliate group"},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","default":"","description":"An email address"},{"displayName":"Parent ID","name":"parentId","type":"string","default":"","description":"Retrieves children for a certain parent affiliate"},{"displayName":"Source ID","name":"source_id","type":"string","default":""}]}],"codex":{"categories":["Sales"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.tapfiliate/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/tapfiliate"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Tapfiliate/tapfiliate.svg"},
383
385
  {"displayName":"Telegram","name":"n8n-nodes-base.telegram","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Sends data to Telegram","defaults":{"name":"Telegram"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"telegramApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Chat","value":"chat"},{"name":"Callback","value":"callback"},{"name":"File","value":"file"},{"name":"Message","value":"message"}],"default":"message"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["chat"]}},"options":[{"name":"Get","value":"get","description":"Get up to date information about a chat","action":"Get a chat"},{"name":"Get Administrators","value":"administrators","description":"Get the Administrators of a chat","action":"Get all administrators in a chat"},{"name":"Get Member","value":"member","description":"Get the member of a chat","action":"Get a member in a chat"},{"name":"Leave","value":"leave","description":"Leave a group, supergroup or channel","action":"Leave a chat"},{"name":"Set Description","value":"setDescription","description":"Set the description of a chat","action":"Set description on a chat"},{"name":"Set Title","value":"setTitle","description":"Set the title of a chat","action":"Set a title on a chat"}],"default":"get"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["callback"]}},"options":[{"name":"Answer Query","value":"answerQuery","description":"Send answer to callback query sent from inline keyboard","action":"Answer Query a callback"},{"name":"Answer Inline Query","value":"answerInlineQuery","description":"Send answer to callback query sent from inline bot","action":"Answer an inline query callback"}],"default":"answerQuery"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Get","value":"get","description":"Get a file","action":"Get a file"}],"default":"get"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["message"]}},"options":[{"name":"Delete Chat Message","value":"deleteMessage","description":"Delete a chat message","action":"Delete a chat message"},{"name":"Edit Message Text","value":"editMessageText","description":"Edit a text message","action":"Edit a test message"},{"name":"Pin Chat Message","value":"pinChatMessage","description":"Pin a chat message","action":"Pin a chat message"},{"name":"Send Animation","value":"sendAnimation","description":"Send an animated file","action":"Send an animated file"},{"name":"Send Audio","value":"sendAudio","description":"Send a audio file","action":"Send an audio file"},{"name":"Send Chat Action","value":"sendChatAction","description":"Send a chat action","action":"Send a chat action"},{"name":"Send Document","value":"sendDocument","description":"Send a document","action":"Send a document"},{"name":"Send Location","value":"sendLocation","description":"Send a location","action":"Send a location"},{"name":"Send Media Group","value":"sendMediaGroup","description":"Send group of photos or videos to album","action":"Send a media group message"},{"name":"Send Message","value":"sendMessage","description":"Send a text message","action":"Send a text message"},{"name":"Send Photo","value":"sendPhoto","description":"Send a photo","action":"Send a photo message"},{"name":"Send Sticker","value":"sendSticker","description":"Send a sticker","action":"Send a sticker"},{"name":"Send Video","value":"sendVideo","description":"Send a video","action":"Send a video"},{"name":"Unpin Chat Message","value":"unpinChatMessage","description":"Unpin a chat message","action":"Unpin a chat message"}],"default":"sendMessage"},{"displayName":"Chat ID","name":"chatId","type":"string","default":"","displayOptions":{"show":{"operation":["administrators","deleteMessage","get","leave","member","pinChatMessage","setDescription","setTitle","sendAnimation","sendAudio","sendChatAction","sendDocument","sendLocation","sendMessage","sendMediaGroup","sendPhoto","sendSticker","sendVideo","unpinChatMessage"],"resource":["chat","message"]}},"required":true,"description":"Unique identifier for the target chat or username of the target channel (in the format @channelusername)"},{"displayName":"Message ID","name":"messageId","type":"string","default":"","displayOptions":{"show":{"operation":["deleteMessage"],"resource":["message"]}},"required":true,"description":"Unique identifier of the message to delete"},{"displayName":"Message ID","name":"messageId","type":"string","default":"","displayOptions":{"show":{"operation":["pinChatMessage","unpinChatMessage"],"resource":["message"]}},"required":true,"description":"Unique identifier of the message to pin or unpin"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"operation":["pinChatMessage"],"resource":["message"]}},"default":{},"options":[{"displayName":"Disable Notification","name":"disable_notification","type":"boolean","default":false,"description":"Whether to send a notification to all chat members about the new pinned message"}]},{"displayName":"User ID","name":"userId","type":"string","default":"","displayOptions":{"show":{"operation":["member"],"resource":["chat"]}},"required":true,"description":"Unique identifier of the target user"},{"displayName":"Description","name":"description","type":"string","default":"","displayOptions":{"show":{"operation":["setDescription"],"resource":["chat"]}},"required":true,"description":"New chat description, 0-255 characters"},{"displayName":"Title","name":"title","type":"string","default":"","displayOptions":{"show":{"operation":["setTitle"],"resource":["chat"]}},"required":true,"description":"New chat title, 1-255 characters"},{"displayName":"Query ID","name":"queryId","type":"string","default":"","displayOptions":{"show":{"operation":["answerQuery"],"resource":["callback"]}},"required":true,"description":"Unique identifier for the query to be answered"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"operation":["answerQuery"],"resource":["callback"]}},"default":{},"options":[{"displayName":"Cache Time","name":"cache_time","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The maximum amount of time in seconds that the result of the callback query may be cached client-side"},{"displayName":"Show Alert","name":"show_alert","type":"boolean","default":false,"description":"Whether an alert will be shown by the client instead of a notification at the top of the chat screen"},{"displayName":"Text","name":"text","type":"string","default":"","description":"Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters."},{"displayName":"URL","name":"url","type":"string","default":"","description":"URL that will be opened by the user's client"}]},{"displayName":"Query ID","name":"queryId","type":"string","default":"","displayOptions":{"show":{"operation":["answerInlineQuery"],"resource":["callback"]}},"required":true,"description":"Unique identifier for the answered query"},{"displayName":"Results","name":"results","type":"string","default":"","displayOptions":{"show":{"operation":["answerInlineQuery"],"resource":["callback"]}},"required":true,"description":"A JSON-serialized array of results for the inline query"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"operation":["answerInlineQuery"],"resource":["callback"]}},"default":{},"options":[{"displayName":"Cache Time","name":"cache_time","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The maximum amount of time in seconds that the result of the callback query may be cached client-side"},{"displayName":"Show Alert","name":"show_alert","type":"boolean","default":false,"description":"Whether an alert will be shown by the client instead of a notification at the top of the chat screen"},{"displayName":"Text","name":"text","type":"string","default":"","description":"Text of the notification. If not specified, nothing will be shown to the user, 0-200 characters."},{"displayName":"URL","name":"url","type":"string","default":"","description":"URL that will be opened by the user's client"}]},{"displayName":"File ID","name":"fileId","type":"string","default":"","displayOptions":{"show":{"operation":["get"],"resource":["file"]}},"required":true,"description":"The ID of the file"},{"displayName":"Download","name":"download","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["file"]}},"default":true,"description":"Whether to download the file"},{"displayName":"Message Type","name":"messageType","type":"options","displayOptions":{"show":{"operation":["editMessageText"],"resource":["message"]}},"options":[{"name":"Inline Message","value":"inlineMessage"},{"name":"Message","value":"message"}],"default":"message","description":"The type of the message to edit"},{"displayName":"Chat ID","name":"chatId","type":"string","default":"","displayOptions":{"show":{"messageType":["message"],"operation":["editMessageText"],"resource":["message"]}},"required":true,"description":"Unique identifier for the target chat or username of the target channel (in the format @channelusername). To find your chat ID ask @get_id_bot."},{"displayName":"Binary Data","name":"binaryData","type":"boolean","default":false,"required":true,"displayOptions":{"show":{"operation":["sendAnimation","sendAudio","sendDocument","sendPhoto","sendVideo","sendSticker"],"resource":["message"]}},"description":"Whether the data to upload should be taken from binary field"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["sendAnimation","sendAudio","sendDocument","sendPhoto","sendVideo","sendSticker"],"resource":["message"],"binaryData":[true]}},"placeholder":"","description":"Name of the binary property that contains the data to upload"},{"displayName":"Message ID","name":"messageId","type":"string","default":"","displayOptions":{"show":{"messageType":["message"],"operation":["editMessageText"],"resource":["message"]}},"required":true,"description":"Unique identifier of the message to edit"},{"displayName":"Inline Message ID","name":"inlineMessageId","type":"string","default":"","displayOptions":{"show":{"messageType":["inlineMessage"],"operation":["editMessageText"],"resource":["message"]}},"required":true,"description":"Unique identifier of the inline message to edit"},{"displayName":"Reply Markup","name":"replyMarkup","displayOptions":{"show":{"operation":["editMessageText"],"resource":["message"]}},"type":"options","options":[{"name":"None","value":"none"},{"name":"Inline Keyboard","value":"inlineKeyboard"}],"default":"none","description":"Additional interface options"},{"displayName":"Animation","name":"file","type":"string","default":"","displayOptions":{"show":{"operation":["sendAnimation"],"resource":["message"],"binaryData":[false]}},"description":"Animation to send. Pass a file_id to send an animation that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get an animation from the Internet."},{"displayName":"Audio","name":"file","type":"string","default":"","displayOptions":{"show":{"operation":["sendAudio"],"resource":["message"],"binaryData":[false]}},"description":"Audio file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet."},{"displayName":"Action","name":"action","type":"options","displayOptions":{"show":{"operation":["sendChatAction"],"resource":["message"]}},"options":[{"name":"Find Location","value":"find_location","action":"Find location"},{"name":"Record Audio","value":"record_audio","action":"Record audio"},{"name":"Record Video","value":"record_video","action":"Record video"},{"name":"Record Video Note","value":"record_video_note","action":"Record video note"},{"name":"Typing","value":"typing","action":"Typing a message"},{"name":"Upload Audio","value":"upload_audio","action":"Upload audio"},{"name":"Upload Document","value":"upload_document","action":"Upload document"},{"name":"Upload Photo","value":"upload_photo","action":"Upload photo"},{"name":"Upload Video","value":"upload_video","action":"Upload video"},{"name":"Upload Video Note","value":"upload_video_note","action":"Upload video note"}],"default":"typing","description":"Type of action to broadcast. Choose one, depending on what the user is about to receive. The status is set for 5 seconds or less (when a message arrives from your bot)."},{"displayName":"Document","name":"file","type":"string","default":"","displayOptions":{"show":{"operation":["sendDocument"],"resource":["message"],"binaryData":[false]}},"description":"Document to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet."},{"displayName":"Latitude","name":"latitude","type":"number","default":0,"typeOptions":{"numberPrecision":10,"minValue":-90,"maxValue":90},"displayOptions":{"show":{"operation":["sendLocation"],"resource":["message"]}},"description":"Location latitude"},{"displayName":"Longitude","name":"longitude","type":"number","typeOptions":{"numberPrecision":10,"minValue":-180,"maxValue":180},"default":0,"displayOptions":{"show":{"operation":["sendLocation"],"resource":["message"]}},"description":"Location longitude"},{"displayName":"Media","name":"media","type":"fixedCollection","displayOptions":{"show":{"operation":["sendMediaGroup"],"resource":["message"]}},"description":"The media to add","placeholder":"Add Media","typeOptions":{"multipleValues":true},"default":{},"options":[{"displayName":"Media","name":"media","values":[{"displayName":"Type","name":"type","type":"options","options":[{"name":"Photo","value":"photo"},{"name":"Video","value":"video"}],"default":"photo","description":"The type of the media to add"},{"displayName":"Media File","name":"media","type":"string","default":"","description":"Media to send. Pass a file_id to send a file that exists on the Telegram servers (recommended) or pass an HTTP URL for Telegram to get a file from the Internet."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Caption","name":"caption","type":"string","default":"","description":"Caption text to set, 0-1024 characters"},{"displayName":"Parse Mode","name":"parse_mode","type":"options","options":[{"name":"Markdown","value":"Markdown"},{"name":"HTML","value":"HTML"}],"default":"HTML","description":"How to parse the text"}]}]}]},{"displayName":"Text","name":"text","type":"string","required":true,"default":"","displayOptions":{"show":{"operation":["editMessageText","sendMessage"],"resource":["message"]}},"description":"Text of the message to be sent"},{"displayName":"Photo","name":"file","type":"string","default":"","displayOptions":{"show":{"operation":["sendPhoto"],"resource":["message"],"binaryData":[false]}},"description":"Photo to send. Pass a file_id to send a photo that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a photo from the Internet."},{"displayName":"Sticker","name":"file","type":"string","default":"","displayOptions":{"show":{"operation":["sendSticker"],"resource":["message"],"binaryData":[false]}},"description":"Sticker to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a .webp file from the Internet."},{"displayName":"Video","name":"file","type":"string","default":"","displayOptions":{"show":{"operation":["sendVideo"],"resource":["message"],"binaryData":[false]}},"description":"Video file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), an HTTP URL for Telegram to get a file from the Internet."},{"displayName":"Reply Markup","name":"replyMarkup","displayOptions":{"show":{"operation":["sendAnimation","sendDocument","sendMessage","sendPhoto","sendSticker","sendVideo","sendAudio","sendLocation"],"resource":["message"]}},"type":"options","options":[{"name":"Force Reply","value":"forceReply"},{"name":"Inline Keyboard","value":"inlineKeyboard"},{"name":"None","value":"none"},{"name":"Reply Keyboard","value":"replyKeyboard"},{"name":"Reply Keyboard Remove","value":"replyKeyboardRemove"}],"default":"none","description":"Additional interface options"},{"displayName":"Force Reply","name":"forceReply","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"replyMarkup":["forceReply"],"resource":["message"]}},"default":{},"options":[{"displayName":"Force Reply","name":"force_reply","type":"boolean","default":false,"description":"Whether to show reply interface to the user, as if they manually selected the bot‘s message and tapped ’Reply"},{"displayName":"Selective","name":"selective","type":"boolean","default":false,"description":"Whether to force reply from specific users only"}]},{"displayName":"Inline Keyboard","name":"inlineKeyboard","placeholder":"Add Keyboard Row","description":"Adds an inline keyboard that appears right next to the message it belongs to","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"replyMarkup":["inlineKeyboard"],"resource":["message"]}},"default":{},"options":[{"displayName":"Rows","name":"rows","values":[{"displayName":"Row","name":"row","type":"fixedCollection","description":"The value to set","placeholder":"Add Button","typeOptions":{"multipleValues":true},"default":{},"options":[{"displayName":"Buttons","name":"buttons","values":[{"displayName":"Text","name":"text","type":"string","default":"","description":"Label text on the button"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Callback Data","name":"callback_data","type":"string","default":"","description":"Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes"},{"displayName":"Pay","name":"pay","type":"boolean","default":false,"description":"Whether to send a Pay button"},{"displayName":"Switch Inline Query Current Chat","name":"switch_inline_query_current_chat","type":"string","default":"","description":"If set, pressing the button will insert the bot‘s username and the specified inline query in the current chat's input field.Can be empty, in which case only the bot’s username will be inserted"},{"displayName":"Switch Inline Query","name":"switch_inline_query","type":"string","default":"","description":"If set, pressing the button will prompt the user to select one of their chats, open that chat and insert the bot‘s username and the specified inline query in the input field. Can be empty, in which case just the bot’s username will be inserted."},{"displayName":"URL","name":"url","type":"string","default":"","description":"HTTP or tg:// URL to be opened when button is pressed"}]}]}]}]}]},{"displayName":"Reply Keyboard","name":"replyKeyboard","placeholder":"Add Reply Keyboard Row","description":"Adds a custom keyboard with reply options","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"replyMarkup":["replyKeyboard"]}},"default":{},"options":[{"displayName":"Rows","name":"rows","values":[{"displayName":"Row","name":"row","type":"fixedCollection","description":"The value to set","placeholder":"Add Button","typeOptions":{"multipleValues":true},"default":{},"options":[{"displayName":"Buttons","name":"buttons","values":[{"displayName":"Text","name":"text","type":"string","default":"","description":"Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Request Contact","name":"request_contact","type":"boolean","default":false,"description":"Whether the user's phone number will be sent as a contact when the button is pressed.Available in private chats only"},{"displayName":"Request Location","name":"request_location","type":"boolean","default":false,"description":"Whether the user's request_location"}]}]}]}]}]},{"displayName":"Reply Keyboard Options","name":"replyKeyboardOptions","type":"collection","placeholder":"Add Option","displayOptions":{"show":{"replyMarkup":["replyKeyboard"]}},"default":{},"options":[{"displayName":"Resize Keyboard","name":"resize_keyboard","type":"boolean","default":false,"description":"Whether to request clients to resize the keyboard vertically for optimal fit"},{"displayName":"One Time Keyboard","name":"one_time_keyboard","type":"boolean","default":false,"description":"Whether to request clients to hide the keyboard as soon as it's been used"},{"displayName":"Selective","name":"selective","type":"boolean","default":false,"description":"Whether to show the keyboard to specific users only"}]},{"displayName":"Reply Keyboard Remove","name":"replyKeyboardRemove","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"replyMarkup":["replyKeyboardRemove"]}},"default":{},"options":[{"displayName":"Remove Keyboard","name":"remove_keyboard","type":"boolean","default":false,"description":"Whether to request clients to remove the custom keyboard"},{"displayName":"Selective","name":"selective","type":"boolean","default":false,"description":"Whether to force reply from specific users only"}]},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"operation":["editMessageText","sendAnimation","sendAudio","sendDocument","sendLocation","sendMessage","sendMediaGroup","sendPhoto","sendSticker","sendVideo"],"resource":["message"]}},"default":{},"options":[{"displayName":"Caption","name":"caption","type":"string","displayOptions":{"show":{"/operation":["sendAnimation","sendAudio","sendDocument","sendPhoto","sendVideo"]}},"default":"","description":"Caption text to set, 0-1024 characters"},{"displayName":"Disable Notification","name":"disable_notification","type":"boolean","default":false,"displayOptions":{"hide":{"/operation":["editMessageText"]}},"description":"Whether to send the message silently. Users will receive a notification with no sound."},{"displayName":"Disable WebPage Preview","name":"disable_web_page_preview","type":"boolean","displayOptions":{"show":{"/operation":["editMessageText","sendMessage"]}},"default":false,"description":"Whether to disable link previews for links in this message"},{"displayName":"Duration","name":"duration","type":"number","typeOptions":{"minValue":0},"displayOptions":{"show":{"/operation":["sendAnimation","sendAudio","sendVideo"]}},"default":0,"description":"Duration of clip in seconds"},{"displayName":"File Name","name":"fileName","type":"string","default":"","displayOptions":{"show":{"/operation":["sendAnimation","sendAudio","sendDocument","sendPhoto","sendVideo","sendSticker"],"/resource":["message"],"/binaryData":[true]}},"placeholder":"image.jpeg"},{"displayName":"Height","name":"height","type":"number","typeOptions":{"minValue":0},"displayOptions":{"show":{"/operation":["sendAnimation","sendVideo"]}},"default":0,"description":"Height of the video"},{"displayName":"Parse Mode","name":"parse_mode","type":"options","options":[{"name":"Markdown","value":"Markdown"},{"name":"HTML","value":"HTML"}],"displayOptions":{"show":{"/operation":["editMessageText","sendAnimation","sendAudio","sendMessage","sendPhoto","sendVideo","sendDocument"]}},"default":"HTML","description":"How to parse the text"},{"displayName":"Performer","name":"performer","type":"string","displayOptions":{"show":{"/operation":["sendAudio"]}},"default":"","description":"Name of the performer"},{"displayName":"Reply To Message ID","name":"reply_to_message_id","type":"number","displayOptions":{"hide":{"/operation":["editMessageText"]}},"default":0,"description":"If the message is a reply, ID of the original message"},{"displayName":"Message Thread ID","name":"message_thread_id","type":"number","displayOptions":{"show":{"/operation":["sendAnimation","sendAudio","sendChatAction","sendDocument","sendLocation","sendMediaGroup","sendMessage","sendPhoto","sendSticker","sendVideo"]}},"default":0,"description":"The unique identifier of the forum topic"},{"displayName":"Title","name":"title","type":"string","displayOptions":{"show":{"/operation":["sendAudio"]}},"default":"","description":"Title of the track"},{"displayName":"Thumbnail","name":"thumb","type":"string","displayOptions":{"show":{"/operation":["sendAnimation","sendAudio","sendDocument","sendVideo"]}},"default":"","description":"Thumbnail of the file sent; can be ignored if thumbnail generation for the file is supported server-side. The thumbnail should be in JPEG format and less than 200 kB in size. A thumbnail‘s width and height should not exceed 320."},{"displayName":"Width","name":"width","type":"number","typeOptions":{"minValue":0},"displayOptions":{"show":{"/operation":["sendAnimation","sendVideo"]}},"default":0,"description":"Width of the video"}]}],"codex":{"categories":["Communication"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.telegram/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/telegram"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Telegram/telegram.svg"},
384
386
  {"displayName":"Telegram Trigger","name":"n8n-nodes-base.telegramTrigger","group":["trigger"],"version":1,"subtitle":"=Updates: {{$parameter[\"updates\"].join(\", \")}}","description":"Starts the workflow on a Telegram update","defaults":{"name":"Telegram Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"telegramApi","required":true}],"webhooks":[{"name":"default","httpMethod":"POST","responseMode":"onReceived","path":"webhook"}],"properties":[{"displayName":"Trigger On","name":"updates","type":"multiOptions","options":[{"name":"*","value":"*","description":"All updates"},{"name":"Callback Query","value":"callback_query","description":"Trigger on new incoming callback query"},{"name":"Channel Post","value":"channel_post","description":"Trigger on new incoming channel post of any kind — text, photo, sticker, etc"},{"name":"Edited Channel Post","value":"edited_channel_post","description":"Trigger on new version of a channel post that is known to the bot and was edited"},{"name":"Edited Message","value":"edited_message","description":"Trigger on new version of a channel post that is known to the bot and was edited"},{"name":"Inline Query","value":"inline_query","description":"Trigger on new incoming inline query"},{"name":"Message","value":"message","description":"Trigger on new incoming message of any kind — text, photo, sticker, etc"},{"name":"Poll","value":"poll","action":"On Poll Change","description":"Trigger on new poll state. Bots receive only updates about stopped polls and polls, which are sent by the bot."},{"name":"Pre-Checkout Query","value":"pre_checkout_query","description":"Trigger on new incoming pre-checkout query. Contains full information about checkout."},{"name":"Shipping Query","value":"shipping_query","description":"Trigger on new incoming shipping query. Only for invoices with flexible price."}],"required":true,"default":[]},{"displayName":"Every uploaded attachment, even if sent in a group, will trigger a separate event. You can identify that an attachment belongs to a certain group by <code>media_group_id</code> .","name":"attachmentNotice","type":"notice","default":""},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Download Images/Files","name":"download","type":"boolean","default":false,"description":"Telegram delivers the image in multiple sizes. By default, just the large image would be downloaded. If you want to change the size, set the field 'Image Size'."},{"displayName":"Image Size","name":"imageSize","type":"options","displayOptions":{"show":{"download":[true]}},"options":[{"name":"Small","value":"small"},{"name":"Medium","value":"medium"},{"name":"Large","value":"large"},{"name":"Extra Large","value":"extraLarge"}],"default":"large","description":"The size of the image to be downloaded"}]}],"codex":{"categories":["Communication"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.telegramtrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/telegram"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Telegram/telegram.svg"},
387
+ {"displayName":"TheHive 5","name":"n8n-nodes-base.theHiveProject","group":["transform"],"subtitle":"={{$parameter[\"operation\"]}} : {{$parameter[\"resource\"]}}","version":1,"description":"Consume TheHive 5 API","defaults":{"name":"TheHive 5"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"theHiveProjectApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"required":true,"options":[{"name":"Alert","value":"alert"},{"name":"Case","value":"case"},{"name":"Comment","value":"comment"},{"name":"Observable","value":"observable"},{"name":"Page","value":"page"},{"name":"Query","value":"query"},{"name":"Task","value":"task"},{"name":"Task Log","value":"log"}],"default":"alert"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"required":true,"options":[{"name":"Create","value":"create","action":"Create an alert"},{"name":"Delete","value":"deleteAlert","action":"Delete an alert"},{"name":"Execute Responder","value":"executeResponder","action":"Execute responder on an alert"},{"name":"Get","value":"get","action":"Get an alert"},{"name":"Merge Into Case","value":"merge","action":"Merge an alert into a case"},{"name":"Promote to Case","value":"promote","action":"Promote an alert to a case"},{"name":"Search","value":"search","action":"Search alerts"},{"name":"Update","value":"update","action":"Update an alert"},{"name":"Update Status","value":"status","action":"Update an alert status"}],"displayOptions":{"show":{"resource":["alert"]}},"default":"create"},{"displayName":"Fields","name":"alertFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getAlertFields","mode":"add","valuesLabel":"Fields"}},"displayOptions":{"show":{"resource":["alert"],"operation":["create"]}}},{"displayName":"Observables","name":"observableUi","type":"fixedCollection","placeholder":"Add Observable","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Data Type","name":"dataType","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableTypes"},"description":"Type of the observable. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Data","name":"data","type":"string","displayOptions":{"hide":{"dataType":["file"]}},"default":""},{"displayName":"Binary Property","name":"binaryProperty","type":"string","displayOptions":{"show":{"dataType":["file"]}},"default":"data"},{"displayName":"Message","name":"message","type":"string","default":""},{"displayName":"Tags","name":"tags","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["create"]}}},{"displayName":"Alert","name":"alertId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["deleteAlert"]}}},{"displayName":"Alert","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["executeResponder"]}}},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id","id.value"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"hide":{"id":[""]},"show":{"resource":["alert"],"operation":["executeResponder"]}}},{"displayName":"Alert","name":"alertId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["get"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Include Similar Alerts","name":"includeSimilarAlerts","type":"boolean","description":"Whether to include similar cases","default":false},{"displayName":"Include Similar Cases","name":"includeSimilarCases","type":"boolean","description":"Whether to include similar cases","default":false}],"displayOptions":{"show":{"resource":["alert"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["alert"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"default":50,"description":"Max number of results to return","displayOptions":{"show":{"returnAll":[false],"resource":["alert"],"operation":["search"]}}},{"displayName":"Filters","name":"filters","type":"fixedCollection","placeholder":"Add Filter","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Between","value":"_between","description":"Field is between two values ('From' is inclusive, 'To' is exclusive)"},{"name":"Contains","value":"_like","description":"Field contains the substring from value"},{"name":"Ends With","value":"_endsWith","description":"Field ends with value"},{"name":"Equal","value":"_eq","description":"Field is equal to value"},{"name":"Greater Than","value":"_gt","description":"Field is greater than value"},{"name":"Greater Than Or Equal","value":"_gte","description":"Field is greater than or equal to value"},{"name":"In","value":"_in","description":"Field is one of the values"},{"name":"Less Than","value":"_lt","description":"Field is less than value"},{"name":"Less Than Or Equal","value":"_lte","description":"Field is less than or equal to value"},{"name":"Match Word","value":"_match","description":"Field contains the value as a word"},{"name":"Not Equal","value":"_ne","description":"Field is not equal to value"},{"name":"Starts With","value":"_startsWith","description":"Field starts with value"}],"default":"_eq"},{"displayName":"Value","name":"value","type":"string","default":"","displayOptions":{"hide":{"operator":["_between","_in"]}}},{"displayName":"Values","name":"values","type":"string","default":"","description":"Comma-separated list of values","placeholder":"e.g. value1,value2","displayOptions":{"show":{"operator":["_in"]}}},{"displayName":"From","name":"from","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}},{"displayName":"To","name":"to","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["search"]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","placeholder":"Add Sort Rule","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Fields","name":"fields","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Return Count","name":"returnCount","type":"boolean","description":"Whether to return only the count of results","default":false,"displayOptions":{"hide":{"/returnAll":[false]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"isOwner","value":"isOwner"},{"name":"links","value":"links"},{"name":"permissions","value":"permissions"},{"name":"seen","value":"seen"},{"name":"shareCount","value":"shareCount"},{"name":"shares","value":"shares"}],"default":[],"displayOptions":{"show":{"/resource":["observable"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"actionRequiredMap","value":"actionRequiredMap"},{"name":"case","value":"case"},{"name":"caseId","value":"caseId"},{"name":"caseTemplate","value":"caseTemplate"},{"name":"caseTemplateId","value":"caseTemplateId"},{"name":"shareCount","value":"shareCount"}],"default":[],"displayOptions":{"show":{"/resource":["task"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"caseNumber","value":"caseNumber"},{"name":"importDate","value":"importDate"},{"name":"procedureCount","value":"procedureCount"},{"name":"status","value":"status"}],"default":[],"displayOptions":{"show":{"/resource":["alert"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"alertCount","value":"alertCount"},{"name":"alerts","value":"alerts"},{"name":"attachmentCount","value":"attachmentCount"},{"name":"contributors","value":"contributors"},{"name":"handlingDuration","value":"computed.handlingDuration"},{"name":"handlingDurationInDays","value":"computed.handlingDurationInDays"},{"name":"handlingDurationInHours","value":"computed.handlingDurationInHours"},{"name":"handlingDurationInMinutes","value":"computed.handlingDurationInMinutes"},{"name":"handlingDurationInSeconds","value":"computed.handlingDurationInSeconds"},{"name":"isOwner","value":"isOwner"},{"name":"observableStats","value":"observableStats"},{"name":"permissions","value":"permissions"},{"name":"procedureCount","value":"procedureCount"},{"name":"shareCount","value":"shareCount"},{"name":"similarAlerts","value":"similarAlerts"},{"name":"status","value":"status"},{"name":"taskStats","value":"taskStats"}],"default":[],"displayOptions":{"show":{"/resource":["case"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"links","value":"links"}],"default":[],"displayOptions":{"show":{"/resource":["comment"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionCount","value":"actionCount"},{"name":"case","value":"case"},{"name":"task","value":"task"},{"name":"taskId","value":"taskId"}],"default":[],"displayOptions":{"show":{"/resource":["log"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"string","description":"Additional data to include in the response","default":"","requiresDataPath":"multiple","displayOptions":{"show":{"/resource":["query"]},"hide":{"returnCount":[true]}}}],"displayOptions":{"show":{"resource":["alert"],"operation":["search"]}}},{"displayName":"Alert","name":"alertId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["status"]}}},{"displayName":"Status Name or ID","name":"status","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","default":"","required":true,"typeOptions":{"loadOptionsMethod":"loadAlertStatus"},"displayOptions":{"show":{"resource":["alert"],"operation":["status"]}}},{"displayName":"Alert","name":"alertId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["merge"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["merge"]}}},{"displayName":"Alert","name":"alertId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"resource":["alert"],"operation":["promote"]}}},{"displayName":"Options","name":"options","placeholder":"Add Field","type":"collection","default":{},"options":[{"displayName":"Case Template Name or ID","name":"caseTemplate","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"loadCaseTemplate"}}],"displayOptions":{"show":{"resource":["alert"],"operation":["promote"]}}},{"displayName":"Fields","name":"alertUpdateFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getAlertUpdateFields","mode":"update","valuesLabel":"Fields","addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"resource":["alert"],"operation":["update"]}}},{"displayName":"Operation","name":"operation","default":"create","type":"options","noDataExpression":true,"required":true,"options":[{"name":"Add Attachment","value":"addAttachment","action":"Add attachment to a case"},{"name":"Create","value":"create","action":"Create a case"},{"name":"Delete Attachment","value":"deleteAttachment","action":"Delete attachment from a case"},{"name":"Delete Case","value":"deleteCase","action":"Delete an case"},{"name":"Execute Responder","value":"executeResponder","action":"Execute responder on a case"},{"name":"Get","value":"get","action":"Get a case"},{"name":"Get Attachment","value":"getAttachment","action":"Get attachment from a case"},{"name":"Get Timeline","value":"getTimeline","action":"Get timeline of a case"},{"name":"Search","value":"search","action":"Search cases"},{"name":"Update","value":"update","action":"Update a case"}],"displayOptions":{"show":{"resource":["case"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["case"],"operation":["addAttachment"]}}},{"displayName":"Attachments","name":"attachmentsUi","placeholder":"Add Attachment","type":"fixedCollection","typeOptions":{"multipleValues":true},"options":[{"name":"values","displayName":"Values","values":[{"displayName":"Attachment Field Name","name":"field","type":"string","default":"data","description":"Add the field name from the input node","hint":"The name of the field with the attachment in the node input"}]}],"default":{},"description":"Array of supported attachments to add to the message","displayOptions":{"show":{"resource":["case"],"operation":["addAttachment"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Rename Files","name":"canRename","type":"boolean","description":"Whether to rename the file in case a file with the same name already exists","default":false}],"displayOptions":{"show":{"resource":["case"],"operation":["addAttachment"]}}},{"displayName":"Fields","name":"caseFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getCaseFields","mode":"add","valuesLabel":"Fields"}},"displayOptions":{"show":{"resource":["case"],"operation":["create"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["case"],"operation":["deleteAttachment"]}}},{"displayName":"Attachment Name or ID","name":"attachmentId","type":"options","default":"","required":true,"description":"ID of the attachment. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"loadCaseAttachments"},"displayOptions":{"show":{"resource":["case"],"operation":["deleteAttachment"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["case"],"operation":["deleteCase"]}}},{"displayName":"Case","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["case"],"operation":["executeResponder"]}}},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id","id.value"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"hide":{"id":[""]},"show":{"resource":["case"],"operation":["executeResponder"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["case"],"operation":["get"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["case"],"operation":["getAttachment"]}}},{"displayName":"Attachment Name or ID","name":"attachmentId","type":"options","default":"","required":true,"description":"ID of the attachment. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"loadCaseAttachments","loadOptionsDependsOn":["caseId.value"]},"displayOptions":{"show":{"resource":["case"],"operation":["getAttachment"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"Rename the file when downloading"},{"displayName":"Data Property Name","name":"dataPropertyName","type":"string","default":"data","description":"Name of the binary property to which write the data of the attachment"}],"displayOptions":{"show":{"resource":["case"],"operation":["getAttachment"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["case"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"default":50,"description":"Max number of results to return","displayOptions":{"show":{"returnAll":[false],"resource":["case"],"operation":["search"]}}},{"displayName":"Filters","name":"filters","type":"fixedCollection","placeholder":"Add Filter","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Between","value":"_between","description":"Field is between two values ('From' is inclusive, 'To' is exclusive)"},{"name":"Contains","value":"_like","description":"Field contains the substring from value"},{"name":"Ends With","value":"_endsWith","description":"Field ends with value"},{"name":"Equal","value":"_eq","description":"Field is equal to value"},{"name":"Greater Than","value":"_gt","description":"Field is greater than value"},{"name":"Greater Than Or Equal","value":"_gte","description":"Field is greater than or equal to value"},{"name":"In","value":"_in","description":"Field is one of the values"},{"name":"Less Than","value":"_lt","description":"Field is less than value"},{"name":"Less Than Or Equal","value":"_lte","description":"Field is less than or equal to value"},{"name":"Match Word","value":"_match","description":"Field contains the value as a word"},{"name":"Not Equal","value":"_ne","description":"Field is not equal to value"},{"name":"Starts With","value":"_startsWith","description":"Field starts with value"}],"default":"_eq"},{"displayName":"Value","name":"value","type":"string","default":"","displayOptions":{"hide":{"operator":["_between","_in"]}}},{"displayName":"Values","name":"values","type":"string","default":"","description":"Comma-separated list of values","placeholder":"e.g. value1,value2","displayOptions":{"show":{"operator":["_in"]}}},{"displayName":"From","name":"from","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}},{"displayName":"To","name":"to","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}}]}],"displayOptions":{"show":{"resource":["case"],"operation":["search"]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","placeholder":"Add Sort Rule","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Fields","name":"fields","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"}]}],"displayOptions":{"show":{"resource":["case"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Return Count","name":"returnCount","type":"boolean","description":"Whether to return only the count of results","default":false,"displayOptions":{"hide":{"/returnAll":[false]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"isOwner","value":"isOwner"},{"name":"links","value":"links"},{"name":"permissions","value":"permissions"},{"name":"seen","value":"seen"},{"name":"shareCount","value":"shareCount"},{"name":"shares","value":"shares"}],"default":[],"displayOptions":{"show":{"/resource":["observable"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"actionRequiredMap","value":"actionRequiredMap"},{"name":"case","value":"case"},{"name":"caseId","value":"caseId"},{"name":"caseTemplate","value":"caseTemplate"},{"name":"caseTemplateId","value":"caseTemplateId"},{"name":"shareCount","value":"shareCount"}],"default":[],"displayOptions":{"show":{"/resource":["task"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"caseNumber","value":"caseNumber"},{"name":"importDate","value":"importDate"},{"name":"procedureCount","value":"procedureCount"},{"name":"status","value":"status"}],"default":[],"displayOptions":{"show":{"/resource":["alert"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"alertCount","value":"alertCount"},{"name":"alerts","value":"alerts"},{"name":"attachmentCount","value":"attachmentCount"},{"name":"contributors","value":"contributors"},{"name":"handlingDuration","value":"computed.handlingDuration"},{"name":"handlingDurationInDays","value":"computed.handlingDurationInDays"},{"name":"handlingDurationInHours","value":"computed.handlingDurationInHours"},{"name":"handlingDurationInMinutes","value":"computed.handlingDurationInMinutes"},{"name":"handlingDurationInSeconds","value":"computed.handlingDurationInSeconds"},{"name":"isOwner","value":"isOwner"},{"name":"observableStats","value":"observableStats"},{"name":"permissions","value":"permissions"},{"name":"procedureCount","value":"procedureCount"},{"name":"shareCount","value":"shareCount"},{"name":"similarAlerts","value":"similarAlerts"},{"name":"status","value":"status"},{"name":"taskStats","value":"taskStats"}],"default":[],"displayOptions":{"show":{"/resource":["case"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"links","value":"links"}],"default":[],"displayOptions":{"show":{"/resource":["comment"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionCount","value":"actionCount"},{"name":"case","value":"case"},{"name":"task","value":"task"},{"name":"taskId","value":"taskId"}],"default":[],"displayOptions":{"show":{"/resource":["log"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"string","description":"Additional data to include in the response","default":"","requiresDataPath":"multiple","displayOptions":{"show":{"/resource":["query"]},"hide":{"returnCount":[true]}}}],"displayOptions":{"show":{"resource":["case"],"operation":["search"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["case"],"operation":["getTimeline"]}}},{"displayName":"Fields","name":"caseUpdateFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getCaseUpdateFields","mode":"update","valuesLabel":"Fields","addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"resource":["case"],"operation":["update"]}}},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","required":true,"default":"add","options":[{"name":"Create","value":"add","action":"Create a comment in a case or alert"},{"name":"Delete","value":"deleteComment","action":"Delete a comment"},{"name":"Search","value":"search","action":"Search comments"},{"name":"Update","value":"update","action":"Update a comment"}],"displayOptions":{"show":{"resource":["comment"]}}},{"displayName":"Add to","name":"addTo","type":"options","options":[{"name":"Alert","value":"alert"},{"name":"Case","value":"case"}],"default":"alert","displayOptions":{"show":{"resource":["comment"],"operation":["add"]}}},{"displayName":"Case","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"addTo":["case"],"resource":["comment"],"operation":["add"]}}},{"displayName":"Alert","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"addTo":["alert"],"resource":["comment"],"operation":["add"]}}},{"displayName":"Message","name":"message","type":"string","default":"","required":true,"typeOptions":{"rows":2},"displayOptions":{"show":{"resource":["comment"],"operation":["add"]}}},{"displayName":"Comment","name":"commentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a comment...","typeOptions":{"searchListMethod":"commentSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid comment ID"}}]}],"displayOptions":{"show":{"resource":["comment"],"operation":["deleteComment"]}}},{"displayName":"Search in","name":"searchIn","type":"options","default":"all","description":"Whether to search for comments in all alerts and cases or in a specific case or alert","options":[{"name":"Alerts and Cases","value":"all"},{"name":"Alert","value":"alert"},{"name":"Case","value":"case"}],"displayOptions":{"show":{"resource":["comment"],"operation":["search"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"searchIn":["case"],"resource":["comment"],"operation":["search"]}}},{"displayName":"Alert","name":"alertId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"searchIn":["alert"],"resource":["comment"],"operation":["search"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["comment"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"default":50,"description":"Max number of results to return","displayOptions":{"show":{"returnAll":[false],"resource":["comment"],"operation":["search"]}}},{"displayName":"Filters","name":"filters","type":"fixedCollection","placeholder":"Add Filter","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Between","value":"_between","description":"Field is between two values ('From' is inclusive, 'To' is exclusive)"},{"name":"Contains","value":"_like","description":"Field contains the substring from value"},{"name":"Ends With","value":"_endsWith","description":"Field ends with value"},{"name":"Equal","value":"_eq","description":"Field is equal to value"},{"name":"Greater Than","value":"_gt","description":"Field is greater than value"},{"name":"Greater Than Or Equal","value":"_gte","description":"Field is greater than or equal to value"},{"name":"In","value":"_in","description":"Field is one of the values"},{"name":"Less Than","value":"_lt","description":"Field is less than value"},{"name":"Less Than Or Equal","value":"_lte","description":"Field is less than or equal to value"},{"name":"Match Word","value":"_match","description":"Field contains the value as a word"},{"name":"Not Equal","value":"_ne","description":"Field is not equal to value"},{"name":"Starts With","value":"_startsWith","description":"Field starts with value"}],"default":"_eq"},{"displayName":"Value","name":"value","type":"string","default":"","displayOptions":{"hide":{"operator":["_between","_in"]}}},{"displayName":"Values","name":"values","type":"string","default":"","description":"Comma-separated list of values","placeholder":"e.g. value1,value2","displayOptions":{"show":{"operator":["_in"]}}},{"displayName":"From","name":"from","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}},{"displayName":"To","name":"to","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}}]}],"displayOptions":{"show":{"resource":["comment"],"operation":["search"]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","placeholder":"Add Sort Rule","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Fields","name":"fields","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"}]}],"displayOptions":{"show":{"resource":["comment"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Return Count","name":"returnCount","type":"boolean","description":"Whether to return only the count of results","default":false,"displayOptions":{"hide":{"/returnAll":[false]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"isOwner","value":"isOwner"},{"name":"links","value":"links"},{"name":"permissions","value":"permissions"},{"name":"seen","value":"seen"},{"name":"shareCount","value":"shareCount"},{"name":"shares","value":"shares"}],"default":[],"displayOptions":{"show":{"/resource":["observable"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"actionRequiredMap","value":"actionRequiredMap"},{"name":"case","value":"case"},{"name":"caseId","value":"caseId"},{"name":"caseTemplate","value":"caseTemplate"},{"name":"caseTemplateId","value":"caseTemplateId"},{"name":"shareCount","value":"shareCount"}],"default":[],"displayOptions":{"show":{"/resource":["task"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"caseNumber","value":"caseNumber"},{"name":"importDate","value":"importDate"},{"name":"procedureCount","value":"procedureCount"},{"name":"status","value":"status"}],"default":[],"displayOptions":{"show":{"/resource":["alert"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"alertCount","value":"alertCount"},{"name":"alerts","value":"alerts"},{"name":"attachmentCount","value":"attachmentCount"},{"name":"contributors","value":"contributors"},{"name":"handlingDuration","value":"computed.handlingDuration"},{"name":"handlingDurationInDays","value":"computed.handlingDurationInDays"},{"name":"handlingDurationInHours","value":"computed.handlingDurationInHours"},{"name":"handlingDurationInMinutes","value":"computed.handlingDurationInMinutes"},{"name":"handlingDurationInSeconds","value":"computed.handlingDurationInSeconds"},{"name":"isOwner","value":"isOwner"},{"name":"observableStats","value":"observableStats"},{"name":"permissions","value":"permissions"},{"name":"procedureCount","value":"procedureCount"},{"name":"shareCount","value":"shareCount"},{"name":"similarAlerts","value":"similarAlerts"},{"name":"status","value":"status"},{"name":"taskStats","value":"taskStats"}],"default":[],"displayOptions":{"show":{"/resource":["case"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"links","value":"links"}],"default":[],"displayOptions":{"show":{"/resource":["comment"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionCount","value":"actionCount"},{"name":"case","value":"case"},{"name":"task","value":"task"},{"name":"taskId","value":"taskId"}],"default":[],"displayOptions":{"show":{"/resource":["log"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"string","description":"Additional data to include in the response","default":"","requiresDataPath":"multiple","displayOptions":{"show":{"/resource":["query"]},"hide":{"returnCount":[true]}}}],"displayOptions":{"show":{"resource":["comment"],"operation":["search"]}}},{"displayName":"Comment","name":"commentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a comment...","typeOptions":{"searchListMethod":"commentSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid comment ID"}}]}],"displayOptions":{"show":{"resource":["comment"],"operation":["update"]}}},{"displayName":"Message","name":"message","type":"string","default":"","required":true,"typeOptions":{"rows":2},"displayOptions":{"show":{"resource":["comment"],"operation":["update"]}}},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","required":true,"default":"create","options":[{"name":"Add Attachment","value":"addAttachment","action":"Add attachment to a task log"},{"name":"Create","value":"create","action":"Create a task log"},{"name":"Delete","value":"deleteLog","action":"Delete task log"},{"name":"Delete Attachment","value":"deleteAttachment","action":"Delete attachment from a task log"},{"name":"Execute Responder","value":"executeResponder","action":"Execute responder on a task log"},{"name":"Get","value":"get","action":"Get a task log"},{"name":"Search","value":"search","action":"Search task logs"}],"displayOptions":{"show":{"resource":["log"]}}},{"displayName":"Task Log","name":"logId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task log...","typeOptions":{"searchListMethod":"logSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid task Log ID"}}]}],"displayOptions":{"show":{"resource":["log"],"operation":["addAttachment"]}}},{"displayName":"Attachments","name":"attachmentsUi","placeholder":"Add Attachment","type":"fixedCollection","typeOptions":{"multipleValues":true},"options":[{"name":"values","displayName":"Values","values":[{"displayName":"Attachment Field Name","name":"field","type":"string","default":"data","description":"Add the field name from the input node","hint":"The name of the field with the attachment in the node input"}]}],"default":{},"description":"Array of supported attachments to add to the message","displayOptions":{"show":{"resource":["log"],"operation":["addAttachment"]}}},{"displayName":"Task","name":"taskId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task...","typeOptions":{"searchListMethod":"taskSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Task ID"}}]}],"displayOptions":{"show":{"resource":["log"],"operation":["create"]}}},{"displayName":"Fields","name":"logFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getLogFields","mode":"add","valuesLabel":"Fields"}},"displayOptions":{"show":{"resource":["log"],"operation":["create"]}}},{"displayName":"Attachments","name":"attachmentsUi","placeholder":"Add Attachment","type":"fixedCollection","typeOptions":{"multipleValues":true},"options":[{"name":"values","displayName":"Values","values":[{"displayName":"Attachment Field Name","name":"field","type":"string","default":"data","description":"Add the field name from the input node","hint":"The name of the field with the attachment in the node input"}]}],"default":{},"description":"Array of supported attachments to add to the message","displayOptions":{"show":{"resource":["log"],"operation":["create"]}}},{"displayName":"Task Log","name":"logId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task log...","typeOptions":{"searchListMethod":"logSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid task Log ID"}}]}],"displayOptions":{"show":{"resource":["log"],"operation":["deleteAttachment"]}}},{"displayName":"Attachment Name or ID","name":"attachmentId","type":"options","default":"","required":true,"description":"ID of the attachment. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"loadLogAttachments","loadOptionsDependsOn":["logId.value"]},"displayOptions":{"show":{"resource":["log"],"operation":["deleteAttachment"]}}},{"displayName":"Task Log","name":"logId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task log...","typeOptions":{"searchListMethod":"logSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid task Log ID"}}]}],"displayOptions":{"show":{"resource":["log"],"operation":["deleteLog"]}}},{"displayName":"Task Log","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task log...","typeOptions":{"searchListMethod":"logSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid task Log ID"}}]}],"displayOptions":{"show":{"resource":["log"],"operation":["executeResponder"]}}},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id","id.value"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"hide":{"id":[""]},"show":{"resource":["log"],"operation":["executeResponder"]}}},{"displayName":"Task Log","name":"logId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task log...","typeOptions":{"searchListMethod":"logSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid task Log ID"}}]}],"displayOptions":{"show":{"resource":["log"],"operation":["get"]}}},{"displayName":"Search in All Tasks","name":"allTasks","type":"boolean","default":true,"description":"Whether to search in all tasks or only in selected task","displayOptions":{"show":{"resource":["log"],"operation":["search"]}}},{"displayName":"Task","name":"taskId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task...","typeOptions":{"searchListMethod":"taskSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Task ID"}}]}],"displayOptions":{"show":{"allTasks":[false],"resource":["log"],"operation":["search"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["log"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"default":50,"description":"Max number of results to return","displayOptions":{"show":{"returnAll":[false],"resource":["log"],"operation":["search"]}}},{"displayName":"Filters","name":"filters","type":"fixedCollection","placeholder":"Add Filter","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Between","value":"_between","description":"Field is between two values ('From' is inclusive, 'To' is exclusive)"},{"name":"Contains","value":"_like","description":"Field contains the substring from value"},{"name":"Ends With","value":"_endsWith","description":"Field ends with value"},{"name":"Equal","value":"_eq","description":"Field is equal to value"},{"name":"Greater Than","value":"_gt","description":"Field is greater than value"},{"name":"Greater Than Or Equal","value":"_gte","description":"Field is greater than or equal to value"},{"name":"In","value":"_in","description":"Field is one of the values"},{"name":"Less Than","value":"_lt","description":"Field is less than value"},{"name":"Less Than Or Equal","value":"_lte","description":"Field is less than or equal to value"},{"name":"Match Word","value":"_match","description":"Field contains the value as a word"},{"name":"Not Equal","value":"_ne","description":"Field is not equal to value"},{"name":"Starts With","value":"_startsWith","description":"Field starts with value"}],"default":"_eq"},{"displayName":"Value","name":"value","type":"string","default":"","displayOptions":{"hide":{"operator":["_between","_in"]}}},{"displayName":"Values","name":"values","type":"string","default":"","description":"Comma-separated list of values","placeholder":"e.g. value1,value2","displayOptions":{"show":{"operator":["_in"]}}},{"displayName":"From","name":"from","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}},{"displayName":"To","name":"to","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}}]}],"displayOptions":{"show":{"resource":["log"],"operation":["search"]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","placeholder":"Add Sort Rule","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Fields","name":"fields","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"}]}],"displayOptions":{"show":{"resource":["log"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Return Count","name":"returnCount","type":"boolean","description":"Whether to return only the count of results","default":false,"displayOptions":{"hide":{"/returnAll":[false]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"isOwner","value":"isOwner"},{"name":"links","value":"links"},{"name":"permissions","value":"permissions"},{"name":"seen","value":"seen"},{"name":"shareCount","value":"shareCount"},{"name":"shares","value":"shares"}],"default":[],"displayOptions":{"show":{"/resource":["observable"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"actionRequiredMap","value":"actionRequiredMap"},{"name":"case","value":"case"},{"name":"caseId","value":"caseId"},{"name":"caseTemplate","value":"caseTemplate"},{"name":"caseTemplateId","value":"caseTemplateId"},{"name":"shareCount","value":"shareCount"}],"default":[],"displayOptions":{"show":{"/resource":["task"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"caseNumber","value":"caseNumber"},{"name":"importDate","value":"importDate"},{"name":"procedureCount","value":"procedureCount"},{"name":"status","value":"status"}],"default":[],"displayOptions":{"show":{"/resource":["alert"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"alertCount","value":"alertCount"},{"name":"alerts","value":"alerts"},{"name":"attachmentCount","value":"attachmentCount"},{"name":"contributors","value":"contributors"},{"name":"handlingDuration","value":"computed.handlingDuration"},{"name":"handlingDurationInDays","value":"computed.handlingDurationInDays"},{"name":"handlingDurationInHours","value":"computed.handlingDurationInHours"},{"name":"handlingDurationInMinutes","value":"computed.handlingDurationInMinutes"},{"name":"handlingDurationInSeconds","value":"computed.handlingDurationInSeconds"},{"name":"isOwner","value":"isOwner"},{"name":"observableStats","value":"observableStats"},{"name":"permissions","value":"permissions"},{"name":"procedureCount","value":"procedureCount"},{"name":"shareCount","value":"shareCount"},{"name":"similarAlerts","value":"similarAlerts"},{"name":"status","value":"status"},{"name":"taskStats","value":"taskStats"}],"default":[],"displayOptions":{"show":{"/resource":["case"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"links","value":"links"}],"default":[],"displayOptions":{"show":{"/resource":["comment"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionCount","value":"actionCount"},{"name":"case","value":"case"},{"name":"task","value":"task"},{"name":"taskId","value":"taskId"}],"default":[],"displayOptions":{"show":{"/resource":["log"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"string","description":"Additional data to include in the response","default":"","requiresDataPath":"multiple","displayOptions":{"show":{"/resource":["query"]},"hide":{"returnCount":[true]}}}],"displayOptions":{"show":{"resource":["log"],"operation":["search"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"required":true,"default":"create","options":[{"name":"Create","value":"create","action":"Create an observable"},{"name":"Delete","value":"deleteObservable","action":"Delete an observable"},{"name":"Execute Analyzer","value":"executeAnalyzer","action":"Execute analyzer on an observable"},{"name":"Execute Responder","value":"executeResponder","action":"Execute responder on an observable"},{"name":"Get","value":"get","action":"Get an observable"},{"name":"Search","value":"search","action":"Search observables"},{"name":"Update","value":"update","action":"Update an observable"}],"displayOptions":{"show":{"resource":["observable"]}}},{"displayName":"Create in","name":"createIn","type":"options","options":[{"name":"Case","value":"case"},{"name":"Alert","value":"alert"}],"default":"case","displayOptions":{"show":{"resource":["observable"],"operation":["create"]}}},{"displayName":"Case","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"createIn":["case"],"resource":["observable"],"operation":["create"]}}},{"displayName":"Alert","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"createIn":["alert"],"resource":["observable"],"operation":["create"]}}},{"displayName":"Data Type","name":"dataType","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"file","typeOptions":{"loadOptionsMethod":"loadObservableTypes"},"displayOptions":{"show":{"resource":["observable"],"operation":["create"]}}},{"displayName":"Data","name":"data","type":"string","default":"","required":true,"displayOptions":{"hide":{"dataType":["file"]},"show":{"resource":["observable"],"operation":["create"]}}},{"displayName":"Attachments","name":"attachmentsUi","placeholder":"Add Attachment","type":"fixedCollection","typeOptions":{"multipleValues":true},"options":[{"name":"values","displayName":"Values","values":[{"displayName":"Attachment Field Name","name":"field","type":"string","default":"data","description":"Add the field name from the input node","hint":"The name of the field with the attachment in the node input"}]}],"default":{},"description":"Array of supported attachments to add to the message","required":true,"displayOptions":{"show":{"dataType":["file"],"resource":["observable"],"operation":["create"]}}},{"displayName":"Fields","name":"observableFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getObservableFields","mode":"add","valuesLabel":"Fields"}},"displayOptions":{"show":{"resource":["observable"],"operation":["create"]}}},{"displayName":"Observable","name":"observableId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select an observable...","typeOptions":{"searchListMethod":"observableSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Log ID"}}]}],"displayOptions":{"show":{"resource":["observable"],"operation":["deleteObservable"]}}},{"displayName":"Observable","name":"observableId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select an observable...","typeOptions":{"searchListMethod":"observableSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Log ID"}}]}],"displayOptions":{"show":{"resource":["observable"],"operation":["executeAnalyzer"]}}},{"displayName":"Data Type","name":"dataType","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableTypes"},"description":"Type of the observable. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","displayOptions":{"show":{"resource":["observable"],"operation":["executeAnalyzer"]}}},{"displayName":"Analyzer Names or IDs","name":"analyzers","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":[],"typeOptions":{"loadOptionsDependsOn":["observableId.value","dataType"],"loadOptionsMethod":"loadAnalyzers"},"displayOptions":{"hide":{"id":[""]},"show":{"resource":["observable"],"operation":["executeAnalyzer"]}}},{"displayName":"Observable","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select an observable...","typeOptions":{"searchListMethod":"observableSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Log ID"}}]}],"displayOptions":{"show":{"resource":["observable"],"operation":["executeResponder"]}}},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id","id.value"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"hide":{"id":[""]},"show":{"resource":["observable"],"operation":["executeResponder"]}}},{"displayName":"Observable","name":"observableId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select an observable...","typeOptions":{"searchListMethod":"observableSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Log ID"}}]}],"displayOptions":{"show":{"resource":["observable"],"operation":["get"]}}},{"displayName":"Search in","name":"searchIn","type":"options","default":"all","description":"Whether to search for observables in all alerts and cases or in a specific case or alert","options":[{"name":"Alerts and Cases","value":"all"},{"name":"Alert","value":"alert"},{"name":"Case","value":"case"}],"displayOptions":{"show":{"resource":["observable"],"operation":["search"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"searchIn":["case"],"resource":["observable"],"operation":["search"]}}},{"displayName":"Alert","name":"alertId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a alert...","typeOptions":{"searchListMethod":"alertSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/alerts\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Alert URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Alert ID"}}]}],"displayOptions":{"show":{"searchIn":["alert"],"resource":["observable"],"operation":["search"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["observable"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"default":50,"description":"Max number of results to return","displayOptions":{"show":{"returnAll":[false],"resource":["observable"],"operation":["search"]}}},{"displayName":"Filters","name":"filters","type":"fixedCollection","placeholder":"Add Filter","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Between","value":"_between","description":"Field is between two values ('From' is inclusive, 'To' is exclusive)"},{"name":"Contains","value":"_like","description":"Field contains the substring from value"},{"name":"Ends With","value":"_endsWith","description":"Field ends with value"},{"name":"Equal","value":"_eq","description":"Field is equal to value"},{"name":"Greater Than","value":"_gt","description":"Field is greater than value"},{"name":"Greater Than Or Equal","value":"_gte","description":"Field is greater than or equal to value"},{"name":"In","value":"_in","description":"Field is one of the values"},{"name":"Less Than","value":"_lt","description":"Field is less than value"},{"name":"Less Than Or Equal","value":"_lte","description":"Field is less than or equal to value"},{"name":"Match Word","value":"_match","description":"Field contains the value as a word"},{"name":"Not Equal","value":"_ne","description":"Field is not equal to value"},{"name":"Starts With","value":"_startsWith","description":"Field starts with value"}],"default":"_eq"},{"displayName":"Value","name":"value","type":"string","default":"","displayOptions":{"hide":{"operator":["_between","_in"]}}},{"displayName":"Values","name":"values","type":"string","default":"","description":"Comma-separated list of values","placeholder":"e.g. value1,value2","displayOptions":{"show":{"operator":["_in"]}}},{"displayName":"From","name":"from","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}},{"displayName":"To","name":"to","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}}]}],"displayOptions":{"show":{"resource":["observable"],"operation":["search"]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","placeholder":"Add Sort Rule","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Fields","name":"fields","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"}]}],"displayOptions":{"show":{"resource":["observable"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Return Count","name":"returnCount","type":"boolean","description":"Whether to return only the count of results","default":false,"displayOptions":{"hide":{"/returnAll":[false]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"isOwner","value":"isOwner"},{"name":"links","value":"links"},{"name":"permissions","value":"permissions"},{"name":"seen","value":"seen"},{"name":"shareCount","value":"shareCount"},{"name":"shares","value":"shares"}],"default":[],"displayOptions":{"show":{"/resource":["observable"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"actionRequiredMap","value":"actionRequiredMap"},{"name":"case","value":"case"},{"name":"caseId","value":"caseId"},{"name":"caseTemplate","value":"caseTemplate"},{"name":"caseTemplateId","value":"caseTemplateId"},{"name":"shareCount","value":"shareCount"}],"default":[],"displayOptions":{"show":{"/resource":["task"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"caseNumber","value":"caseNumber"},{"name":"importDate","value":"importDate"},{"name":"procedureCount","value":"procedureCount"},{"name":"status","value":"status"}],"default":[],"displayOptions":{"show":{"/resource":["alert"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"alertCount","value":"alertCount"},{"name":"alerts","value":"alerts"},{"name":"attachmentCount","value":"attachmentCount"},{"name":"contributors","value":"contributors"},{"name":"handlingDuration","value":"computed.handlingDuration"},{"name":"handlingDurationInDays","value":"computed.handlingDurationInDays"},{"name":"handlingDurationInHours","value":"computed.handlingDurationInHours"},{"name":"handlingDurationInMinutes","value":"computed.handlingDurationInMinutes"},{"name":"handlingDurationInSeconds","value":"computed.handlingDurationInSeconds"},{"name":"isOwner","value":"isOwner"},{"name":"observableStats","value":"observableStats"},{"name":"permissions","value":"permissions"},{"name":"procedureCount","value":"procedureCount"},{"name":"shareCount","value":"shareCount"},{"name":"similarAlerts","value":"similarAlerts"},{"name":"status","value":"status"},{"name":"taskStats","value":"taskStats"}],"default":[],"displayOptions":{"show":{"/resource":["case"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"links","value":"links"}],"default":[],"displayOptions":{"show":{"/resource":["comment"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionCount","value":"actionCount"},{"name":"case","value":"case"},{"name":"task","value":"task"},{"name":"taskId","value":"taskId"}],"default":[],"displayOptions":{"show":{"/resource":["log"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"string","description":"Additional data to include in the response","default":"","requiresDataPath":"multiple","displayOptions":{"show":{"/resource":["query"]},"hide":{"returnCount":[true]}}}],"displayOptions":{"show":{"resource":["observable"],"operation":["search"]}}},{"displayName":"Fields","name":"observableUpdateFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getObservableUpdateFields","mode":"update","valuesLabel":"Fields","addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"resource":["observable"],"operation":["update"]}}},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","required":true,"default":"create","options":[{"name":"Create","value":"create","action":"Create a page"},{"name":"Delete","value":"deletePage","action":"Delete a page"},{"name":"Search","value":"search","action":"Search pages"},{"name":"Update","value":"update","action":"Update a page"}],"displayOptions":{"show":{"resource":["page"]}}},{"displayName":"Create in","name":"location","type":"options","options":[{"name":"Case","value":"case"},{"name":"Knowledge Base","value":"knowledgeBase"}],"default":"case","displayOptions":{"show":{"resource":["page"],"operation":["create"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"location":["case"],"resource":["page"],"operation":["create"]}}},{"displayName":"Title","name":"title","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["page"],"operation":["create"]}}},{"displayName":"Category","name":"category","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["page"],"operation":["create"]}}},{"displayName":"Content","name":"content","type":"string","default":"","required":true,"typeOptions":{"rows":2},"displayOptions":{"show":{"resource":["page"],"operation":["create"]}}},{"displayName":"Delete From ...","name":"location","type":"options","options":[{"name":"Case","value":"case"},{"name":"Knowledge Base","value":"knowledgeBase"}],"default":"knowledgeBase","displayOptions":{"show":{"resource":["page"],"operation":["deletePage"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"location":["case"],"resource":["page"],"operation":["deletePage"]}}},{"displayName":"Page","name":"pageId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"typeOptions":{"loadOptionsDependsOn":["caseId"]},"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a page...","typeOptions":{"searchListMethod":"pageSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Page ID"}}]}],"displayOptions":{"show":{"resource":["page"],"operation":["deletePage"]}}},{"displayName":"Search in Knowledge Base","name":"searchInKnowledgeBase","type":"boolean","default":true,"description":"Whether to search in knowledge base or only in the selected case","displayOptions":{"show":{"resource":["page"],"operation":["search"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"searchInKnowledgeBase":[false],"resource":["page"],"operation":["search"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["page"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"default":50,"description":"Max number of results to return","displayOptions":{"show":{"returnAll":[false],"resource":["page"],"operation":["search"]}}},{"displayName":"Filters","name":"filters","type":"fixedCollection","placeholder":"Add Filter","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Between","value":"_between","description":"Field is between two values ('From' is inclusive, 'To' is exclusive)"},{"name":"Contains","value":"_like","description":"Field contains the substring from value"},{"name":"Ends With","value":"_endsWith","description":"Field ends with value"},{"name":"Equal","value":"_eq","description":"Field is equal to value"},{"name":"Greater Than","value":"_gt","description":"Field is greater than value"},{"name":"Greater Than Or Equal","value":"_gte","description":"Field is greater than or equal to value"},{"name":"In","value":"_in","description":"Field is one of the values"},{"name":"Less Than","value":"_lt","description":"Field is less than value"},{"name":"Less Than Or Equal","value":"_lte","description":"Field is less than or equal to value"},{"name":"Match Word","value":"_match","description":"Field contains the value as a word"},{"name":"Not Equal","value":"_ne","description":"Field is not equal to value"},{"name":"Starts With","value":"_startsWith","description":"Field starts with value"}],"default":"_eq"},{"displayName":"Value","name":"value","type":"string","default":"","displayOptions":{"hide":{"operator":["_between","_in"]}}},{"displayName":"Values","name":"values","type":"string","default":"","description":"Comma-separated list of values","placeholder":"e.g. value1,value2","displayOptions":{"show":{"operator":["_in"]}}},{"displayName":"From","name":"from","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}},{"displayName":"To","name":"to","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}}]}],"displayOptions":{"show":{"resource":["page"],"operation":["search"]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","placeholder":"Add Sort Rule","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Fields","name":"fields","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"}]}],"displayOptions":{"show":{"resource":["page"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Return Count","name":"returnCount","type":"boolean","description":"Whether to return only the count of results","default":false,"displayOptions":{"hide":{"/returnAll":[false]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"isOwner","value":"isOwner"},{"name":"links","value":"links"},{"name":"permissions","value":"permissions"},{"name":"seen","value":"seen"},{"name":"shareCount","value":"shareCount"},{"name":"shares","value":"shares"}],"default":[],"displayOptions":{"show":{"/resource":["observable"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"actionRequiredMap","value":"actionRequiredMap"},{"name":"case","value":"case"},{"name":"caseId","value":"caseId"},{"name":"caseTemplate","value":"caseTemplate"},{"name":"caseTemplateId","value":"caseTemplateId"},{"name":"shareCount","value":"shareCount"}],"default":[],"displayOptions":{"show":{"/resource":["task"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"caseNumber","value":"caseNumber"},{"name":"importDate","value":"importDate"},{"name":"procedureCount","value":"procedureCount"},{"name":"status","value":"status"}],"default":[],"displayOptions":{"show":{"/resource":["alert"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"alertCount","value":"alertCount"},{"name":"alerts","value":"alerts"},{"name":"attachmentCount","value":"attachmentCount"},{"name":"contributors","value":"contributors"},{"name":"handlingDuration","value":"computed.handlingDuration"},{"name":"handlingDurationInDays","value":"computed.handlingDurationInDays"},{"name":"handlingDurationInHours","value":"computed.handlingDurationInHours"},{"name":"handlingDurationInMinutes","value":"computed.handlingDurationInMinutes"},{"name":"handlingDurationInSeconds","value":"computed.handlingDurationInSeconds"},{"name":"isOwner","value":"isOwner"},{"name":"observableStats","value":"observableStats"},{"name":"permissions","value":"permissions"},{"name":"procedureCount","value":"procedureCount"},{"name":"shareCount","value":"shareCount"},{"name":"similarAlerts","value":"similarAlerts"},{"name":"status","value":"status"},{"name":"taskStats","value":"taskStats"}],"default":[],"displayOptions":{"show":{"/resource":["case"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"links","value":"links"}],"default":[],"displayOptions":{"show":{"/resource":["comment"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionCount","value":"actionCount"},{"name":"case","value":"case"},{"name":"task","value":"task"},{"name":"taskId","value":"taskId"}],"default":[],"displayOptions":{"show":{"/resource":["log"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"string","description":"Additional data to include in the response","default":"","requiresDataPath":"multiple","displayOptions":{"show":{"/resource":["query"]},"hide":{"returnCount":[true]}}}],"displayOptions":{"show":{"returnAll":[true],"resource":["page"],"operation":["search"]}}},{"displayName":"Update in","name":"location","type":"options","options":[{"name":"Case","value":"case"},{"name":"Knowledge Base","value":"knowledgeBase"}],"default":"case","displayOptions":{"show":{"resource":["page"],"operation":["update"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"location":["case"],"resource":["page"],"operation":["update"]}}},{"displayName":"Page","name":"pageId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"typeOptions":{"loadOptionsDependsOn":["caseId"]},"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a page...","typeOptions":{"searchListMethod":"pageSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Page ID"}}]}],"displayOptions":{"show":{"resource":["page"],"operation":["update"]}}},{"displayName":"Content","name":"content","type":"string","default":"","typeOptions":{"rows":2},"displayOptions":{"show":{"resource":["page"],"operation":["update"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Category","name":"category","type":"string","default":""},{"displayName":"Title","name":"title","type":"string","default":""},{"displayName":"Order","name":"order","type":"number","default":0,"typeOptions":{"minValue":0}}],"displayOptions":{"show":{"resource":["page"],"operation":["update"]}}},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","required":true,"default":"executeQuery","options":[{"name":"Execute Query","value":"executeQuery","action":"Execute a query"}],"displayOptions":{"show":{"resource":["query"]}}},{"displayName":"Query","name":"queryJson","type":"string","required":true,"default":"=[\n {\n \"_name\": \"listOrganisation\"\n }\n]","description":"Search for objects with filtering and sorting capabilities","hint":"The query should be an array of operations with the required selection and optional filtering, sorting, and pagination. See <a href=\"https://docs.strangebee.com/thehive/api-docs/#operation/Query%20API\" target=\"_blank\">Query API</a> for more information.","typeOptions":{"editor":"json","rows":10},"displayOptions":{"show":{"resource":["query"],"operation":["executeQuery"]}}},{"displayName":"Operation","name":"operation","default":"create","type":"options","noDataExpression":true,"required":true,"options":[{"name":"Create","value":"create","action":"Create a task"},{"name":"Delete","value":"deleteTask","action":"Delete an task"},{"name":"Execute Responder","value":"executeResponder","action":"Execute responder on a task"},{"name":"Get","value":"get","action":"Get a task"},{"name":"Search","value":"search","action":"Search tasks"},{"name":"Update","value":"update","action":"Update a task"}],"displayOptions":{"show":{"resource":["task"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"resource":["task"],"operation":["create"]}}},{"displayName":"Fields","name":"taskFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getTaskFields","mode":"add","valuesLabel":"Fields"}},"displayOptions":{"show":{"resource":["task"],"operation":["create"]}}},{"displayName":"Task","name":"taskId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task...","typeOptions":{"searchListMethod":"taskSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Task ID"}}]}],"displayOptions":{"show":{"resource":["task"],"operation":["deleteTask"]}}},{"displayName":"Task","name":"id","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task...","typeOptions":{"searchListMethod":"taskSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Task ID"}}]}],"displayOptions":{"show":{"resource":["task"],"operation":["executeResponder"]}}},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id","id.value"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"hide":{"id":[""]},"show":{"resource":["task"],"operation":["executeResponder"]}}},{"displayName":"Task","name":"taskId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a task...","typeOptions":{"searchListMethod":"taskSearch","searchable":true}},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Task ID"}}]}],"displayOptions":{"show":{"resource":["task"],"operation":["get"]}}},{"displayName":"Search in All Cases","name":"allCases","type":"boolean","default":true,"description":"Whether to search in all cases or only in a selected case","displayOptions":{"show":{"resource":["task"],"operation":["search"]}}},{"displayName":"Case","name":"caseId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a case...","typeOptions":{"searchListMethod":"caseSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/.+\\/cases\\/(~[0-9]{1,})\\/details","errorMessage":"Not a valid Case URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. ~123456789","validation":[{"type":"regex","properties":{"regex":"(~[0-9]{1,})","errorMessage":"Not a valid Case ID"}}]}],"displayOptions":{"show":{"allCases":[false],"resource":["task"],"operation":["search"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["task"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","typeOptions":{"minValue":1},"default":50,"description":"Max number of results to return","displayOptions":{"show":{"returnAll":[false],"resource":["task"],"operation":["search"]}}},{"displayName":"Filters","name":"filters","type":"fixedCollection","placeholder":"Add Filter","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Between","value":"_between","description":"Field is between two values ('From' is inclusive, 'To' is exclusive)"},{"name":"Contains","value":"_like","description":"Field contains the substring from value"},{"name":"Ends With","value":"_endsWith","description":"Field ends with value"},{"name":"Equal","value":"_eq","description":"Field is equal to value"},{"name":"Greater Than","value":"_gt","description":"Field is greater than value"},{"name":"Greater Than Or Equal","value":"_gte","description":"Field is greater than or equal to value"},{"name":"In","value":"_in","description":"Field is one of the values"},{"name":"Less Than","value":"_lt","description":"Field is less than value"},{"name":"Less Than Or Equal","value":"_lte","description":"Field is less than or equal to value"},{"name":"Match Word","value":"_match","description":"Field contains the value as a word"},{"name":"Not Equal","value":"_ne","description":"Field is not equal to value"},{"name":"Starts With","value":"_startsWith","description":"Field starts with value"}],"default":"_eq"},{"displayName":"Value","name":"value","type":"string","default":"","displayOptions":{"hide":{"operator":["_between","_in"]}}},{"displayName":"Values","name":"values","type":"string","default":"","description":"Comma-separated list of values","placeholder":"e.g. value1,value2","displayOptions":{"show":{"operator":["_in"]}}},{"displayName":"From","name":"from","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}},{"displayName":"To","name":"to","type":"string","default":"","displayOptions":{"show":{"operator":["_between"]}}}]}],"displayOptions":{"show":{"resource":["task"],"operation":["search"]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","placeholder":"Add Sort Rule","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Fields","name":"fields","values":[{"displayName":"Field","name":"field","type":"string","default":"","requiresDataPath":"single","description":"Dot notation is also supported, e.g. customFields.field1","displayOptions":{"hide":{"/resource":["alert","case","comment","task","observable","log","page"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadAlertFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["alert"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadCaseFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["case"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadTaskFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["task"]}}},{"displayName":"Field","name":"field","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableFields"},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","displayOptions":{"show":{"/resource":["observable"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"},{"name":"Date","value":"date"}],"displayOptions":{"show":{"/resource":["log"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Message","value":"message"}],"displayOptions":{"show":{"/resource":["comment"]}}},{"displayName":"Field","name":"field","type":"options","default":"","options":[{"name":"Category","value":"category"},{"name":"Content","value":"content"},{"name":"Title","value":"title"}],"displayOptions":{"show":{"/resource":["page"]}}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"Ascending","value":"asc"},{"name":"Descending","value":"desc"}],"default":"asc"}]}],"displayOptions":{"show":{"resource":["task"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Return Count","name":"returnCount","type":"boolean","description":"Whether to return only the count of results","default":false,"displayOptions":{"hide":{"/returnAll":[false]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"isOwner","value":"isOwner"},{"name":"links","value":"links"},{"name":"permissions","value":"permissions"},{"name":"seen","value":"seen"},{"name":"shareCount","value":"shareCount"},{"name":"shares","value":"shares"}],"default":[],"displayOptions":{"show":{"/resource":["observable"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"actionRequiredMap","value":"actionRequiredMap"},{"name":"case","value":"case"},{"name":"caseId","value":"caseId"},{"name":"caseTemplate","value":"caseTemplate"},{"name":"caseTemplateId","value":"caseTemplateId"},{"name":"shareCount","value":"shareCount"}],"default":[],"displayOptions":{"show":{"/resource":["task"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"caseNumber","value":"caseNumber"},{"name":"importDate","value":"importDate"},{"name":"procedureCount","value":"procedureCount"},{"name":"status","value":"status"}],"default":[],"displayOptions":{"show":{"/resource":["alert"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionRequired","value":"actionRequired"},{"name":"alertCount","value":"alertCount"},{"name":"alerts","value":"alerts"},{"name":"attachmentCount","value":"attachmentCount"},{"name":"contributors","value":"contributors"},{"name":"handlingDuration","value":"computed.handlingDuration"},{"name":"handlingDurationInDays","value":"computed.handlingDurationInDays"},{"name":"handlingDurationInHours","value":"computed.handlingDurationInHours"},{"name":"handlingDurationInMinutes","value":"computed.handlingDurationInMinutes"},{"name":"handlingDurationInSeconds","value":"computed.handlingDurationInSeconds"},{"name":"isOwner","value":"isOwner"},{"name":"observableStats","value":"observableStats"},{"name":"permissions","value":"permissions"},{"name":"procedureCount","value":"procedureCount"},{"name":"shareCount","value":"shareCount"},{"name":"similarAlerts","value":"similarAlerts"},{"name":"status","value":"status"},{"name":"taskStats","value":"taskStats"}],"default":[],"displayOptions":{"show":{"/resource":["case"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"links","value":"links"}],"default":[],"displayOptions":{"show":{"/resource":["comment"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"multiOptions","description":"Additional data to include in the response","options":[{"name":"actionCount","value":"actionCount"},{"name":"case","value":"case"},{"name":"task","value":"task"},{"name":"taskId","value":"taskId"}],"default":[],"displayOptions":{"show":{"/resource":["log"]},"hide":{"returnCount":[true]}}},{"displayName":"Extra Data","name":"extraData","type":"string","description":"Additional data to include in the response","default":"","requiresDataPath":"multiple","displayOptions":{"show":{"/resource":["query"]},"hide":{"returnCount":[true]}}}],"displayOptions":{"show":{"resource":["task"],"operation":["search"]}}},{"displayName":"Fields","name":"taskUpdateFields","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"resourceMapper":{"resourceMapperMethod":"getTaskUpdateFields","mode":"update","valuesLabel":"Fields","addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"resource":["task"],"operation":["update"]}}}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.thehive/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/theHive"}]},"alias":["Security","Monitoring","Incident","Response","Alert"]},"iconUrl":"icons/n8n-nodes-base/dist/nodes/TheHiveProject/thehiveproject.svg"},
388
+ {"displayName":"TheHive 5 Trigger","name":"n8n-nodes-base.theHiveProjectTrigger","group":["trigger"],"version":1,"description":"Starts the workflow when TheHive events occur","defaults":{"name":"TheHive Trigger"},"inputs":[],"outputs":["main"],"webhooks":[{"name":"default","httpMethod":"POST","responseMode":"onReceived","path":"webhook"}],"properties":[{"displayName":"Events","name":"events","type":"multiOptions","default":[],"required":true,"description":"Events types","options":[{"name":"*","value":"*","description":"Any time any event is triggered (Wildcard Event)"},{"name":"Alert Created","value":"alert_create","description":"Triggered when an alert is created"},{"name":"Alert Deleted","value":"alert_delete","description":"Triggered when an alert is deleted"},{"name":"Alert Updated","value":"alert_update","description":"Triggered when an alert is updated"},{"name":"Case Created","value":"case_create","description":"Triggered when a case is created"},{"name":"Case Deleted","value":"case_delete","description":"Triggered when a case is deleted"},{"name":"Case Updated","value":"case_update","description":"Triggered when a case is updated"},{"name":"Comment Created","value":"comment_create","description":"Triggered when a comment is created"},{"name":"Comment Deleted","value":"comment_delete","description":"Triggered when a comment is deleted"},{"name":"Comment Updated","value":"comment_update","description":"Triggered when a comment is updated"},{"name":"Observable Created","value":"observable_create","description":"Triggered when an observable is created"},{"name":"Observable Deleted","value":"observable_delete","description":"Triggered when an observable is deleted"},{"name":"Observable Updated","value":"observable_update","description":"Triggered when an observable is updated"},{"name":"Page Created","value":"page_create","description":"Triggered when an page is created"},{"name":"Page Deleted","value":"page_delete","description":"Triggered when an page is deleted"},{"name":"Page Updated","value":"page_update","description":"Triggered when an page is updated"},{"name":"Task Created","value":"task_create","description":"Triggered when a task is created"},{"name":"Task Updated","value":"task_update","description":"Triggered when a task is updated"},{"name":"Task Log Created","value":"log_create","description":"Triggered when a task log is created"},{"name":"Task Log Deleted","value":"log_delete","description":"Triggered when a task log is deleted"},{"name":"Task Log Updated","value":"log_update","description":"Triggered when a task log is updated"}]},{"displayName":"Filters","description":"Filter any incoming events based on their fields","name":"filters","type":"fixedCollection","placeholder":"Add Filter","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Field","name":"field","type":"string","placeholder":"e.g. context.severity","default":"","hint":"The field to filter on, supports dot notation"},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Equal","value":"equal","description":"Field is equal to value"},{"name":"Not Equal","value":"notEqual","description":"Field is not equal to value"},{"name":"Includes","value":"includes","description":"Field includes value"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Output Only Data","description":"Whether to output data with additional details and omit headers","name":"outputOnlyData","type":"boolean","default":false}]}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.thehivetrigger/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/TheHiveProject/thehiveproject.svg"},
385
389
  {"displayName":"TheHive","name":"n8n-nodes-base.theHive","group":["transform"],"subtitle":"={{$parameter[\"operation\"]}} : {{$parameter[\"resource\"]}}","version":1,"description":"Consume TheHive API","defaults":{"name":"TheHive"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"theHiveApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"required":true,"options":[{"name":"Alert","value":"alert"},{"name":"Case","value":"case"},{"name":"Log","value":"log"},{"name":"Observable","value":"observable"},{"name":"Task","value":"task"}],"default":"alert"},{"displayName":"Operation Name or ID","name":"operation","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","noDataExpression":true,"required":true,"typeOptions":{"loadOptionsMethod":"loadAlertOptions"},"displayOptions":{"show":{"resource":["alert"]}},"default":"create"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["alert"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll"],"resource":["alert"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Alert ID","name":"id","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["alert"],"operation":["promote","markAsRead","markAsUnread","merge","update","executeResponder","get"]}},"description":"Title of the alert"},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["alert"],"operation":["merge"]}}},{"displayName":"Title","name":"title","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Title of the alert"},{"displayName":"Description","name":"description","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Description of the alert"},{"displayName":"Severity","name":"severity","type":"options","options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"required":true,"default":2,"displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Severity of the alert. Default=Medium."},{"displayName":"Date","name":"date","type":"dateTime","required":true,"default":"","displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Date and time when the alert was raised default=now"},{"displayName":"Tags","name":"tags","type":"string","required":true,"default":"","placeholder":"tag,tag2,tag3...","displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Case Tags"},{"displayName":"TLP","name":"tlp","type":"options","required":true,"default":2,"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Traffict Light Protocol (TLP). Default=Amber."},{"displayName":"Status","name":"status","type":"options","required":true,"options":[{"name":"New","value":"New"},{"name":"Updated","value":"Updated"},{"name":"Ignored","value":"Ignored"},{"name":"Imported","value":"Imported"}],"default":"New","displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Status of the alert"},{"displayName":"Type","name":"type","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Type of the alert"},{"displayName":"Source","name":"source","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Source of the alert"},{"displayName":"SourceRef","name":"sourceRef","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Source reference of the alert"},{"displayName":"Follow","name":"follow","type":"boolean","required":true,"default":true,"displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"description":"Whether the alert becomes active when updated default=true"},{"displayName":"Artifacts","name":"artifactUi","type":"fixedCollection","placeholder":"Add Artifact","default":{},"displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Artifact","name":"artifactValues","values":[{"displayName":"Data Type Name or ID","name":"dataType","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableTypes"},"description":"Type of the observable. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Data","name":"data","type":"string","displayOptions":{"hide":{"dataType":["file"]}},"default":""},{"displayName":"Binary Property","name":"binaryProperty","type":"string","displayOptions":{"show":{"dataType":["file"]}},"default":"data"},{"displayName":"Message","name":"message","type":"string","default":""},{"displayName":"Case Tags","name":"tags","type":"string","default":""}]}],"description":"Artifact attributes"},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"show":{"resource":["alert"],"operation":["executeResponder"]},"hide":{"id":[""]}}},{"displayName":"JSON Parameters","name":"jsonParameters","type":"boolean","default":true,"displayOptions":{"show":{"resource":["alert"],"operation":["create","update"]}}},{"displayName":"Additional Fields","name":"additionalFields","placeholder":"Add Field","type":"collection","default":{},"displayOptions":{"show":{"resource":["alert"],"operation":["create"]}},"options":[{"displayName":"Case Template","name":"caseTemplate","type":"string","default":"","description":"Case template to use when a case is created from this alert"},{"displayName":"Custom Fields","name":"customFieldsUi","type":"fixedCollection","default":{},"displayOptions":{"show":{"/jsonParameters":[false]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Custom Field","options":[{"name":"customFields","displayName":"Custom Field","values":[{"displayName":"Field Name or ID","name":"field","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"loadCustomFields"},"default":"Custom Field"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Custom Field value. Use an expression if the type is not a string."}]}]},{"displayName":"Custom Fields (JSON)","name":"customFieldsJson","type":"string","default":"","displayOptions":{"show":{"/jsonParameters":[true]}},"description":"Custom fields in JSON format. Overrides Custom Fields UI if set."}]},{"displayName":"Additional Fields","name":"additionalFields","placeholder":"Add Field","type":"collection","default":{},"displayOptions":{"show":{"resource":["alert"],"operation":["promote"]}},"options":[{"displayName":"Case Template","name":"caseTemplate","type":"string","default":"","description":"Case template to use when a case is created from this alert"}]},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["alert"],"operation":["update"]}},"options":[{"displayName":"Artifacts","name":"artifactUi","type":"fixedCollection","placeholder":"Add Artifact","default":{},"typeOptions":{"multipleValues":true},"options":[{"displayName":"Artifact","name":"artifactValues","values":[{"displayName":"Data Type Name or ID","name":"dataType","type":"options","default":"","typeOptions":{"loadOptionsMethod":"loadObservableTypes"},"description":"Type of the observable. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Data","name":"data","type":"string","displayOptions":{"hide":{"dataType":["file"]}},"default":""},{"displayName":"Binary Property","name":"binaryProperty","type":"string","displayOptions":{"show":{"dataType":["file"]}},"default":"data"},{"displayName":"Message","name":"message","type":"string","default":""},{"displayName":"Case Tags","name":"tags","type":"string","default":""}]}]},{"displayName":"Custom Fields","name":"customFieldsUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"displayOptions":{"show":{"/jsonParameters":[false]}},"placeholder":"Add Custom Field","options":[{"name":"customFields","displayName":"Custom Field","values":[{"displayName":"Field Name or ID","name":"field","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"loadCustomFields"},"default":"Custom Field"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Custom Field value. Use an expression if the type is not a string."}]}]},{"displayName":"Custom Fields (JSON)","name":"customFieldsJson","type":"string","displayOptions":{"show":{"/jsonParameters":[true]}},"default":"","description":"Custom fields in JSON format. Overrides Custom Fields UI if set."},{"displayName":"Case Template","name":"caseTemplate","type":"string","default":"","description":"Case template to use when a case is created from this alert"},{"displayName":"Description","name":"description","type":"string","default":"","description":"Description of the alert"},{"displayName":"Follow","name":"follow","type":"boolean","default":true,"description":"Whether the alert becomes active when updated default=true"},{"displayName":"Severity","name":"severity","type":"options","options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"default":2,"description":"Severity of the alert. Default=Medium."},{"displayName":"Status","name":"status","type":"options","options":[{"name":"New","value":"New"},{"name":"Updated","value":"Updated"},{"name":"Ignored","value":"Ignored"},{"name":"Imported","value":"Imported"}],"default":"New"},{"displayName":"Case Tags","name":"tags","type":"string","default":"","placeholder":"tag,tag2,tag3..."},{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the alert"},{"displayName":"TLP","name":"tlp","type":"options","default":2,"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"description":"Traffict Light Protocol (TLP). Default=Amber."}]},{"displayName":"Options","name":"options","displayOptions":{"show":{"operation":["getAll"],"resource":["alert"]}},"type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Sort","name":"sort","type":"string","placeholder":"±Attribut, exp +status","default":""}]},{"displayName":"Options","name":"options","displayOptions":{"show":{"operation":["get"],"resource":["alert"]}},"type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Include Similar Cases","name":"includeSimilar","type":"boolean","description":"Whether to include similar cases","default":false}]},{"displayName":"Filters","name":"filters","placeholder":"Add Filter","default":{},"type":"collection","displayOptions":{"show":{"resource":["alert"],"operation":["getAll","count"]}},"options":[{"displayName":"Custom Fields","name":"customFieldsUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Custom Field","options":[{"name":"customFields","displayName":"Custom Field","values":[{"displayName":"Field Name or ID","name":"field","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"loadCustomFields"},"default":"Custom Field"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Custom Field value. Use an expression if the type is not a string."}]}]},{"displayName":"Description","name":"description","type":"string","default":"","description":"Description of the alert"},{"displayName":"Follow","name":"follow","type":"boolean","default":false,"description":"Whether the alert becomes active when updated default=true"},{"displayName":"Severity","name":"severity","type":"options","options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"default":2,"description":"Severity of the alert. Default=Medium."},{"displayName":"Tags","name":"tags","type":"string","default":"","placeholder":"tag,tag2,tag3..."},{"displayName":"Title","name":"title","type":"string","default":""},{"displayName":"TLP","name":"tlp","type":"options","default":2,"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"description":"Traffict Light Protocol (TLP). Default=Amber."}]},{"displayName":"Operation Name or ID","name":"operation","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","noDataExpression":true,"required":true,"default":"getAll","displayOptions":{"show":{"resource":["observable"]}},"typeOptions":{"loadOptionsDependsOn":["resource"],"loadOptionsMethod":"loadObservableOptions"}},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["observable"],"operation":["create","getAll"]}},"description":"ID of the case"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll","search"],"resource":["observable"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll","search"],"resource":["observable"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Observable ID","name":"id","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["observable"],"operation":["update","executeResponder","executeAnalyzer","get"]}},"description":"ID of the observable"},{"displayName":"Data Type Name or ID","name":"dataType","type":"options","required":true,"default":"","typeOptions":{"loadOptionsMethod":"loadObservableTypes"},"displayOptions":{"show":{"resource":["observable"],"operation":["create","executeAnalyzer"]}},"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Data","name":"data","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["observable"],"operation":["create"]},"hide":{"dataType":["file"]}}},{"displayName":"Binary Property","name":"binaryProperty","type":"string","required":true,"default":"data","description":"Binary Property that represent the attachment file","displayOptions":{"show":{"resource":["observable"],"operation":["create"],"dataType":["file"]}}},{"displayName":"Message","name":"message","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["observable"],"operation":["create"]}},"description":"Description of the observable in the context of the case"},{"displayName":"Start Date","name":"startDate","type":"dateTime","required":true,"default":"","displayOptions":{"show":{"resource":["observable"],"operation":["create"]}},"description":"Date and time of the begin of the case default=now"},{"displayName":"TLP","name":"tlp","type":"options","required":true,"default":2,"displayOptions":{"show":{"resource":["observable"],"operation":["create"]}},"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"description":"Traffict Light Protocol (TLP). Default=Amber."},{"displayName":"IOC","name":"ioc","type":"boolean","required":true,"default":false,"displayOptions":{"show":{"resource":["observable"],"operation":["create"]}},"description":"Whether the observable is an IOC (Indicator of compromise)"},{"displayName":"Sighted","name":"sighted","type":"boolean","required":true,"default":false,"displayOptions":{"show":{"resource":["observable"],"operation":["create"]}},"description":"Whether sighted previously"},{"displayName":"Status","name":"status","type":"options","required":true,"default":"","options":[{"name":"Ok","value":"Ok"},{"name":"Deleted","value":"Deleted"}],"displayOptions":{"show":{"resource":["observable"],"operation":["create"]}},"description":"Status of the observable. Default=Ok."},{"displayName":"Analyzer Names or IDs","name":"analyzers","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":[],"typeOptions":{"loadOptionsDependsOn":["id","dataType"],"loadOptionsMethod":"loadAnalyzers"},"displayOptions":{"show":{"resource":["observable"],"operation":["executeAnalyzer"]},"hide":{"id":[""]}}},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"show":{"resource":["observable"],"operation":["executeResponder"]},"hide":{"id":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["observable"],"operation":["create"]}},"options":[{"displayName":"Observable Tags","name":"tags","type":"string","default":"","placeholder":"tag1,tag2"}]},{"displayName":"Update Fields","name":"updateFields","type":"collection","default":{},"displayOptions":{"show":{"resource":["observable"],"operation":["update"]}},"options":[{"displayName":"Message","name":"message","type":"string","default":"","description":"Description of the observable in the context of the case"},{"displayName":"Observable Tags","name":"tags","type":"string","default":"","placeholder":"tag1,tag2"},{"displayName":"TLP","name":"tlp","type":"options","default":2,"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"description":"Traffict Light Protocol (TLP). Default=Amber."},{"displayName":"IOC","name":"ioc","type":"boolean","default":false,"description":"Whether the observable is an IOC (Indicator of compromise)"},{"displayName":"Sighted","name":"sighted","description":"Whether sighted previously","type":"boolean","default":false},{"displayName":"Status","name":"status","type":"options","default":"","options":[{"name":"Ok","value":"Ok"},{"name":"Deleted","value":"Deleted"}],"description":"Status of the observable. Default=Ok."}]},{"displayName":"Options","name":"options","displayOptions":{"show":{"operation":["getAll","search"],"resource":["observable"]}},"type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Sort","name":"sort","type":"string","placeholder":"±Attribut, exp +status","description":"Specify the sorting attribut, + for asc, - for desc","default":""}]},{"displayName":"Filters","name":"filters","type":"collection","default":{},"placeholder":"Add Filter","displayOptions":{"show":{"resource":["observable"],"operation":["search","count"]}},"options":[{"displayName":"Data Type Names or IDs","name":"dataType","type":"multiOptions","default":[],"typeOptions":{"loadOptionsMethod":"loadObservableTypes"},"description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Date Range","type":"fixedCollection","name":"range","default":{},"options":[{"displayName":"Add Date Range Inputs","name":"dateRange","values":[{"displayName":"From Date","name":"fromDate","type":"dateTime","default":""},{"displayName":"To Date","name":"toDate","type":"dateTime","default":""}]}]},{"displayName":"Description","name":"description","type":"string","default":"","placeholder":"exp,freetext"},{"displayName":"IOC","name":"ioc","type":"boolean","default":false,"description":"Whether the observable is an IOC (Indicator of compromise)"},{"displayName":"Keyword","name":"keyword","type":"string","default":"","placeholder":"exp,freetext"},{"displayName":"Message","name":"message","type":"string","default":"","description":"Description of the observable in the context of the case"},{"displayName":"Observable Tags","name":"tags","type":"string","default":"","placeholder":"tag1,tag2"},{"displayName":"Sighted","name":"sighted","type":"boolean","default":false},{"displayName":"Status","name":"Status","type":"options","default":"","options":[{"name":"Ok","value":"Ok"},{"name":"Deleted","value":"Deleted"}],"description":"Status of the observable. Default=Ok."},{"displayName":"TLP","name":"tlp","type":"options","default":2,"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"description":"Traffict Light Protocol (TLP). Default=Amber."},{"displayName":"Value","name":"data","type":"string","default":"","placeholder":"example.com; 8.8.8.8"}]},{"displayName":"Operation","name":"operation","default":"getAll","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","noDataExpression":true,"required":true,"displayOptions":{"show":{"resource":["case"]}},"typeOptions":{"loadOptionsDependsOn":["resource"],"loadOptionsMethod":"loadCaseOptions"}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["case"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll"],"resource":["case"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Case ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["case"],"operation":["update","executeResponder","get"]}},"description":"ID of the case"},{"displayName":"Title","name":"title","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["case"],"operation":["create"]}},"description":"Title of the case"},{"displayName":"Description","name":"description","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["create"]}},"description":"Description of the case"},{"displayName":"Severity","name":"severity","type":"options","options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"required":true,"default":2,"displayOptions":{"show":{"resource":["case"],"operation":["create"]}},"description":"Severity of the alert. Default=Medium."},{"displayName":"Start Date","name":"startDate","type":"dateTime","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["create"]}},"description":"Date and time of the begin of the case default=now"},{"displayName":"Owner","name":"owner","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["case"],"operation":["create"]}}},{"displayName":"Flag","name":"flag","type":"boolean","required":true,"default":false,"displayOptions":{"show":{"resource":["case"],"operation":["create"]}},"description":"Flag of the case default=false"},{"displayName":"TLP","name":"tlp","type":"options","required":true,"default":2,"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"displayOptions":{"show":{"resource":["case"],"operation":["create"]}},"description":"Traffict Light Protocol (TLP). Default=Amber."},{"displayName":"Tags","name":"tags","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["case"],"operation":["create"]}}},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","default":"","required":true,"typeOptions":{"loadOptionsDependsOn":["id"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"show":{"resource":["case"],"operation":["executeResponder"]},"hide":{"id":[""]}}},{"displayName":"JSON Parameters","name":"jsonParameters","type":"boolean","default":true,"displayOptions":{"show":{"resource":["case"],"operation":["create","update"]}}},{"displayName":"Options","type":"collection","name":"options","placeholder":"Add options","displayOptions":{"show":{"resource":["case"],"operation":["create"]}},"default":{},"options":[{"displayName":"Custom Fields","name":"customFieldsUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"displayOptions":{"show":{"/jsonParameters":[false]}},"placeholder":"Add Custom Field","options":[{"name":"customFields","displayName":"Custom Field","values":[{"displayName":"Field Name or ID","name":"field","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"loadCustomFields"},"default":"Custom Field"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Custom Field value. Use an expression if the type is not a string."}]}]},{"displayName":"Custom Fields (JSON)","name":"customFieldsJson","type":"string","default":"","displayOptions":{"show":{"/jsonParameters":[true]}},"description":"Custom fields in JSON format. Overrides Custom Fields UI if set."},{"displayName":"End Date","name":"endDate","default":"","type":"dateTime","description":"Resolution date"},{"displayName":"Summary","name":"summary","type":"string","default":"","description":"Summary of the case, to be provided when closing a case"},{"displayName":"Metrics (JSON)","name":"metrics","default":"[]","type":"json","displayOptions":{"show":{"/jsonParameters":[true]}},"description":"List of metrics"}]},{"displayName":"Update Fields","type":"collection","name":"updateFields","placeholder":"Add Field","displayOptions":{"show":{"resource":["case"],"operation":["update"]}},"default":{},"options":[{"displayName":"Custom Fields","name":"customFieldsUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"displayOptions":{"show":{"/jsonParameters":[false]}},"placeholder":"Add Custom Field","options":[{"name":"customFields","displayName":"Custom Field","values":[{"displayName":"Field Name or ID","name":"field","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"loadCustomFields"},"default":"Custom Field"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Custom Field value. Use an expression if the type is not a string."}]}]},{"displayName":"Custom Fields (JSON)","name":"customFieldsJson","type":"string","default":"","displayOptions":{"show":{"/jsonParameters":[true]}},"description":"Custom fields in JSON format. Overrides Custom Fields UI if set."},{"displayName":"Description","name":"description","type":"string","default":"","description":"Description of the case"},{"displayName":"End Date","name":"endDate","type":"dateTime","default":"","description":"Resolution date"},{"displayName":"Flag","name":"flag","type":"boolean","default":false,"description":"Flag of the case default=false"},{"displayName":"Impact Status","name":"impactStatus","type":"options","default":"","options":[{"name":"No Impact","value":"NoImpact"},{"name":"With Impact","value":"WithImpact"},{"name":"Not Applicable","value":"NotApplicable"}],"description":"Impact status of the case"},{"displayName":"Metrics (JSON)","name":"metrics","type":"json","default":"[]","displayOptions":{"show":{"/jsonParameters":[true]}},"description":"List of metrics"},{"displayName":"Owner","name":"owner","type":"string","default":""},{"displayName":"Resolution Status","name":"resolutionStatus","type":"options","default":"","options":[{"value":"Duplicated","name":"Duplicated"},{"value":"FalsePositive","name":"False Positive"},{"value":"Indeterminate","name":"Indeterminate"},{"value":"Other","name":"Other"},{"value":"TruePositive","name":"True Positive"}],"description":"Resolution status of the case"},{"displayName":"Severity","name":"severity","type":"options","options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"default":2,"description":"Severity of the alert. Default=Medium."},{"displayName":"Start Date","name":"startDate","type":"dateTime","default":"","description":"Date and time of the begin of the case default=now"},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Open","value":"Open"},{"name":"Resolved","value":"Resolved"},{"name":"Deleted","value":"Deleted"}],"default":"Open"},{"displayName":"Summary","name":"summary","type":"string","default":"","description":"Summary of the case, to be provided when closing a case"},{"displayName":"Tags","name":"tags","type":"string","default":""},{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the case"},{"displayName":"TLP","name":"tlp","type":"options","default":2,"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"description":"Traffict Light Protocol (TLP). Default=Amber."}]},{"displayName":"Options","name":"options","displayOptions":{"show":{"operation":["getAll"],"resource":["case"]}},"type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Sort","name":"sort","type":"string","placeholder":"±Attribut, exp +status","description":"Specify the sorting attribut, + for asc, - for desc","default":""}]},{"displayName":"Filters","name":"filters","type":"collection","default":{},"placeholder":"Add a Filter","displayOptions":{"show":{"resource":["case"],"operation":["getAll","count"]}},"options":[{"displayName":"Custom Fields","name":"customFieldsUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Custom Field","options":[{"name":"customFields","displayName":"Custom Field","values":[{"displayName":"Field Name or ID","name":"field","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"loadCustomFields"},"default":"Custom Field"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Custom Field value. Use an expression if the type is not a string."}]}]},{"displayName":"Description","name":"description","type":"string","default":"","description":"Description of the case"},{"displayName":"End Date","name":"endDate","type":"dateTime","default":"","description":"Resolution date"},{"displayName":"Flag","name":"flag","type":"boolean","default":false,"description":"Flag of the case default=false"},{"displayName":"Impact Status","name":"impactStatus","type":"options","default":"","options":[{"name":"No Impact","value":"NoImpact"},{"name":"With Impact","value":"WithImpact"},{"name":"Not Applicable","value":"NotApplicable"}]},{"displayName":"Owner","name":"owner","type":"string","default":""},{"displayName":"Resolution Status","name":"resolutionStatus","type":"options","default":"","options":[{"value":"Duplicated","name":"Duplicated"},{"value":"False Positive","name":"FalsePositive"},{"value":"Indeterminate","name":"Indeterminate"},{"value":"Other","name":"Other"},{"value":"True Positive","name":"TruePositive"}]},{"displayName":"Severity","name":"severity","type":"options","options":[{"name":"Low","value":1},{"name":"Medium","value":2},{"name":"High","value":3}],"default":2,"description":"Severity of the alert. Default=Medium."},{"displayName":"Start Date","name":"startDate","type":"dateTime","default":"","description":"Date and time of the begin of the case default=now"},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Open","value":"Open"},{"name":"Resolved","value":"Resolved"},{"name":"Deleted","value":"Deleted"}],"default":"Open"},{"displayName":"Summary","name":"summary","type":"string","default":"","description":"Summary of the case, to be provided when closing a case"},{"displayName":"Tags","name":"tags","type":"string","default":""},{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the case"},{"displayName":"TLP","name":"tlp","type":"options","default":2,"options":[{"name":"White","value":0},{"name":"Green","value":1},{"name":"Amber","value":2},{"name":"Red","value":3}],"description":"Traffict Light Protocol (TLP). Default=Amber."}]},{"displayName":"Operation Name or ID","name":"operation","default":"getAll","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","noDataExpression":true,"required":true,"displayOptions":{"show":{"resource":["task"]}},"typeOptions":{"loadOptionsDependsOn":["operation"],"loadOptionsMethod":"loadTaskOptions"}},{"displayName":"Task ID","name":"id","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["task"],"operation":["update","executeResponder","get"]}},"description":"ID of the taks"},{"displayName":"Case ID","name":"caseId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["task"],"operation":["create","getAll"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["search","getAll"],"resource":["task"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["search","getAll"],"resource":["task"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Title","name":"title","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["task"],"operation":["create"]}},"description":"Task details"},{"displayName":"Status","name":"status","type":"options","default":"Waiting","options":[{"name":"Cancel","value":"Cancel"},{"name":"Completed","value":"Completed"},{"name":"InProgress","value":"InProgress"},{"name":"Waiting","value":"Waiting"}],"required":true,"displayOptions":{"show":{"resource":["task"],"operation":["create"]}},"description":"Status of the task. Default=Waiting."},{"displayName":"Flag","name":"flag","type":"boolean","required":true,"default":false,"displayOptions":{"show":{"resource":["task"],"operation":["create"]}},"description":"Whether to flag the task. Default=false."},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"show":{"resource":["task"],"operation":["executeResponder"]},"hide":{"id":[""]}}},{"displayName":"Options","type":"collection","name":"options","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["task"],"operation":["create"]}},"options":[{"displayName":"Description","name":"description","type":"string","default":"","description":"Task details"},{"displayName":"End Date","name":"endDate","type":"dateTime","default":"","description":"Date of the end of the task. This is automatically set when status is set to Completed."},{"displayName":"Owner","name":"owner","type":"string","default":"","description":"User who owns the task. This is automatically set to current user when status is set to InProgress."},{"displayName":"Start Date","name":"startDate","type":"dateTime","default":"","description":"Date of the beginning of the task. This is automatically set when status is set to Open."}]},{"displayName":"Update Fields","type":"collection","name":"updateFields","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["task"],"operation":["update"]}},"options":[{"displayName":"Description","name":"description","type":"string","default":"","description":"Task details"},{"displayName":"End Date","name":"endDate","type":"dateTime","default":"","description":"Date of the end of the task. This is automatically set when status is set to Completed."},{"displayName":"Flag","name":"flag","type":"boolean","default":false,"description":"Whether to flag the task. Default=false."},{"displayName":"Owner","name":"owner","type":"string","default":"","description":"User who owns the task. This is automatically set to current user when status is set to InProgress."},{"displayName":"Start Date","name":"startDate","type":"dateTime","default":"","description":"Date of the beginning of the task. This is automatically set when status is set to Open."},{"displayName":"Status","name":"status","type":"options","default":"Waiting","options":[{"name":"Cancel","value":"Cancel"},{"name":"Completed","value":"Completed"},{"name":"In Progress","value":"InProgress"},{"name":"Waiting","value":"Waiting"}],"description":"Status of the task. Default=Waiting."},{"displayName":"Title","name":"title","type":"string","default":"","description":"Task details"}]},{"displayName":"Options","name":"options","placeholder":"Add Option","type":"collection","default":{},"displayOptions":{"show":{"operation":["getAll","search"],"resource":["task"]}},"options":[{"displayName":"Sort","name":"sort","type":"string","placeholder":"±Attribut, exp +status","description":"Specify the sorting attribut, + for asc, - for desc","default":""}]},{"displayName":"Filters","name":"filters","type":"collection","default":{},"placeholder":"Add Filter","displayOptions":{"show":{"resource":["task"],"operation":["search","count"]}},"options":[{"displayName":"Description","name":"description","type":"string","default":"","description":"Task details"},{"displayName":"End Date","name":"endDate","type":"dateTime","default":"","description":"Date of the end of the task. This is automatically set when status is set to Completed."},{"displayName":"Flag","name":"flag","type":"boolean","default":false,"description":"Whether to flag the task. Default=false."},{"displayName":"Owner","name":"owner","type":"string","default":"","description":"User who owns the task. This is automatically set to current user when status is set to InProgress."},{"displayName":"Start Date","name":"startDate","type":"dateTime","default":"","description":"Date of the beginning of the task. This is automatically set when status is set to Open."},{"displayName":"Status","name":"status","type":"options","default":"Waiting","options":[{"name":"Cancel","value":"Cancel"},{"name":"Completed","value":"Completed"},{"name":"In Progress","value":"InProgress"},{"name":"Waiting","value":"Waiting"}],"description":"Status of the task. Default=Waiting."},{"displayName":"Title","name":"title","type":"string","default":"","description":"Task details"}]},{"displayName":"Operation","name":"operation","noDataExpression":true,"type":"options","required":true,"default":"getAll","displayOptions":{"show":{"resource":["log"]}},"options":[{"name":"Create","value":"create","description":"Create task log","action":"Create a log"},{"name":"Execute Responder","value":"executeResponder","description":"Execute a responder on a selected log","action":"Execute a responder"},{"name":"Get Many","value":"getAll","description":"Get many task logs","action":"Get many logs"},{"name":"Get","value":"get","description":"Get a single log","action":"Get a log"}]},{"displayName":"Task ID","name":"taskId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["log"],"operation":["create","getAll"]}},"description":"ID of the task"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["log"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll"],"resource":["log"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Log ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["log"],"operation":["executeResponder","get"]}}},{"displayName":"Message","name":"message","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["log"],"operation":["create"]}},"description":"Content of the Log"},{"displayName":"Start Date","name":"startDate","type":"dateTime","required":true,"default":"","displayOptions":{"show":{"resource":["log"],"operation":["create"]}},"description":"Date of the log submission default=now"},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Ok","value":"Ok"},{"name":"Deleted","value":"Deleted"}],"default":"","required":true,"displayOptions":{"show":{"resource":["log"],"operation":["create"]}},"description":"Status of the log (Ok or Deleted) default=Ok"},{"displayName":"Responder Name or ID","name":"responder","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","required":true,"default":"","typeOptions":{"loadOptionsDependsOn":["id"],"loadOptionsMethod":"loadResponders"},"displayOptions":{"show":{"resource":["log"],"operation":["executeResponder"]},"hide":{"id":[""]}}},{"displayName":"Options","name":"options","type":"collection","default":{},"displayOptions":{"show":{"resource":["log"],"operation":["create"]}},"placeholder":"Add Option","options":[{"displayName":"Attachment","name":"attachmentValues","placeholder":"Add Attachment","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{},"options":[{"displayName":"Attachment","name":"attachmentValues","values":[{"displayName":"Binary Property","name":"binaryProperty","type":"string","default":"data","description":"Object property name which holds binary data"}]}],"description":"File attached to the log"}]}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.thehive/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/theHive"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/TheHive/thehive.svg"},
386
390
  {"displayName":"TheHive Trigger","name":"n8n-nodes-base.theHiveTrigger","group":["trigger"],"version":[1,2],"description":"Starts the workflow when TheHive events occur","defaults":{"name":"TheHive Trigger"},"inputs":[],"outputs":["main"],"webhooks":[{"name":"default","httpMethod":"POST","responseMode":"onReceived","path":"webhook"}],"properties":[{"displayName":"Events","name":"events","type":"multiOptions","default":[],"required":true,"description":"Events types","displayOptions":{"show":{"@version":[1]}},"options":[{"name":"*","value":"*","description":"Any time any event is triggered (Wildcard Event)"},{"name":"Alert Created","value":"alert_create","description":"Triggered when an alert is created"},{"name":"Alert Deleted","value":"alert_delete","description":"Triggered when an alert is deleted"},{"name":"Alert Updated","value":"alert_update","description":"Triggered when an alert is updated"},{"name":"Case Created","value":"case_create","description":"Triggered when a case is created"},{"name":"Case Deleted","value":"case_delete","description":"Triggered when a case is deleted"},{"name":"Case Updated","value":"case_update","description":"Triggered when a case is updated"},{"name":"Log Created","value":"case_task_log_create","description":"Triggered when a task log is created"},{"name":"Log Deleted","value":"case_task_log_delete","description":"Triggered when a task log is deleted"},{"name":"Log Updated","value":"case_task_log_update","description":"Triggered when a task log is updated"},{"name":"Observable Created","value":"case_artifact_create","description":"Triggered when an observable is created"},{"name":"Observable Deleted","value":"case_artifact_delete","description":"Triggered when an observable is deleted"},{"name":"Observable Updated","value":"case_artifact_update","description":"Triggered when an observable is updated"},{"name":"Task Created","value":"case_task_create","description":"Triggered when a task is created"},{"name":"Task Deleted","value":"case_task_delete","description":"Triggered when a task is deleted"},{"name":"Task Updated","value":"case_task_update","description":"Triggered when a task is updated"}]},{"displayName":"Events","name":"events","type":"multiOptions","default":[],"required":true,"description":"Events types","displayOptions":{"show":{"@version":[2]}},"options":[{"name":"*","value":"*","description":"Any time any event is triggered (Wildcard Event)"},{"name":"Alert Created","value":"alert_create","description":"Triggered when an alert is created"},{"name":"Alert Deleted","value":"alert_delete","description":"Triggered when an alert is deleted"},{"name":"Alert Updated","value":"alert_update","description":"Triggered when an alert is updated"},{"name":"Case Created","value":"case_create","description":"Triggered when a case is created"},{"name":"Case Deleted","value":"case_delete","description":"Triggered when a case is deleted"},{"name":"Case Updated","value":"case_update","description":"Triggered when a case is updated"},{"name":"Log Created","value":"case_task_log_create","description":"Triggered when a task log is created"},{"name":"Log Deleted","value":"case_task_log_delete","description":"Triggered when a task log is deleted"},{"name":"Log Updated","value":"case_task_log_update","description":"Triggered when a task log is updated"},{"name":"Observable Created","value":"case_artifact_create","description":"Triggered when an observable is created"},{"name":"Observable Deleted","value":"case_artifact_delete","description":"Triggered when an observable is deleted"},{"name":"Observable Updated","value":"case_artifact_update","description":"Triggered when an observable is updated"},{"name":"Task Created","value":"case_task_create","description":"Triggered when a task is created"},{"name":"Task Updated","value":"case_task_update","description":"Triggered when a task is updated"}]}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.thehivetrigger/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/TheHive/thehive.svg"},
387
391
  {"displayName":"TimescaleDB","name":"n8n-nodes-base.timescaleDb","group":["input"],"version":1,"description":"Add and update data in TimescaleDB","defaults":{"name":"TimescaleDB"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"timescaleDb","required":true}],"properties":[{"displayName":"Operation","name":"operation","type":"options","options":[{"name":"Execute Query","value":"executeQuery","description":"Execute an SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in database","action":"Insert rows in database"},{"name":"Update","value":"update","description":"Update rows in database","action":"Update rows in database"}],"default":"insert"},{"displayName":"Query","name":"query","type":"string","noDataExpression":true,"typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"displayOptions":{"show":{"operation":["executeQuery"]}},"default":"","placeholder":"SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","required":true,"description":"The SQL query to execute. You can use n8n expressions or $1 and $2 in conjunction with query parameters."},{"displayName":"Schema","name":"schema","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"public","required":true,"description":"Name of the schema the table belongs to"},{"displayName":"Table","name":"table","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"","required":true,"description":"Name of the table in which to insert data to"},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"","placeholder":"id,name,description","description":"Comma-separated list of the properties which should used as columns for the new rows"},{"displayName":"Schema","name":"schema","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"public","required":true,"description":"Name of the schema the table belongs to"},{"displayName":"Table","name":"table","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"","required":true,"description":"Name of the table in which to update data in"},{"displayName":"Update Key","name":"updateKey","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"id","required":true,"description":"Name of the property which decides which rows in the database should be updated. Normally that would be \"id\"."},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"","placeholder":"name,description","description":"Comma-separated list of the properties which should used as columns for rows to update"},{"displayName":"Return Fields","name":"returnFields","type":"string","displayOptions":{"show":{"operation":["insert","update"]}},"default":"*","description":"Comma-separated list of the fields that the operation will return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Mode","name":"mode","type":"options","options":[{"name":"Independently","value":"independently","description":"Execute each query independently"},{"name":"Multiple Queries","value":"multiple","description":"<b>Default</b>. Sends multiple queries at once to database."},{"name":"Transaction","value":"transaction","description":"Executes all queries in a single transaction"}],"default":"multiple","description":"The way queries should be sent to database. Can be used in conjunction with <b>Continue on Fail</b>. See <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.timescaledb/\">the docs</a> for more examples"},{"displayName":"Query Parameters","name":"queryParams","type":"string","displayOptions":{"show":{"/operation":["executeQuery"]}},"default":"","placeholder":"quantity,price","description":"Comma-separated list of properties which should be used as query parameters"}]}],"codex":{"categories":["Data & Storage","Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.timescaledb/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/timescaleDb"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/TimescaleDb/timescale.svg"},