n8n-nodes-base 0.225.0 → 0.225.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.tsbuildinfo +1 -1
- package/dist/credentials/SshPrivateKey.credentials.js +1 -1
- package/dist/credentials/SshPrivateKey.credentials.js.map +1 -1
- package/dist/nodes/Aws/Rekognition/AwsRekognition.node.js +35 -35
- package/dist/nodes/Aws/Rekognition/AwsRekognition.node.js.map +1 -1
- package/dist/nodes/Aws/Rekognition/test/AwsRekognitionTestWorkflow.json +344 -0
- package/dist/nodes/Ftp/Ftp.node.js +4 -4
- package/dist/nodes/Ftp/Ftp.node.js.map +1 -1
- package/dist/nodes/HttpRequest/HttpRequest.node.js +2 -1
- package/dist/nodes/HttpRequest/HttpRequest.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +4 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/MySql/MySql.node.js +2 -1
- package/dist/nodes/MySql/MySql.node.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/router.js +1 -0
- package/dist/nodes/MySql/v2/actions/router.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/versionDescription.js +1 -1
- package/dist/nodes/MySql/v2/actions/versionDescription.js.map +1 -1
- package/dist/nodes/MySql/v2/transport/index.js +3 -0
- package/dist/nodes/MySql/v2/transport/index.js.map +1 -1
- package/dist/nodes/Postgres/Postgres.node.js +2 -1
- package/dist/nodes/Postgres/Postgres.node.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/router.js +1 -0
- package/dist/nodes/Postgres/v2/actions/router.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/versionDescription.js +1 -1
- package/dist/nodes/Postgres/v2/actions/versionDescription.js.map +1 -1
- package/dist/nodes/Postgres/v2/methods/listSearch.js +4 -2
- package/dist/nodes/Postgres/v2/methods/listSearch.js.map +1 -1
- package/dist/nodes/Postgres/v2/methods/loadOptions.js +2 -1
- package/dist/nodes/Postgres/v2/methods/loadOptions.js.map +1 -1
- package/dist/nodes/Postgres/v2/transport/index.js +7 -0
- package/dist/nodes/Postgres/v2/transport/index.js.map +1 -1
- package/dist/types/credentials.json +1 -1
- package/dist/types/nodes.json +12 -9
- package/package.json +3 -3
package/dist/types/nodes.json
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
{"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"},
|
|
124
124
|
{"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":"/v11/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":"={{\"/v11/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":"={{\"/v11/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"},
|
|
125
125
|
{"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"},
|
|
126
|
-
{"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-04-25T00: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-05-02T00: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-04-25T00: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-05-02T00: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/"}]}}},
|
|
126
|
+
{"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-05-07T00: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-05-14T00: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-05-07T00: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-05-14T00: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/"}]}}},
|
|
127
127
|
{"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"},
|
|
128
128
|
{"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","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","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","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/"}]}}},
|
|
129
129
|
{"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"},
|
|
@@ -166,10 +166,11 @@
|
|
|
166
166
|
{"displayName":"Home Assistant","name":"n8n-nodes-base.homeAssistant","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Home Assistant API","defaults":{"name":"Home Assistant"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"homeAssistantApi","required":true,"testedBy":"homeAssistantApiTest"}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Camera Proxy","value":"cameraProxy"},{"name":"Config","value":"config"},{"name":"Event","value":"event"},{"name":"Log","value":"log"},{"name":"Service","value":"service"},{"name":"State","value":"state"},{"name":"Template","value":"template"}],"default":"config"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["cameraProxy"]}},"options":[{"name":"Get Screenshot","value":"getScreenshot","description":"Get the camera screenshot","action":"Get a screenshot"}],"default":"getScreenshot"},{"displayName":"Camera Entity Name or ID","name":"cameraEntityId","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":"getCameraEntities"},"default":"","required":true,"displayOptions":{"show":{"operation":["getScreenshot"],"resource":["cameraProxy"]}}},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"show":{"operation":["getScreenshot"],"resource":["cameraProxy"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["config"]}},"options":[{"name":"Get","value":"get","description":"Get the configuration","action":"Get the config"},{"name":"Check Configuration","value":"check","description":"Check the configuration","action":"Check the config"}],"default":"get"},{"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"},{"name":"Get Many","value":"getAll","description":"Get many events","action":"Get many events"}],"default":"getAll"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["event"]}},"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":["event"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Event Type","name":"eventType","type":"string","displayOptions":{"show":{"operation":["create"],"resource":["event"]}},"required":true,"default":"","description":"The Entity ID for which an event will be created"},{"displayName":"Event Attributes","name":"eventAttributes","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Attribute","default":{},"displayOptions":{"show":{"resource":["event"],"operation":["create"]}},"options":[{"displayName":"Attributes","name":"attributes","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the attribute"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the attribute"}]}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["history"]}},"options":[{"name":"Get Many","value":"getAll","description":"Get many state changes","action":"Get many state changes"}],"default":"getAll"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["history"]}},"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":["history"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["history"],"operation":["getAll"]}},"options":[{"displayName":"End Time","name":"endTime","type":"dateTime","default":"","description":"The end of the period"},{"displayName":"Entity IDs","name":"entityIds","type":"string","default":"","description":"The entities IDs separated by comma"},{"displayName":"Minimal Response","name":"minimalResponse","type":"boolean","default":false,"description":"Whether to only return <code>last_changed</code> and state for states"},{"displayName":"Significant Changes Only","name":"significantChangesOnly","type":"boolean","default":false,"description":"Whether to only return significant state changes"},{"displayName":"Start Time","name":"startTime","type":"dateTime","default":"","description":"The beginning of the period"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["log"]}},"options":[{"name":"Get Error Logs","value":"getErroLogs","description":"Get a log for a specific entity","action":"Get a log for an entity"},{"name":"Get Logbook Entries","value":"getLogbookEntries","description":"Get all logs","action":"Get all logs for an entity"}],"default":"getErroLogs"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["log"],"operation":["getLogbookEntries"]}},"options":[{"displayName":"End Time","name":"endTime","type":"dateTime","default":"","description":"The end of the period"},{"displayName":"Entity ID","name":"entityId","type":"string","default":""},{"displayName":"Start Time","name":"startTime","type":"dateTime","default":"","description":"The beginning of the period"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["service"]}},"options":[{"name":"Call","value":"call","description":"Call a service within a specific domain","action":"Call a service"},{"name":"Get Many","value":"getAll","description":"Get many services","action":"Get many services"}],"default":"getAll"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["service"]}},"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":["service"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Domain Name or ID","name":"domain","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":"getDomains"},"default":"","required":true,"displayOptions":{"show":{"resource":["service"],"operation":["call"]}}},{"displayName":"Service Name or ID","name":"service","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":["domain"],"loadOptionsMethod":"getDomainServices"},"default":"","required":true,"displayOptions":{"show":{"resource":["service"],"operation":["call"]}}},{"displayName":"Service Attributes","name":"serviceAttributes","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Attribute","default":{},"displayOptions":{"show":{"resource":["service"],"operation":["call"]}},"options":[{"name":"attributes","displayName":"Attributes","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the field"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field"}]}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["state"]}},"options":[{"name":"Create or Update","value":"upsert","description":"Create a new record, or update the current one if it already exists (upsert)","action":"Create or update a state"},{"name":"Get","value":"get","description":"Get a state for a specific entity","action":"Get a state"},{"name":"Get Many","value":"getAll","description":"Get many states","action":"Get many states"}],"default":"get"},{"displayName":"Entity Name or ID","name":"entityId","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":"getAllEntities"},"displayOptions":{"show":{"operation":["get"],"resource":["state"]}},"required":true,"default":""},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["state"]}},"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":["state"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":50,"description":"Max number of results to return"},{"displayName":"Entity Name or ID","name":"entityId","type":"options","typeOptions":{"loadOptionsMethod":"getAllEntities"},"displayOptions":{"show":{"operation":["upsert"],"resource":["state"]}},"required":true,"default":"","description":"The entity ID for which a state will be created. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"State","name":"state","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["state"],"operation":["upsert"]}}},{"displayName":"State Attributes","name":"stateAttributes","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Attribute","default":{},"displayOptions":{"show":{"resource":["state"],"operation":["upsert"]}},"options":[{"displayName":"Attributes","name":"attributes","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the attribute"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the attribute"}]}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["template"]}},"options":[{"name":"Create","value":"create","description":"Create a template","action":"Create a template"}],"default":"create"},{"displayName":"Template","name":"template","type":"string","displayOptions":{"show":{"resource":["template"],"operation":["create"]}},"required":true,"default":"","description":"Render a Home Assistant template. <a href=\"https://www.home-assistant.io/docs/configuration/templating/\">See template docs for more information.</a>."}],"codex":{"categories":["Miscellaneous"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.homeassistant/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/homeAssistant"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/HomeAssistant/homeAssistant.svg"},
|
|
167
167
|
{"displayName":"HTML Extract","name":"n8n-nodes-base.htmlExtract","icon":"fa:cut","group":["transform"],"version":1,"hidden":true,"subtitle":"={{$parameter[\"sourceData\"] + \": \" + $parameter[\"dataPropertyName\"]}}","description":"Extracts data from HTML","defaults":{"name":"HTML Extract","color":"#333377"},"inputs":["main"],"outputs":["main"],"properties":[{"displayName":"Source Data","name":"sourceData","type":"options","options":[{"name":"Binary","value":"binary"},{"name":"JSON","value":"json"}],"default":"json","description":"If HTML should be read from binary or JSON data"},{"displayName":"Binary Property","name":"dataPropertyName","type":"string","displayOptions":{"show":{"sourceData":["binary"]}},"default":"data","required":true,"description":"Name of the binary property in which the HTML to extract the data from can be found"},{"displayName":"JSON Property","name":"dataPropertyName","type":"string","displayOptions":{"show":{"sourceData":["json"]}},"default":"data","required":true,"description":"Name of the JSON property in which the HTML to extract the data from can be found. The property can either contain a string or an array of strings."},{"displayName":"Extraction Values","name":"extractionValues","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"values","displayName":"Values","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"The key under which the extracted value should be saved"},{"displayName":"CSS Selector","name":"cssSelector","type":"string","default":"","placeholder":".price","description":"The CSS selector to use"},{"displayName":"Return Value","name":"returnValue","type":"options","options":[{"name":"Attribute","value":"attribute","description":"Get an attribute value like \"class\" from an element"},{"name":"HTML","value":"html","description":"Get the HTML the element contains"},{"name":"Text","value":"text","description":"Get only the text content of the element"},{"name":"Value","value":"value","description":"Get value of an input, select or textarea"}],"default":"text","description":"What kind of data should be returned"},{"displayName":"Attribute","name":"attribute","type":"string","displayOptions":{"show":{"returnValue":["attribute"]}},"default":"","placeholder":"class","description":"The name of the attribute to return the value off"},{"displayName":"Return Array","name":"returnArray","type":"boolean","default":false,"description":"Whether to return the values as an array so if multiple ones get found they also get returned separately. If not set all will be returned as a single string."}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Trim Values","name":"trimValues","type":"boolean","default":true,"description":"Whether to remove automatically all spaces and newlines from the beginning and end of the values"}]}],"codex":{"categories":["Core Nodes"],"subcategories":{"Core Nodes":["Helpers","Data Transformation"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.html/"}]}}},
|
|
168
168
|
{"displayName":"HTML","name":"n8n-nodes-base.html","group":["transform"],"version":1,"subtitle":"={{ $parameter[\"operation\"] }}","description":"Work with HTML","defaults":{"name":"HTML"},"inputs":["main"],"outputs":["main"],"parameterPane":"wide","properties":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Generate HTML Template","value":"generateHtmlTemplate","action":"Generate HTML template"},{"name":"Extract HTML Content","value":"extractHtmlContent","action":"Extract HTML Content"}],"default":"generateHtmlTemplate"},{"displayName":"HTML Template","name":"html","typeOptions":{"editor":"htmlEditor"},"type":"string","default":"<!DOCTYPE html>\n\n<html>\n<head>\n <meta charset=\"UTF-8\" />\n <title>My HTML document</title>\n</head>\n<body>\n <div class=\"container\">\n <h1>This is an H1 heading</h1>\n <h2>This is an H2 heading</h2>\n <p>This is a paragraph</p>\n </div>\n</body>\n</html>\n\n<style>\n.container {\n background-color: #ffffff;\n text-align: center;\n padding: 16px;\n border-radius: 8px;\n}\n\nh1 {\n color: #ff6d5a;\n font-size: 24px;\n font-weight: bold;\n padding: 8px;\n}\n\nh2 {\n color: #909399;\n font-size: 18px;\n font-weight: bold;\n padding: 8px;\n}\n</style>\n\n<script>\nconsole.log(\"Hello World!\");\n</script>","noDataExpression":true,"description":"HTML template to render","displayOptions":{"show":{"operation":["generateHtmlTemplate"]}}},{"displayName":"<b>Tips</b>: Type ctrl+space for completions. Use <code>{{ }}</code> for expressions and <code><style></code> tags for CSS. JS in <code><script></code> tags is included but not executed in n8n.","name":"notice","type":"notice","default":"","displayOptions":{"show":{"operation":["generateHtmlTemplate"]}}},{"displayName":"Source Data","name":"sourceData","type":"options","options":[{"name":"Binary","value":"binary"},{"name":"JSON","value":"json"}],"default":"json","description":"If HTML should be read from binary or JSON data","displayOptions":{"show":{"operation":["extractHtmlContent"]}}},{"displayName":"Binary Property","name":"dataPropertyName","type":"string","displayOptions":{"show":{"operation":["extractHtmlContent"],"sourceData":["binary"]}},"default":"data","required":true,"description":"Name of the binary property in which the HTML to extract the data from can be found"},{"displayName":"JSON Property","name":"dataPropertyName","type":"string","displayOptions":{"show":{"operation":["extractHtmlContent"],"sourceData":["json"]}},"default":"data","required":true,"description":"Name of the JSON property in which the HTML to extract the data from can be found. The property can either contain a string or an array of strings."},{"displayName":"Extraction Values","name":"extractionValues","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"operation":["extractHtmlContent"]}},"default":{},"options":[{"name":"values","displayName":"Values","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"The key under which the extracted value should be saved"},{"displayName":"CSS Selector","name":"cssSelector","type":"string","default":"","placeholder":".price","description":"The CSS selector to use"},{"displayName":"Return Value","name":"returnValue","type":"options","options":[{"name":"Attribute","value":"attribute","description":"Get an attribute value like \"class\" from an element"},{"name":"HTML","value":"html","description":"Get the HTML the element contains"},{"name":"Text","value":"text","description":"Get only the text content of the element"},{"name":"Value","value":"value","description":"Get value of an input, select or textarea"}],"default":"text","description":"What kind of data should be returned"},{"displayName":"Attribute","name":"attribute","type":"string","displayOptions":{"show":{"returnValue":["attribute"]}},"default":"","placeholder":"class","description":"The name of the attribute to return the value off"},{"displayName":"Return Array","name":"returnArray","type":"boolean","default":false,"description":"Whether to return the values as an array so if multiple ones get found they also get returned separately. If not set all will be returned as a single string."}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["extractHtmlContent"]}},"options":[{"displayName":"Trim Values","name":"trimValues","type":"boolean","default":true,"description":"Whether to remove automatically all spaces and newlines from the beginning and end of the values"}]}],"codex":{"categories":["Core Nodes"],"subcategories":{"Core Nodes":["Helpers","Data Transformation"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.html/"}]},"alias":["extract","template"]},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Html/html.svg"},
|
|
169
|
-
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"requestMethod\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4,"version":1,"defaults":{"name":"HTTP Request","color":"#2200DD"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"httpBasicAuth","required":true,"displayOptions":{"show":{"authentication":["basicAuth"]}}},{"name":"httpDigestAuth","required":true,"displayOptions":{"show":{"authentication":["digestAuth"]}}},{"name":"httpHeaderAuth","required":true,"displayOptions":{"show":{"authentication":["headerAuth"]}}},{"name":"httpQueryAuth","required":true,"displayOptions":{"show":{"authentication":["queryAuth"]}}},{"name":"oAuth1Api","required":true,"displayOptions":{"show":{"authentication":["oAuth1"]}}},{"name":"oAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Basic Auth","value":"basicAuth"},{"name":"Digest Auth","value":"digestAuth"},{"name":"Header Auth","value":"headerAuth"},{"name":"None","value":"none"},{"name":"OAuth1","value":"oAuth1"},{"name":"OAuth2","value":"oAuth2"},{"name":"Query Auth","value":"queryAuth"}],"default":"none","description":"The way to authenticate"},{"displayName":"Request Method","name":"requestMethod","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Response Format","name":"responseFormat","type":"options","options":[{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"String","value":"string"}],"default":"json","description":"The format in which the data gets returned from the URL"},{"displayName":"Property Name","name":"dataPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["string"]}},"description":"Name of the property to which to write the response data"},{"displayName":"Binary Property","name":"dataPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"JSON/RAW Parameters","name":"jsonParameters","type":"boolean","default":false,"description":"Whether the query and/or body parameter should be set via the value-key pair UI or JSON/RAW"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batch Interval","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."},{"displayName":"Batch Size","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Body Content Type","name":"bodyContentType","type":"options","displayOptions":{"show":{"/requestMethod":["PATCH","POST","PUT"]}},"options":[{"name":"JSON","value":"json"},{"name":"RAW/Custom","value":"raw"},{"name":"Form-Data Multipart","value":"multipart-form-data"},{"name":"Form Urlencoded","value":"form-urlencoded"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Full Response","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response data instead of only the body"},{"displayName":"Follow All Redirects","name":"followAllRedirects","type":"boolean","default":false,"description":"Whether to follow non-GET HTTP 3xx redirects"},{"displayName":"Follow GET Redirect","name":"followRedirect","type":"boolean","default":true,"description":"Whether to follow GET HTTP 3xx redirects"},{"displayName":"Ignore Response Code","name":"ignoreResponseCode","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"MIME Type","name":"bodyContentCustomMimeType","type":"string","default":"","placeholder":"text/xml","description":"Specify the mime type for raw/custom body type","displayOptions":{"show":{"/requestMethod":["PATCH","POST","PUT"]}}},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Split Into Items","name":"splitIntoItems","type":"boolean","default":false,"description":"Whether to output each element of an array as own item","displayOptions":{"show":{"/responseFormat":["json"]}}},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"},{"displayName":"Use Querystring","name":"useQueryString","type":"boolean","default":false,"description":"Whether you need arrays to be serialized as foo=bar&foo=baz instead of the default foo[0]=bar&foo[1]=baz"}]},{"displayName":"Send Binary Data","name":"sendBinaryData","type":"boolean","displayOptions":{"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT"]}},"default":false,"description":"Whether binary data should be send as body"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"hide":{"sendBinaryData":[false]},"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT"]}},"description":"Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>\"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>"},{"displayName":"Body Parameters","name":"bodyParametersJson","type":"json","displayOptions":{"hide":{"sendBinaryData":[true]},"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT","DELETE"]}},"default":"","description":"Body parameters as JSON or RAW"},{"displayName":"Body Parameters","name":"bodyParametersUi","placeholder":"Add Parameter","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false],"requestMethod":["PATCH","POST","PUT","DELETE"]}},"description":"The body parameter to send","default":{},"options":[{"name":"parameter","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the parameter"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the parameter"}]}]},{"displayName":"Headers","name":"headerParametersJson","type":"json","displayOptions":{"show":{"jsonParameters":[true]}},"default":"","description":"Header parameters as JSON or RAW"},{"displayName":"Headers","name":"headerParametersUi","placeholder":"Add Header","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false]}},"description":"The headers to send","default":{},"options":[{"name":"parameter","displayName":"Header","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the header"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the header"}]}]},{"displayName":"Query Parameters","name":"queryParametersJson","type":"json","displayOptions":{"show":{"jsonParameters":[true]}},"default":"","description":"Query parameters as JSON (flat object)"},{"displayName":"Query Parameters","name":"queryParametersUi","placeholder":"Add Parameter","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false]}},"description":"The query parameter to send","default":{},"options":[{"name":"parameter","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the parameter"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the parameter"}]}]}]},
|
|
170
|
-
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"requestMethod\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4,"defaults":{"name":"HTTP Request","color":"#2200DD"},"version":2,"inputs":["main"],"outputs":["main"],"credentials":[{"name":"httpBasicAuth","required":true,"displayOptions":{"show":{"authentication":["httpBasicAuth"]}}},{"name":"httpDigestAuth","required":true,"displayOptions":{"show":{"authentication":["httpDigestAuth"]}}},{"name":"httpHeaderAuth","required":true,"displayOptions":{"show":{"authentication":["httpHeaderAuth"]}}},{"name":"httpQueryAuth","required":true,"displayOptions":{"show":{"authentication":["httpQueryAuth"]}}},{"name":"oAuth1Api","required":true,"displayOptions":{"show":{"authentication":["oAuth1Api"]}}},{"name":"oAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2Api"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","noDataExpression":true,"type":"options","required":true,"options":[{"name":"None","value":"none"},{"name":"Predefined Credential Type","value":"predefinedCredentialType","description":"We've already implemented auth for many services so that you don't have to set it up manually"},{"name":"Generic Credential Type","value":"genericCredentialType","description":"Fully customizable. Choose between basic, header, OAuth2, etc."}],"default":"none"},{"displayName":"Credential Type","name":"nodeCredentialType","type":"credentialsSelect","noDataExpression":true,"required":true,"default":"","credentialTypes":["extends:oAuth2Api","extends:oAuth1Api","has:authenticate"],"displayOptions":{"show":{"authentication":["predefinedCredentialType"]}}},{"displayName":"Generic Auth Type","name":"genericAuthType","type":"credentialsSelect","required":true,"default":"","credentialTypes":["has:genericAuth"],"displayOptions":{"show":{"authentication":["genericCredentialType"]}}},{"displayName":"Request Method","name":"requestMethod","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Response Format","name":"responseFormat","type":"options","options":[{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"String","value":"string"}],"default":"json","description":"The format in which the data gets returned from the URL"},{"displayName":"Property Name","name":"dataPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["string"]}},"description":"Name of the property to which to write the response data"},{"displayName":"Binary Property","name":"dataPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"JSON/RAW Parameters","name":"jsonParameters","type":"boolean","default":false,"description":"Whether the query and/or body parameter should be set via the value-key pair UI or JSON/RAW"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batch Interval","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."},{"displayName":"Batch Size","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Body Content Type","name":"bodyContentType","type":"options","displayOptions":{"show":{"/requestMethod":["PATCH","POST","PUT"]}},"options":[{"name":"JSON","value":"json"},{"name":"RAW/Custom","value":"raw"},{"name":"Form-Data Multipart","value":"multipart-form-data"},{"name":"Form Urlencoded","value":"form-urlencoded"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Full Response","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response data instead of only the body"},{"displayName":"Follow All Redirects","name":"followAllRedirects","type":"boolean","default":false,"description":"Whether to follow non-GET HTTP 3xx redirects"},{"displayName":"Follow GET Redirect","name":"followRedirect","type":"boolean","default":true,"description":"Whether to follow GET HTTP 3xx redirects"},{"displayName":"Ignore Response Code","name":"ignoreResponseCode","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"MIME Type","name":"bodyContentCustomMimeType","type":"string","default":"","placeholder":"text/xml","description":"Specify the mime type for raw/custom body type","displayOptions":{"show":{"/requestMethod":["PATCH","POST","PUT"]}}},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Split Into Items","name":"splitIntoItems","type":"boolean","default":false,"description":"Whether to output each element of an array as own item","displayOptions":{"show":{"/responseFormat":["json"]}}},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"},{"displayName":"Use Querystring","name":"useQueryString","type":"boolean","default":false,"description":"Whether you need arrays to be serialized as foo=bar&foo=baz instead of the default foo[0]=bar&foo[1]=baz"}]},{"displayName":"Send Binary Data","name":"sendBinaryData","type":"boolean","displayOptions":{"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT"]}},"default":false,"description":"Whether binary data should be send as body"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"hide":{"sendBinaryData":[false]},"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT"]}},"description":"Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>\"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>"},{"displayName":"Body Parameters","name":"bodyParametersJson","type":"json","displayOptions":{"hide":{"sendBinaryData":[true]},"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT","DELETE"]}},"default":"","description":"Body parameters as JSON or RAW"},{"displayName":"Body Parameters","name":"bodyParametersUi","placeholder":"Add Parameter","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false],"requestMethod":["PATCH","POST","PUT","DELETE"]}},"description":"The body parameter to send","default":{},"options":[{"name":"parameter","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the parameter"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the parameter"}]}]},{"displayName":"Headers","name":"headerParametersJson","type":"json","displayOptions":{"show":{"jsonParameters":[true]}},"default":"","description":"Header parameters as JSON or RAW"},{"displayName":"Headers","name":"headerParametersUi","placeholder":"Add Header","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false]}},"description":"The headers to send","default":{},"options":[{"name":"parameter","displayName":"Header","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the header"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the header"}]}]},{"displayName":"Query Parameters","name":"queryParametersJson","type":"json","displayOptions":{"show":{"jsonParameters":[true]}},"default":"","description":"Query parameters as JSON (flat object)"},{"displayName":"Query Parameters","name":"queryParametersUi","placeholder":"Add Parameter","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false]}},"description":"The query parameter to send","default":{},"options":[{"name":"parameter","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the parameter"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the parameter"}]}]}]},
|
|
171
|
-
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"method\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4,"version":[3,4],"defaults":{"name":"HTTP Request","color":"#2200DD"},"inputs":["main"],"outputs":["main"],"credentials":[],"properties":[{"displayName":"","name":"curlImport","type":"curlImport","default":""},{"displayName":"Method","name":"method","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Authentication","name":"authentication","noDataExpression":true,"type":"options","options":[{"name":"None","value":"none"},{"name":"Predefined Credential Type","value":"predefinedCredentialType","description":"We've already implemented auth for many services so that you don't have to set it up manually"},{"name":"Generic Credential Type","value":"genericCredentialType","description":"Fully customizable. Choose between basic, header, OAuth2, etc."}],"default":"none"},{"displayName":"Credential Type","name":"nodeCredentialType","type":"credentialsSelect","noDataExpression":true,"required":true,"default":"","credentialTypes":["extends:oAuth2Api","extends:oAuth1Api","has:authenticate"],"displayOptions":{"show":{"authentication":["predefinedCredentialType"]}}},{"displayName":"Make sure you have specified the scope(s) for the Service Account in the credential","name":"googleApiWarning","type":"notice","default":"","displayOptions":{"show":{"nodeCredentialType":["googleApi"]}}},{"displayName":"Generic Auth Type","name":"genericAuthType","type":"credentialsSelect","required":true,"default":"","credentialTypes":["has:genericAuth"],"displayOptions":{"show":{"authentication":["genericCredentialType"]}}},{"displayName":"Send Query Parameters","name":"sendQuery","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has query params or not"},{"displayName":"Specify Query Parameters","name":"specifyQuery","type":"options","displayOptions":{"show":{"sendQuery":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Query Parameters","name":"queryParameters","type":"fixedCollection","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonQuery","type":"json","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["json"]}},"default":""},{"displayName":"Send Headers","name":"sendHeaders","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has headers or not"},{"displayName":"Specify Headers","name":"specifyHeaders","type":"options","displayOptions":{"show":{"sendHeaders":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Header Parameters","name":"headerParameters","type":"fixedCollection","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonHeaders","type":"json","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["json"]}},"default":""},{"displayName":"Send Body","name":"sendBody","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has a body or not"},{"displayName":"Body Content Type","name":"contentType","type":"options","displayOptions":{"show":{"sendBody":[true]}},"options":[{"name":"Form Urlencoded","value":"form-urlencoded"},{"name":"Form-Data","value":"multipart-form-data"},{"name":"JSON","value":"json"},{"name":"n8n Binary Data","value":"binaryData"},{"name":"Raw","value":"raw"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["json"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair","description":"The body can be specified using explicit fields (<code>keypair</code>) or using a JavaScript object (<code>json</code>)"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"JSON","name":"jsonBody","type":"json","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["json"]}},"default":""},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["multipart-form-data"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Parameter Type","name":"parameterType","type":"options","options":[{"name":"n8n Binary Data","value":"formBinaryData"},{"name":"Form Data","value":"formData"}],"default":"formData"},{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","displayOptions":{"show":{"parameterType":["formData"]}},"default":"","description":"Value of the field to set"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"parameterType":["formBinaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"}]}]},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using Single Field","value":"string"}],"default":"keypair"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"specifyBody":["string"]}},"default":"","placeholder":"field1=value1&field2=value2"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"sendBody":[true],"contentType":["binaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"},{"displayName":"Content Type","name":"rawContentType","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":"text/html"},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":""},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batching","name":"batching","placeholder":"Add Batching","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"batch":{}},"options":[{"displayName":"Batching","name":"batch","values":[{"displayName":"Items per Batch","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Batch Interval (ms)","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."}]}]},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","noDataExpression":true,"default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Array Format in Query Parameters","name":"queryParameterArrays","type":"options","displayOptions":{"show":{"/sendQuery":[true]}},"options":[{"name":"No Brackets","value":"repeat","description":"e.g. foo=bar&foo=qux"},{"name":"Brackets Only","value":"brackets","description":"e.g. foo[]=bar&foo[]=qux"},{"name":"Brackets with Indices","value":"indices","description":"e.g. foo[0]=bar&foo[1]=qux"}],"default":"brackets"},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":false,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"show":{"@version":[1,2,3]}}},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":true,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"hide":{"@version":[1,2,3]}}},{"displayName":"Response","name":"response","placeholder":"Add response","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"response":{}},"options":[{"displayName":"Response","name":"response","values":[{"displayName":"Include Response Headers and Status","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response (headers and response status code) data instead of only the body"},{"displayName":"Never Error","name":"neverError","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"Response Format","name":"responseFormat","type":"options","noDataExpression":true,"options":[{"name":"Autodetect","value":"autodetect"},{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"Text","value":"text"}],"default":"autodetect","description":"The format in which the data gets returned from the URL"},{"displayName":"Put Output in Field","name":"outputPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file","text"]}},"description":"Name of the binary property to which to write the data of the read file"}]}]},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"e.g. http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"}]}]},
|
|
172
|
-
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"method\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4,"version":[3,4],"defaults":{"name":"HTTP Request","color":"#2200DD"},"inputs":["main"],"outputs":["main"],"credentials":[],"properties":[{"displayName":"","name":"curlImport","type":"curlImport","default":""},{"displayName":"Method","name":"method","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Authentication","name":"authentication","noDataExpression":true,"type":"options","options":[{"name":"None","value":"none"},{"name":"Predefined Credential Type","value":"predefinedCredentialType","description":"We've already implemented auth for many services so that you don't have to set it up manually"},{"name":"Generic Credential Type","value":"genericCredentialType","description":"Fully customizable. Choose between basic, header, OAuth2, etc."}],"default":"none"},{"displayName":"Credential Type","name":"nodeCredentialType","type":"credentialsSelect","noDataExpression":true,"required":true,"default":"","credentialTypes":["extends:oAuth2Api","extends:oAuth1Api","has:authenticate"],"displayOptions":{"show":{"authentication":["predefinedCredentialType"]}}},{"displayName":"Make sure you have specified the scope(s) for the Service Account in the credential","name":"googleApiWarning","type":"notice","default":"","displayOptions":{"show":{"nodeCredentialType":["googleApi"]}}},{"displayName":"Generic Auth Type","name":"genericAuthType","type":"credentialsSelect","required":true,"default":"","credentialTypes":["has:genericAuth"],"displayOptions":{"show":{"authentication":["genericCredentialType"]}}},{"displayName":"Send Query Parameters","name":"sendQuery","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has query params or not"},{"displayName":"Specify Query Parameters","name":"specifyQuery","type":"options","displayOptions":{"show":{"sendQuery":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Query Parameters","name":"queryParameters","type":"fixedCollection","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonQuery","type":"json","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["json"]}},"default":""},{"displayName":"Send Headers","name":"sendHeaders","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has headers or not"},{"displayName":"Specify Headers","name":"specifyHeaders","type":"options","displayOptions":{"show":{"sendHeaders":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Header Parameters","name":"headerParameters","type":"fixedCollection","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonHeaders","type":"json","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["json"]}},"default":""},{"displayName":"Send Body","name":"sendBody","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has a body or not"},{"displayName":"Body Content Type","name":"contentType","type":"options","displayOptions":{"show":{"sendBody":[true]}},"options":[{"name":"Form Urlencoded","value":"form-urlencoded"},{"name":"Form-Data","value":"multipart-form-data"},{"name":"JSON","value":"json"},{"name":"n8n Binary Data","value":"binaryData"},{"name":"Raw","value":"raw"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["json"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair","description":"The body can be specified using explicit fields (<code>keypair</code>) or using a JavaScript object (<code>json</code>)"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"JSON","name":"jsonBody","type":"json","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["json"]}},"default":""},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["multipart-form-data"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Parameter Type","name":"parameterType","type":"options","options":[{"name":"n8n Binary Data","value":"formBinaryData"},{"name":"Form Data","value":"formData"}],"default":"formData"},{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","displayOptions":{"show":{"parameterType":["formData"]}},"default":"","description":"Value of the field to set"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"parameterType":["formBinaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"}]}]},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using Single Field","value":"string"}],"default":"keypair"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"specifyBody":["string"]}},"default":"","placeholder":"field1=value1&field2=value2"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"sendBody":[true],"contentType":["binaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"},{"displayName":"Content Type","name":"rawContentType","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":"text/html"},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":""},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batching","name":"batching","placeholder":"Add Batching","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"batch":{}},"options":[{"displayName":"Batching","name":"batch","values":[{"displayName":"Items per Batch","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Batch Interval (ms)","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."}]}]},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","noDataExpression":true,"default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Array Format in Query Parameters","name":"queryParameterArrays","type":"options","displayOptions":{"show":{"/sendQuery":[true]}},"options":[{"name":"No Brackets","value":"repeat","description":"e.g. foo=bar&foo=qux"},{"name":"Brackets Only","value":"brackets","description":"e.g. foo[]=bar&foo[]=qux"},{"name":"Brackets with Indices","value":"indices","description":"e.g. foo[0]=bar&foo[1]=qux"}],"default":"brackets"},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":false,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"show":{"@version":[1,2,3]}}},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":true,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"hide":{"@version":[1,2,3]}}},{"displayName":"Response","name":"response","placeholder":"Add response","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"response":{}},"options":[{"displayName":"Response","name":"response","values":[{"displayName":"Include Response Headers and Status","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response (headers and response status code) data instead of only the body"},{"displayName":"Never Error","name":"neverError","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"Response Format","name":"responseFormat","type":"options","noDataExpression":true,"options":[{"name":"Autodetect","value":"autodetect"},{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"Text","value":"text"}],"default":"autodetect","description":"The format in which the data gets returned from the URL"},{"displayName":"Put Output in Field","name":"outputPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file","text"]}},"description":"Name of the binary property to which to write the data of the read file"}]}]},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"e.g. http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"}]}],"codex":{"categories":["Development","Core Nodes"],"subcategories":{"Core Nodes":["Helpers"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/"}]},"alias":["API","Request","URL","Build"]}},
|
|
169
|
+
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"requestMethod\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4.1,"version":1,"defaults":{"name":"HTTP Request","color":"#2200DD"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"httpBasicAuth","required":true,"displayOptions":{"show":{"authentication":["basicAuth"]}}},{"name":"httpDigestAuth","required":true,"displayOptions":{"show":{"authentication":["digestAuth"]}}},{"name":"httpHeaderAuth","required":true,"displayOptions":{"show":{"authentication":["headerAuth"]}}},{"name":"httpQueryAuth","required":true,"displayOptions":{"show":{"authentication":["queryAuth"]}}},{"name":"oAuth1Api","required":true,"displayOptions":{"show":{"authentication":["oAuth1"]}}},{"name":"oAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Basic Auth","value":"basicAuth"},{"name":"Digest Auth","value":"digestAuth"},{"name":"Header Auth","value":"headerAuth"},{"name":"None","value":"none"},{"name":"OAuth1","value":"oAuth1"},{"name":"OAuth2","value":"oAuth2"},{"name":"Query Auth","value":"queryAuth"}],"default":"none","description":"The way to authenticate"},{"displayName":"Request Method","name":"requestMethod","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Response Format","name":"responseFormat","type":"options","options":[{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"String","value":"string"}],"default":"json","description":"The format in which the data gets returned from the URL"},{"displayName":"Property Name","name":"dataPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["string"]}},"description":"Name of the property to which to write the response data"},{"displayName":"Binary Property","name":"dataPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"JSON/RAW Parameters","name":"jsonParameters","type":"boolean","default":false,"description":"Whether the query and/or body parameter should be set via the value-key pair UI or JSON/RAW"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batch Interval","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."},{"displayName":"Batch Size","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Body Content Type","name":"bodyContentType","type":"options","displayOptions":{"show":{"/requestMethod":["PATCH","POST","PUT"]}},"options":[{"name":"JSON","value":"json"},{"name":"RAW/Custom","value":"raw"},{"name":"Form-Data Multipart","value":"multipart-form-data"},{"name":"Form Urlencoded","value":"form-urlencoded"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Full Response","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response data instead of only the body"},{"displayName":"Follow All Redirects","name":"followAllRedirects","type":"boolean","default":false,"description":"Whether to follow non-GET HTTP 3xx redirects"},{"displayName":"Follow GET Redirect","name":"followRedirect","type":"boolean","default":true,"description":"Whether to follow GET HTTP 3xx redirects"},{"displayName":"Ignore Response Code","name":"ignoreResponseCode","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"MIME Type","name":"bodyContentCustomMimeType","type":"string","default":"","placeholder":"text/xml","description":"Specify the mime type for raw/custom body type","displayOptions":{"show":{"/requestMethod":["PATCH","POST","PUT"]}}},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Split Into Items","name":"splitIntoItems","type":"boolean","default":false,"description":"Whether to output each element of an array as own item","displayOptions":{"show":{"/responseFormat":["json"]}}},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"},{"displayName":"Use Querystring","name":"useQueryString","type":"boolean","default":false,"description":"Whether you need arrays to be serialized as foo=bar&foo=baz instead of the default foo[0]=bar&foo[1]=baz"}]},{"displayName":"Send Binary Data","name":"sendBinaryData","type":"boolean","displayOptions":{"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT"]}},"default":false,"description":"Whether binary data should be send as body"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"hide":{"sendBinaryData":[false]},"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT"]}},"description":"Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>\"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>"},{"displayName":"Body Parameters","name":"bodyParametersJson","type":"json","displayOptions":{"hide":{"sendBinaryData":[true]},"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT","DELETE"]}},"default":"","description":"Body parameters as JSON or RAW"},{"displayName":"Body Parameters","name":"bodyParametersUi","placeholder":"Add Parameter","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false],"requestMethod":["PATCH","POST","PUT","DELETE"]}},"description":"The body parameter to send","default":{},"options":[{"name":"parameter","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the parameter"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the parameter"}]}]},{"displayName":"Headers","name":"headerParametersJson","type":"json","displayOptions":{"show":{"jsonParameters":[true]}},"default":"","description":"Header parameters as JSON or RAW"},{"displayName":"Headers","name":"headerParametersUi","placeholder":"Add Header","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false]}},"description":"The headers to send","default":{},"options":[{"name":"parameter","displayName":"Header","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the header"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the header"}]}]},{"displayName":"Query Parameters","name":"queryParametersJson","type":"json","displayOptions":{"show":{"jsonParameters":[true]}},"default":"","description":"Query parameters as JSON (flat object)"},{"displayName":"Query Parameters","name":"queryParametersUi","placeholder":"Add Parameter","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false]}},"description":"The query parameter to send","default":{},"options":[{"name":"parameter","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the parameter"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the parameter"}]}]}]},
|
|
170
|
+
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"requestMethod\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4.1,"defaults":{"name":"HTTP Request","color":"#2200DD"},"version":2,"inputs":["main"],"outputs":["main"],"credentials":[{"name":"httpBasicAuth","required":true,"displayOptions":{"show":{"authentication":["httpBasicAuth"]}}},{"name":"httpDigestAuth","required":true,"displayOptions":{"show":{"authentication":["httpDigestAuth"]}}},{"name":"httpHeaderAuth","required":true,"displayOptions":{"show":{"authentication":["httpHeaderAuth"]}}},{"name":"httpQueryAuth","required":true,"displayOptions":{"show":{"authentication":["httpQueryAuth"]}}},{"name":"oAuth1Api","required":true,"displayOptions":{"show":{"authentication":["oAuth1Api"]}}},{"name":"oAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2Api"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","noDataExpression":true,"type":"options","required":true,"options":[{"name":"None","value":"none"},{"name":"Predefined Credential Type","value":"predefinedCredentialType","description":"We've already implemented auth for many services so that you don't have to set it up manually"},{"name":"Generic Credential Type","value":"genericCredentialType","description":"Fully customizable. Choose between basic, header, OAuth2, etc."}],"default":"none"},{"displayName":"Credential Type","name":"nodeCredentialType","type":"credentialsSelect","noDataExpression":true,"required":true,"default":"","credentialTypes":["extends:oAuth2Api","extends:oAuth1Api","has:authenticate"],"displayOptions":{"show":{"authentication":["predefinedCredentialType"]}}},{"displayName":"Generic Auth Type","name":"genericAuthType","type":"credentialsSelect","required":true,"default":"","credentialTypes":["has:genericAuth"],"displayOptions":{"show":{"authentication":["genericCredentialType"]}}},{"displayName":"Request Method","name":"requestMethod","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Response Format","name":"responseFormat","type":"options","options":[{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"String","value":"string"}],"default":"json","description":"The format in which the data gets returned from the URL"},{"displayName":"Property Name","name":"dataPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["string"]}},"description":"Name of the property to which to write the response data"},{"displayName":"Binary Property","name":"dataPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"JSON/RAW Parameters","name":"jsonParameters","type":"boolean","default":false,"description":"Whether the query and/or body parameter should be set via the value-key pair UI or JSON/RAW"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batch Interval","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."},{"displayName":"Batch Size","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Body Content Type","name":"bodyContentType","type":"options","displayOptions":{"show":{"/requestMethod":["PATCH","POST","PUT"]}},"options":[{"name":"JSON","value":"json"},{"name":"RAW/Custom","value":"raw"},{"name":"Form-Data Multipart","value":"multipart-form-data"},{"name":"Form Urlencoded","value":"form-urlencoded"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Full Response","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response data instead of only the body"},{"displayName":"Follow All Redirects","name":"followAllRedirects","type":"boolean","default":false,"description":"Whether to follow non-GET HTTP 3xx redirects"},{"displayName":"Follow GET Redirect","name":"followRedirect","type":"boolean","default":true,"description":"Whether to follow GET HTTP 3xx redirects"},{"displayName":"Ignore Response Code","name":"ignoreResponseCode","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"MIME Type","name":"bodyContentCustomMimeType","type":"string","default":"","placeholder":"text/xml","description":"Specify the mime type for raw/custom body type","displayOptions":{"show":{"/requestMethod":["PATCH","POST","PUT"]}}},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Split Into Items","name":"splitIntoItems","type":"boolean","default":false,"description":"Whether to output each element of an array as own item","displayOptions":{"show":{"/responseFormat":["json"]}}},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"},{"displayName":"Use Querystring","name":"useQueryString","type":"boolean","default":false,"description":"Whether you need arrays to be serialized as foo=bar&foo=baz instead of the default foo[0]=bar&foo[1]=baz"}]},{"displayName":"Send Binary Data","name":"sendBinaryData","type":"boolean","displayOptions":{"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT"]}},"default":false,"description":"Whether binary data should be send as body"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"hide":{"sendBinaryData":[false]},"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT"]}},"description":"Name of the binary property which contains the data for the file to be uploaded. For Form-Data Multipart, they can be provided in the format: <code>\"sendKey1:binaryProperty1,sendKey2:binaryProperty2</code>"},{"displayName":"Body Parameters","name":"bodyParametersJson","type":"json","displayOptions":{"hide":{"sendBinaryData":[true]},"show":{"jsonParameters":[true],"requestMethod":["PATCH","POST","PUT","DELETE"]}},"default":"","description":"Body parameters as JSON or RAW"},{"displayName":"Body Parameters","name":"bodyParametersUi","placeholder":"Add Parameter","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false],"requestMethod":["PATCH","POST","PUT","DELETE"]}},"description":"The body parameter to send","default":{},"options":[{"name":"parameter","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the parameter"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the parameter"}]}]},{"displayName":"Headers","name":"headerParametersJson","type":"json","displayOptions":{"show":{"jsonParameters":[true]}},"default":"","description":"Header parameters as JSON or RAW"},{"displayName":"Headers","name":"headerParametersUi","placeholder":"Add Header","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false]}},"description":"The headers to send","default":{},"options":[{"name":"parameter","displayName":"Header","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the header"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the header"}]}]},{"displayName":"Query Parameters","name":"queryParametersJson","type":"json","displayOptions":{"show":{"jsonParameters":[true]}},"default":"","description":"Query parameters as JSON (flat object)"},{"displayName":"Query Parameters","name":"queryParametersUi","placeholder":"Add Parameter","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"jsonParameters":[false]}},"description":"The query parameter to send","default":{},"options":[{"name":"parameter","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"Name of the parameter"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the parameter"}]}]}]},
|
|
171
|
+
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"method\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4.1,"version":[3,4,4.1],"defaults":{"name":"HTTP Request","color":"#2200DD"},"inputs":["main"],"outputs":["main"],"credentials":[],"properties":[{"displayName":"","name":"curlImport","type":"curlImport","default":""},{"displayName":"Method","name":"method","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Authentication","name":"authentication","noDataExpression":true,"type":"options","options":[{"name":"None","value":"none"},{"name":"Predefined Credential Type","value":"predefinedCredentialType","description":"We've already implemented auth for many services so that you don't have to set it up manually"},{"name":"Generic Credential Type","value":"genericCredentialType","description":"Fully customizable. Choose between basic, header, OAuth2, etc."}],"default":"none"},{"displayName":"Credential Type","name":"nodeCredentialType","type":"credentialsSelect","noDataExpression":true,"required":true,"default":"","credentialTypes":["extends:oAuth2Api","extends:oAuth1Api","has:authenticate"],"displayOptions":{"show":{"authentication":["predefinedCredentialType"]}}},{"displayName":"Make sure you have specified the scope(s) for the Service Account in the credential","name":"googleApiWarning","type":"notice","default":"","displayOptions":{"show":{"nodeCredentialType":["googleApi"]}}},{"displayName":"Generic Auth Type","name":"genericAuthType","type":"credentialsSelect","required":true,"default":"","credentialTypes":["has:genericAuth"],"displayOptions":{"show":{"authentication":["genericCredentialType"]}}},{"displayName":"Send Query Parameters","name":"sendQuery","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has query params or not"},{"displayName":"Specify Query Parameters","name":"specifyQuery","type":"options","displayOptions":{"show":{"sendQuery":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Query Parameters","name":"queryParameters","type":"fixedCollection","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonQuery","type":"json","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["json"]}},"default":""},{"displayName":"Send Headers","name":"sendHeaders","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has headers or not"},{"displayName":"Specify Headers","name":"specifyHeaders","type":"options","displayOptions":{"show":{"sendHeaders":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Header Parameters","name":"headerParameters","type":"fixedCollection","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonHeaders","type":"json","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["json"]}},"default":""},{"displayName":"Send Body","name":"sendBody","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has a body or not"},{"displayName":"Body Content Type","name":"contentType","type":"options","displayOptions":{"show":{"sendBody":[true]}},"options":[{"name":"Form Urlencoded","value":"form-urlencoded"},{"name":"Form-Data","value":"multipart-form-data"},{"name":"JSON","value":"json"},{"name":"n8n Binary Data","value":"binaryData"},{"name":"Raw","value":"raw"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["json"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair","description":"The body can be specified using explicit fields (<code>keypair</code>) or using a JavaScript object (<code>json</code>)"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"JSON","name":"jsonBody","type":"json","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["json"]}},"default":""},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["multipart-form-data"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Parameter Type","name":"parameterType","type":"options","options":[{"name":"n8n Binary Data","value":"formBinaryData"},{"name":"Form Data","value":"formData"}],"default":"formData"},{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","displayOptions":{"show":{"parameterType":["formData"]}},"default":"","description":"Value of the field to set"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"parameterType":["formBinaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"}]}]},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using Single Field","value":"string"}],"default":"keypair"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"specifyBody":["string"]}},"default":"","placeholder":"field1=value1&field2=value2"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"sendBody":[true],"contentType":["binaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"},{"displayName":"Content Type","name":"rawContentType","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":"text/html"},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":""},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batching","name":"batching","placeholder":"Add Batching","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"batch":{}},"options":[{"displayName":"Batching","name":"batch","values":[{"displayName":"Items per Batch","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Batch Interval (ms)","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."}]}]},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","noDataExpression":true,"default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Array Format in Query Parameters","name":"queryParameterArrays","type":"options","displayOptions":{"show":{"/sendQuery":[true]}},"options":[{"name":"No Brackets","value":"repeat","description":"e.g. foo=bar&foo=qux"},{"name":"Brackets Only","value":"brackets","description":"e.g. foo[]=bar&foo[]=qux"},{"name":"Brackets with Indices","value":"indices","description":"e.g. foo[0]=bar&foo[1]=qux"}],"default":"brackets"},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":false,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"show":{"@version":[1,2,3]}}},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":true,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"hide":{"@version":[1,2,3]}}},{"displayName":"Response","name":"response","placeholder":"Add response","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"response":{}},"options":[{"displayName":"Response","name":"response","values":[{"displayName":"Include Response Headers and Status","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response (headers and response status code) data instead of only the body"},{"displayName":"Never Error","name":"neverError","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"Response Format","name":"responseFormat","type":"options","noDataExpression":true,"options":[{"name":"Autodetect","value":"autodetect"},{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"Text","value":"text"}],"default":"autodetect","description":"The format in which the data gets returned from the URL"},{"displayName":"Put Output in Field","name":"outputPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file","text"]}},"description":"Name of the binary property to which to write the data of the read file"}]}]},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"e.g. http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"}]}]},
|
|
172
|
+
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"method\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4.1,"version":[3,4,4.1],"defaults":{"name":"HTTP Request","color":"#2200DD"},"inputs":["main"],"outputs":["main"],"credentials":[],"properties":[{"displayName":"","name":"curlImport","type":"curlImport","default":""},{"displayName":"Method","name":"method","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Authentication","name":"authentication","noDataExpression":true,"type":"options","options":[{"name":"None","value":"none"},{"name":"Predefined Credential Type","value":"predefinedCredentialType","description":"We've already implemented auth for many services so that you don't have to set it up manually"},{"name":"Generic Credential Type","value":"genericCredentialType","description":"Fully customizable. Choose between basic, header, OAuth2, etc."}],"default":"none"},{"displayName":"Credential Type","name":"nodeCredentialType","type":"credentialsSelect","noDataExpression":true,"required":true,"default":"","credentialTypes":["extends:oAuth2Api","extends:oAuth1Api","has:authenticate"],"displayOptions":{"show":{"authentication":["predefinedCredentialType"]}}},{"displayName":"Make sure you have specified the scope(s) for the Service Account in the credential","name":"googleApiWarning","type":"notice","default":"","displayOptions":{"show":{"nodeCredentialType":["googleApi"]}}},{"displayName":"Generic Auth Type","name":"genericAuthType","type":"credentialsSelect","required":true,"default":"","credentialTypes":["has:genericAuth"],"displayOptions":{"show":{"authentication":["genericCredentialType"]}}},{"displayName":"Send Query Parameters","name":"sendQuery","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has query params or not"},{"displayName":"Specify Query Parameters","name":"specifyQuery","type":"options","displayOptions":{"show":{"sendQuery":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Query Parameters","name":"queryParameters","type":"fixedCollection","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonQuery","type":"json","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["json"]}},"default":""},{"displayName":"Send Headers","name":"sendHeaders","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has headers or not"},{"displayName":"Specify Headers","name":"specifyHeaders","type":"options","displayOptions":{"show":{"sendHeaders":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Header Parameters","name":"headerParameters","type":"fixedCollection","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonHeaders","type":"json","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["json"]}},"default":""},{"displayName":"Send Body","name":"sendBody","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has a body or not"},{"displayName":"Body Content Type","name":"contentType","type":"options","displayOptions":{"show":{"sendBody":[true]}},"options":[{"name":"Form Urlencoded","value":"form-urlencoded"},{"name":"Form-Data","value":"multipart-form-data"},{"name":"JSON","value":"json"},{"name":"n8n Binary Data","value":"binaryData"},{"name":"Raw","value":"raw"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["json"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair","description":"The body can be specified using explicit fields (<code>keypair</code>) or using a JavaScript object (<code>json</code>)"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"JSON","name":"jsonBody","type":"json","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["json"]}},"default":""},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["multipart-form-data"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Parameter Type","name":"parameterType","type":"options","options":[{"name":"n8n Binary Data","value":"formBinaryData"},{"name":"Form Data","value":"formData"}],"default":"formData"},{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","displayOptions":{"show":{"parameterType":["formData"]}},"default":"","description":"Value of the field to set"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"parameterType":["formBinaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"}]}]},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using Single Field","value":"string"}],"default":"keypair"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"specifyBody":["string"]}},"default":"","placeholder":"field1=value1&field2=value2"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"sendBody":[true],"contentType":["binaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"},{"displayName":"Content Type","name":"rawContentType","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":"text/html"},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":""},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batching","name":"batching","placeholder":"Add Batching","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"batch":{}},"options":[{"displayName":"Batching","name":"batch","values":[{"displayName":"Items per Batch","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Batch Interval (ms)","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."}]}]},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","noDataExpression":true,"default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Array Format in Query Parameters","name":"queryParameterArrays","type":"options","displayOptions":{"show":{"/sendQuery":[true]}},"options":[{"name":"No Brackets","value":"repeat","description":"e.g. foo=bar&foo=qux"},{"name":"Brackets Only","value":"brackets","description":"e.g. foo[]=bar&foo[]=qux"},{"name":"Brackets with Indices","value":"indices","description":"e.g. foo[0]=bar&foo[1]=qux"}],"default":"brackets"},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":false,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"show":{"@version":[1,2,3]}}},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":true,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"hide":{"@version":[1,2,3]}}},{"displayName":"Response","name":"response","placeholder":"Add response","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"response":{}},"options":[{"displayName":"Response","name":"response","values":[{"displayName":"Include Response Headers and Status","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response (headers and response status code) data instead of only the body"},{"displayName":"Never Error","name":"neverError","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"Response Format","name":"responseFormat","type":"options","noDataExpression":true,"options":[{"name":"Autodetect","value":"autodetect"},{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"Text","value":"text"}],"default":"autodetect","description":"The format in which the data gets returned from the URL"},{"displayName":"Put Output in Field","name":"outputPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file","text"]}},"description":"Name of the binary property to which to write the data of the read file"}]}]},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"e.g. http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"}]}]},
|
|
173
|
+
{"displayName":"HTTP Request","name":"n8n-nodes-base.httpRequest","icon":"fa:at","group":["output"],"subtitle":"={{$parameter[\"method\"] + \": \" + $parameter[\"url\"]}}","description":"Makes an HTTP request and returns the response data","defaultVersion":4.1,"version":[3,4,4.1],"defaults":{"name":"HTTP Request","color":"#2200DD"},"inputs":["main"],"outputs":["main"],"credentials":[],"properties":[{"displayName":"","name":"curlImport","type":"curlImport","default":""},{"displayName":"Method","name":"method","type":"options","options":[{"name":"DELETE","value":"DELETE"},{"name":"GET","value":"GET"},{"name":"HEAD","value":"HEAD"},{"name":"OPTIONS","value":"OPTIONS"},{"name":"PATCH","value":"PATCH"},{"name":"POST","value":"POST"},{"name":"PUT","value":"PUT"}],"default":"GET","description":"The request method to use"},{"displayName":"URL","name":"url","type":"string","default":"","placeholder":"http://example.com/index.html","description":"The URL to make the request to","required":true},{"displayName":"Authentication","name":"authentication","noDataExpression":true,"type":"options","options":[{"name":"None","value":"none"},{"name":"Predefined Credential Type","value":"predefinedCredentialType","description":"We've already implemented auth for many services so that you don't have to set it up manually"},{"name":"Generic Credential Type","value":"genericCredentialType","description":"Fully customizable. Choose between basic, header, OAuth2, etc."}],"default":"none"},{"displayName":"Credential Type","name":"nodeCredentialType","type":"credentialsSelect","noDataExpression":true,"required":true,"default":"","credentialTypes":["extends:oAuth2Api","extends:oAuth1Api","has:authenticate"],"displayOptions":{"show":{"authentication":["predefinedCredentialType"]}}},{"displayName":"Make sure you have specified the scope(s) for the Service Account in the credential","name":"googleApiWarning","type":"notice","default":"","displayOptions":{"show":{"nodeCredentialType":["googleApi"]}}},{"displayName":"Generic Auth Type","name":"genericAuthType","type":"credentialsSelect","required":true,"default":"","credentialTypes":["has:genericAuth"],"displayOptions":{"show":{"authentication":["genericCredentialType"]}}},{"displayName":"Send Query Parameters","name":"sendQuery","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has query params or not"},{"displayName":"Specify Query Parameters","name":"specifyQuery","type":"options","displayOptions":{"show":{"sendQuery":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Query Parameters","name":"queryParameters","type":"fixedCollection","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonQuery","type":"json","displayOptions":{"show":{"sendQuery":[true],"specifyQuery":["json"]}},"default":""},{"displayName":"Send Headers","name":"sendHeaders","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has headers or not"},{"displayName":"Specify Headers","name":"specifyHeaders","type":"options","displayOptions":{"show":{"sendHeaders":[true]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair"},{"displayName":"Header Parameters","name":"headerParameters","type":"fixedCollection","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"JSON","name":"jsonHeaders","type":"json","displayOptions":{"show":{"sendHeaders":[true],"specifyHeaders":["json"]}},"default":""},{"displayName":"Send Body","name":"sendBody","type":"boolean","default":false,"noDataExpression":true,"description":"Whether the request has a body or not"},{"displayName":"Body Content Type","name":"contentType","type":"options","displayOptions":{"show":{"sendBody":[true]}},"options":[{"name":"Form Urlencoded","value":"form-urlencoded"},{"name":"Form-Data","value":"multipart-form-data"},{"name":"JSON","value":"json"},{"name":"n8n Binary Data","value":"binaryData"},{"name":"Raw","value":"raw"}],"default":"json","description":"Content-Type to use to send body parameters"},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["json"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using JSON","value":"json"}],"default":"keypair","description":"The body can be specified using explicit fields (<code>keypair</code>) or using a JavaScript object (<code>json</code>)"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"JSON","name":"jsonBody","type":"json","displayOptions":{"show":{"sendBody":[true],"contentType":["json"],"specifyBody":["json"]}},"default":""},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["multipart-form-data"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Parameter Type","name":"parameterType","type":"options","options":[{"name":"n8n Binary Data","value":"formBinaryData"},{"name":"Form Data","value":"formData"}],"default":"formData"},{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","displayOptions":{"show":{"parameterType":["formData"]}},"default":"","description":"Value of the field to set"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"parameterType":["formBinaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"}]}]},{"displayName":"Specify Body","name":"specifyBody","type":"options","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"]}},"options":[{"name":"Using Fields Below","value":"keypair"},{"name":"Using Single Field","value":"string"}],"default":"keypair"},{"displayName":"Body Parameters","name":"bodyParameters","type":"fixedCollection","displayOptions":{"show":{"sendBody":[true],"contentType":["form-urlencoded"],"specifyBody":["keypair"]}},"typeOptions":{"multipleValues":true},"placeholder":"Add Parameter","default":{"parameters":[{"name":"","value":""}]},"options":[{"name":"parameters","displayName":"Parameter","values":[{"displayName":"Name","name":"name","type":"string","default":"","description":"ID of the field to set. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the field to set"}]}]},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"specifyBody":["string"]}},"default":"","placeholder":"field1=value1&field2=value2"},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","noDataExpression":true,"displayOptions":{"show":{"sendBody":[true],"contentType":["binaryData"]}},"default":"","description":"The name of the incoming field containing the binary file data to be processed"},{"displayName":"Content Type","name":"rawContentType","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":"text/html"},{"displayName":"Body","name":"body","type":"string","displayOptions":{"show":{"sendBody":[true],"contentType":["raw"]}},"default":"","placeholder":""},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Batching","name":"batching","placeholder":"Add Batching","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"batch":{}},"options":[{"displayName":"Batching","name":"batch","values":[{"displayName":"Items per Batch","name":"batchSize","type":"number","typeOptions":{"minValue":-1},"default":50,"description":"Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1."},{"displayName":"Batch Interval (ms)","name":"batchInterval","type":"number","typeOptions":{"minValue":0},"default":1000,"description":"Time (in milliseconds) between each batch of requests. 0 for disabled."}]}]},{"displayName":"Ignore SSL Issues","name":"allowUnauthorizedCerts","type":"boolean","noDataExpression":true,"default":false,"description":"Whether to download the response even if SSL certificate validation is not possible"},{"displayName":"Array Format in Query Parameters","name":"queryParameterArrays","type":"options","displayOptions":{"show":{"/sendQuery":[true]}},"options":[{"name":"No Brackets","value":"repeat","description":"e.g. foo=bar&foo=qux"},{"name":"Brackets Only","value":"brackets","description":"e.g. foo[]=bar&foo[]=qux"},{"name":"Brackets with Indices","value":"indices","description":"e.g. foo[0]=bar&foo[1]=qux"}],"default":"brackets"},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":false,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"show":{"@version":[1,2,3]}}},{"displayName":"Redirects","name":"redirect","placeholder":"Add Redirect","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"redirect":{}},"options":[{"displayName":"Redirect","name":"redirect","values":[{"displayName":"Follow Redirects","name":"followRedirects","type":"boolean","default":true,"noDataExpression":true,"description":"Whether to follow all redirects"},{"displayName":"Max Redirects","name":"maxRedirects","type":"number","displayOptions":{"show":{"followRedirects":[true]}},"default":21,"description":"Max number of redirects to follow"}]}],"displayOptions":{"hide":{"@version":[1,2,3]}}},{"displayName":"Response","name":"response","placeholder":"Add response","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{"response":{}},"options":[{"displayName":"Response","name":"response","values":[{"displayName":"Include Response Headers and Status","name":"fullResponse","type":"boolean","default":false,"description":"Whether to return the full response (headers and response status code) data instead of only the body"},{"displayName":"Never Error","name":"neverError","type":"boolean","default":false,"description":"Whether to succeeds also when status code is not 2xx"},{"displayName":"Response Format","name":"responseFormat","type":"options","noDataExpression":true,"options":[{"name":"Autodetect","value":"autodetect"},{"name":"File","value":"file"},{"name":"JSON","value":"json"},{"name":"Text","value":"text"}],"default":"autodetect","description":"The format in which the data gets returned from the URL"},{"displayName":"Put Output in Field","name":"outputPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"responseFormat":["file","text"]}},"description":"Name of the binary property to which to write the data of the read file"}]}]},{"displayName":"Proxy","name":"proxy","type":"string","default":"","placeholder":"e.g. http://myproxy:3128","description":"HTTP proxy to use"},{"displayName":"Timeout","name":"timeout","type":"number","typeOptions":{"minValue":1},"default":10000,"description":"Time in ms to wait for the server to send response headers (and start the response body) before aborting the request"}]}],"codex":{"categories":["Development","Core Nodes"],"subcategories":{"Core Nodes":["Helpers"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/"}]},"alias":["API","Request","URL","Build"]}},
|
|
173
174
|
{"displayName":"HubSpot","name":"n8n-nodes-base.hubspot","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume HubSpot API","defaults":{"name":"HubSpot"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"hubspotApi","required":true,"testedBy":"hubspotApiTest","displayOptions":{"show":{"authentication":["apiKey"]}}},{"name":"hubspotAppToken","required":true,"testedBy":"hubspotApiTest","displayOptions":{"show":{"authentication":["appToken"]}}},{"name":"hubspotOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"API Key","value":"apiKey"},{"name":"APP Token","value":"appToken"},{"name":"OAuth2","value":"oAuth2"}],"default":"apiKey"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Company","value":"company"},{"name":"Contact","value":"contact"},{"name":"Contact List","value":"contactList"},{"name":"Deal","value":"deal"},{"name":"Engagement","value":"engagement"},{"name":"Form","value":"form"},{"name":"Ticket","value":"ticket"}],"default":"deal"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["contact"]}},"options":[{"name":"Create or Update","value":"upsert","description":"Create a new contact, or update the current one if it already exists (upsert)","action":"Create or update a contact"},{"name":"Delete","value":"delete","description":"Delete a contact","action":"Delete a contact"},{"name":"Get","value":"get","description":"Get a contact","action":"Get a contact"},{"name":"Get Many","value":"getAll","description":"Get many contacts","action":"Get many contacts"},{"name":"Get Recently Created/Updated","value":"getRecentlyCreatedUpdated","description":"Get recently created/updated contacts","action":"Get recently created/updated contacts"},{"name":"Search","value":"search","description":"Search contacts","action":"Search contacts"}],"default":"upsert"},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","required":true,"displayOptions":{"show":{"resource":["contact"],"operation":["upsert"]}},"default":""},{"displayName":"Resolve Data","name":"resolveData","type":"boolean","displayOptions":{"show":{"resource":["contact"],"operation":["upsert"]}},"default":true,"description":"By default the response only includes the ID. If this option gets activated, it will resolve the data automatically."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["contact"],"operation":["upsert"]}},"options":[{"displayName":"Annual Revenue","name":"annualRevenue","type":"number","typeOptions":{"minValue":0},"default":0},{"displayName":"Associated Company Name or ID","name":"associatedCompanyId","type":"options","typeOptions":{"loadOptionsMethod":"getCompanies"},"default":"","description":"Companies associated with the ticket. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"City","name":"city","type":"string","default":""},{"displayName":"Clicked Facebook Ad","name":"clickedFacebookAd","type":"string","default":""},{"displayName":"Close Date","name":"closeDate","type":"dateTime","default":""},{"displayName":"Company Name","name":"companyName","type":"string","default":""},{"displayName":"Company Size","name":"companySize","type":"string","default":""},{"displayName":"Contact Owner Name or ID","name":"contactOwner","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":"getOwners"},"default":""},{"displayName":"Country/Region","name":"country","type":"string","default":""},{"displayName":"Custom Properties","name":"customPropertiesUi","placeholder":"Add Custom Property","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"customPropertiesValues","displayName":"Custom Property","values":[{"displayName":"Property Name or ID","name":"property","type":"options","typeOptions":{"loadOptionsMethod":"getContactCustomProperties"},"default":"","description":"Name of the property. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the property"}]}]},{"displayName":"Date of Birth","name":"dateOfBirth","type":"dateTime","default":""},{"displayName":"Degree","name":"degree","type":"string","default":""},{"displayName":"Facebook Click ID","name":"facebookClickId","type":"string","default":""},{"displayName":"Fax Number","name":"faxNumber","type":"string","default":""},{"displayName":"Field Of Study","name":"fieldOfStudy","type":"string","default":"","description":"A contact's field of study. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"},{"displayName":"First Name","name":"firstName","type":"string","default":"","description":"A contact's first name"},{"displayName":"Gender","name":"gender","type":"string","default":""},{"displayName":"Google Ad Click ID","name":"googleAdClickId","type":"string","default":""},{"displayName":"Graduation Date","name":"graduationDate","type":"dateTime","default":"","description":"A contact's graduation date. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"},{"displayName":"Industry","name":"industry","type":"string","default":"","description":"The industry a contact is in"},{"displayName":"Job Function","name":"jobFunction","type":"string","default":"","description":"A contact's job function. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"},{"displayName":"Job Title","name":"jobTitle","type":"string","default":"","description":"A contact's job title"},{"displayName":"Last Name","name":"lastName","type":"string","default":"","description":"A contact's last name"},{"displayName":"Lead Status Name or ID","name":"leadStatus","type":"options","typeOptions":{"loadOptionsMethod":"getContactLeadStatuses"},"default":"","description":"The contact's sales, prospecting or outreach status. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Legal Basic For Processing Contact Data Name or ID","name":"processingContactData","type":"options","typeOptions":{"loadOptionsMethod":"getContactLealBasics"},"default":"","description":"Legal basis for processing contact's data; 'Not applicable' will exempt the contact from GDPR protections. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Lifecycle Stage Name or ID","name":"lifeCycleStage","type":"options","typeOptions":{"loadOptionsMethod":"getContactLifeCycleStages"},"default":"","description":"The qualification of contacts to sales readiness. It can be set through imports, forms, workflows, and manually on a per contact basis. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Marital Status","name":"maritalStatus","type":"string","default":"","description":"A contact's marital status. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"},{"displayName":"Membership Note","name":"membershipNote","type":"string","default":"","description":"The notes relating to the contact's content membership"},{"displayName":"Message","name":"message","type":"string","default":"","description":"A default property to be used for any message or comments a contact may want to leave on a form"},{"displayName":"Mobile Phone Number","name":"mobilePhoneNumber","type":"string","default":"","description":"A contact's mobile phone number"},{"displayName":"Number Of Employees","name":"numberOfEmployees","type":"options","typeOptions":{"loadOptionsMethod":"getContactNumberOfEmployees"},"default":"","description":"The number of company employees. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Original Source Name or ID","name":"originalSource","type":"options","typeOptions":{"loadOptionsMethod":"getContactOriginalSources"},"default":"","description":"The first known source through which a contact found your website. Source is automatically set by HubSpot, but may be updated manually. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Phone Number","name":"phoneNumber","type":"string","default":"","description":"A contact's primary phone number"},{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getContactProperties"},"displayOptions":{"show":{"/resolveData":[true]}},"default":[],"description":"<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Postal Code","name":"postalCode","type":"string","default":"","description":"The contact's zip code. This might be set via import, form, or integration."},{"displayName":"Preffered Language Name or ID","name":"prefferedLanguage","type":"options","typeOptions":{"loadOptionsMethod":"getContactPrefferedLanguages"},"default":"","description":"Set your contact's preferred language for communications. This property can be changed from an import, form, or integration. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Relationship Status","name":"relationshipStatus","type":"string","default":"","description":"A contact's relationship status. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"},{"displayName":"Salutation","name":"salutation","type":"string","default":"","description":"The title used to address a contact"},{"displayName":"School","name":"school","type":"string","default":"","description":"A contact's school. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"},{"displayName":"Seniority","name":"seniority","type":"string","default":"","description":"A contact's seniority. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"},{"displayName":"Start Date","name":"startDate","type":"dateTime","default":"","description":"A contact's start date. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"},{"displayName":"State/Region","name":"stateRegion","type":"string","default":"","description":"The contact's state of residence. This might be set via import, form, or integration."},{"displayName":"Status Name or ID","name":"status","type":"options","typeOptions":{"loadOptionsMethod":"getContactStatuses"},"default":"","description":"The status of the contact's content membership. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Street Address","name":"streetAddress","type":"string","default":"","description":"A contact's street address, including apartment or unit #"},{"displayName":"Twitter Username","name":"twitterUsername","type":"string","default":"","description":"The contact's Twitter handle. This is set by HubSpot using the contact's email address."},{"displayName":"Website URL","name":"websiteUrl","type":"string","default":"","description":"The contact's company website"},{"displayName":"Work Email","name":"workEmail","type":"string","default":"","description":"A contact's work email. This property is required for the Facebook Ads Integration. This property will be automatically synced via the Lead Ads tool"}]},{"displayName":"Contact ID","name":"contactId","type":"string","required":true,"displayOptions":{"show":{"resource":["contact"],"operation":["get"]}},"default":"","description":"Unique identifier for a particular contact"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["contact"],"operation":["get"]}},"options":[{"displayName":"Form Submission Mode","name":"formSubmissionMode","type":"options","options":[{"name":"All","value":"all"},{"name":"None","value":"none"},{"name":"Newest","value":"newest"},{"name":"Oldest","value":"oldest"}],"default":"all","description":"Specify which form submissions should be fetched"},{"displayName":"List Memberships","name":"listMemberships","type":"boolean","default":true,"description":"Whether current list memberships should be fetched for the contact"},{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getContactProperties"},"default":[],"description":"<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Property Mode","name":"propertyMode","type":"options","options":[{"name":"Value And History","value":"valueAndHistory"},{"name":"Value Only","value":"valueOnly"}],"default":"valueAndHistory","description":"Specify if the current value for a property should be fetched, or the value and all the historical values for that property"}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["contact"],"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":["contact"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["contact"],"operation":["getAll"]}},"options":[{"displayName":"Form Submission Mode","name":"formSubmissionMode","type":"options","options":[{"name":"All","value":"all"},{"name":"None","value":"none"},{"name":"Newest","value":"newest"},{"name":"Oldest","value":"oldest"}],"default":"all","description":"Specify which form submissions should be fetched"},{"displayName":"List Memberships","name":"listMemberships","type":"boolean","default":true,"description":"Whether current list memberships should be fetched for the contact"},{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getContactProperties"},"default":[],"description":"<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Property Mode","name":"propertyMode","type":"options","options":[{"name":"Value And History","value":"valueAndHistory"},{"name":"Value Only","value":"valueOnly"}],"default":"valueAndHistory","description":"Specify if the current value for a property should be fetched, or the value and all the historical values for that property"}]},{"displayName":"Contact ID","name":"contactId","type":"string","required":true,"displayOptions":{"show":{"resource":["contact"],"operation":["delete"]}},"default":"","description":"Unique identifier for a particular contact"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["contact"],"operation":["getRecentlyCreatedUpdated"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["contact"],"operation":["getRecentlyCreatedUpdated"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["contact"],"operation":["getRecentlyCreatedUpdated"]}},"options":[{"displayName":"Form Submission Mode","name":"formSubmissionMode","type":"options","options":[{"name":"All","value":"all"},{"name":"None","value":"none"},{"name":"Newest","value":"newest"},{"name":"Oldest","value":"oldest"}],"default":"all","description":"Specify which form submissions should be fetched"},{"displayName":"List Memberships","name":"listMemberships","type":"boolean","default":true,"description":"Whether current list memberships should be fetched for the contact"},{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getContactProperties"},"default":[],"description":"<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Property Mode","name":"propertyMode","type":"options","options":[{"name":"Value And History","value":"valueAndHistory"},{"name":"Value Only","value":"valueOnly"}],"default":"valueAndHistory","description":"Specify if the current value for a property should be fetched, or the value and all the historical values for that property"}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["contact"],"operation":["search"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["contact"],"operation":["search"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Filter Groups","name":"filterGroupsUi","type":"fixedCollection","default":{},"placeholder":"Add Filter Group","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["contact"],"operation":["search"]}},"options":[{"name":"filterGroupsValues","displayName":"Filter Group","values":[{"displayName":"Filters","name":"filtersUi","type":"fixedCollection","default":{},"placeholder":"Add Filter","typeOptions":{"multipleValues":true},"options":[{"name":"filterValues","displayName":"Filter","values":[{"displayName":"Property Name or ID","name":"propertyName","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":"getContactProperties"},"default":""},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Contains Exactly","value":"CONTAINS_TOKEN"},{"name":"Equal","value":"EQ"},{"name":"Greater Than","value":"GT"},{"name":"Greater Than Or Equal","value":"GTE"},{"name":"Is Known","value":"HAS_PROPERTY"},{"name":"Is Unknown","value":"NOT_HAS_PROPERTY"},{"name":"Less Than","value":"LT"},{"name":"Less Than Or Equal","value":"LTE"},{"name":"Not Equal","value":"NEQ"}],"default":"EQ"},{"displayName":"Value","name":"value","displayOptions":{"hide":{"operator":["HAS_PROPERTY","NOT_HAS_PROPERTY"]}},"type":"string","default":""}]}],"description":"Use filters to limit the results to only CRM objects with matching property values. More info <a href=\"https://developers.hubspot.com/docs/api/crm/search\">here</a>."}]}],"description":"When multiple filters are provided within a filterGroup, they will be combined using a logical AND operator. When multiple filterGroups are provided, they will be combined using a logical OR operator. The system supports a maximum of three filterGroups with up to three filters each. More info <a href=\"https://developers.hubspot.com/docs/api/crm/search\">here</a>"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["contact"],"operation":["search"]}},"options":[{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASCENDING"},{"name":"DESC","value":"DESCENDING"}],"default":"DESCENDING","description":"Defines the direction in which search results are ordered. Default value is DESC."},{"displayName":"Field Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getContactProperties"},"default":["firstname","lastname","email"],"description":"<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Query","name":"query","type":"string","default":"","description":"Perform a text search against all property values for an object type"},{"displayName":"Sort By","name":"sortBy","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":"getContactProperties"},"default":"createdate"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["contactList"]}},"options":[{"name":"Add","value":"add","description":"Add contact to a list","action":"Add a contact to a list"},{"name":"Remove","value":"remove","description":"Remove a contact from a list","action":"Remove a contact from a list"}],"default":"add"},{"displayName":"By","name":"by","type":"options","options":[{"name":"Contact ID","value":"id"},{"name":"Email","value":"email"}],"required":true,"displayOptions":{"show":{"resource":["contactList"],"operation":["add"]}},"default":"email"},{"displayName":"Email","name":"email","type":"string","placeholder":"name@email.com","required":true,"displayOptions":{"show":{"resource":["contactList"],"operation":["add"],"by":["email"]}},"default":""},{"displayName":"Contact ID","name":"id","type":"string","required":true,"displayOptions":{"show":{"resource":["contactList"],"operation":["add"],"by":["id"]}},"default":""},{"displayName":"List ID","name":"listId","type":"string","required":true,"displayOptions":{"show":{"resource":["contactList"],"operation":["add"]}},"default":""},{"displayName":"Contact ID","name":"id","type":"string","required":true,"displayOptions":{"show":{"resource":["contactList"],"operation":["remove"]}},"default":""},{"displayName":"List ID","name":"listId","type":"string","required":true,"displayOptions":{"show":{"resource":["contactList"],"operation":["remove"]}},"default":""},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["company"]}},"options":[{"name":"Create","value":"create","description":"Create a company","action":"Create a company"},{"name":"Delete","value":"delete","description":"Delete a company","action":"Delete a company"},{"name":"Get","value":"get","description":"Get a company","action":"Get a company"},{"name":"Get Many","value":"getAll","description":"Get many companies","action":"Get many companies"},{"name":"Get Recently Created","value":"getRecentlyCreated","description":"Get recently created companies","action":"Get a recently created company"},{"name":"Get Recently Modified","value":"getRecentlyModified","description":"Get recently modified companies","action":"Get a recently modified company"},{"name":"Search By Domain","value":"searchByDomain","description":"Search companies by domain","action":"Search for a company by Domain"},{"name":"Update","value":"update","description":"Update a company","action":"Update a company"}],"default":"create"},{"displayName":"Name","name":"name","type":"string","required":true,"displayOptions":{"show":{"resource":["company"],"operation":["create"]}},"default":""},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["company"],"operation":["create"]}},"options":[{"displayName":"About Us","name":"aboutUs","type":"string","default":""},{"displayName":"Annual Revenue","name":"annualRevenue","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The actual or estimated annual revenue of the company"},{"displayName":"City","name":"city","type":"string","default":"","description":"The city where the company is located"},{"displayName":"Close Date","name":"closeDate","type":"dateTime","default":"","description":"The date the company or organization was closed as a customer"},{"displayName":"Company Domain Name","name":"companyDomainName","type":"string","default":"","description":"The domain name of the company or organization"},{"displayName":"Company Owner Name or ID","name":"companyOwner","type":"options","typeOptions":{"loadOptionsMethod":"getOwners"},"default":"","description":"The owner of the company. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Country/Region","name":"countryRegion","type":"string","default":"","description":"The country/region in which the company or organization is located"},{"displayName":"Custom Properties","name":"customPropertiesUi","placeholder":"Add Custom Property","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"customPropertiesValues","displayName":"Custom Property","values":[{"displayName":"Property Name or ID","name":"property","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyCustomProperties"},"default":"","description":"Name of the property. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the property"}]}]},{"displayName":"Description","name":"description","type":"string","default":"","description":"A short statement about the company's mission and goals"},{"displayName":"Facebook Fans","name":"facebookFans","type":"number","typeOptions":{"minValue":0},"default":0,"description":"Number of facebook fans"},{"displayName":"Google Plus Page","name":"googlePlusPage","type":"string","default":"","description":"The URL of the Google Plus page for the company or organization"},{"displayName":"Industry Name or ID","name":"industry","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyIndustries"},"default":"","description":"The type of business the company performs. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Is Public","name":"isPublic","type":"boolean","default":false,"description":"Whether that the company is publicly traded"},{"displayName":"Lead Status Name or ID","name":"leadStatus","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyleadStatuses"},"default":"","description":"The company's sales, prospecting or outreach status. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Lifecycle Stage Name or ID","name":"lifecycleStatus","type":"options","typeOptions":{"loadOptionsMethod":"getCompanylifecycleStages"},"default":"","description":"The most advanced lifecycle stage across all contacts associated with this company or organization. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"LinkedIn Bio","name":"linkedinBio","type":"string","default":"","description":"The LinkedIn bio for the company or organization"},{"displayName":"LinkedIn Company Page","name":"linkedInCompanyPage","type":"string","default":"","description":"The URL of the LinkedIn company page for the company or organization"},{"displayName":"Number Of Employees","name":"numberOfEmployees","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The total number of employees who work for the company or organization"},{"displayName":"Original Source Type Name or ID","name":"originalSourceType","type":"options","typeOptions":{"loadOptionsMethod":"getCompanySourceTypes"},"default":"","description":"Original source for the contact with the earliest activity for this company or organization. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Phone Number","name":"phoneNumber","type":"string","default":"","description":"A company's primary phone number. Powered by HubSpot Insights."},{"displayName":"Postal Code","name":"postalCode","type":"string","default":"","description":"The postal or zip code of the company or organization. Powered by HubSpot Insights."},{"displayName":"State/Region","name":"stateRegion","type":"string","default":"","description":"The state or region in which the company or organization is located. Powered by HubSpot Insights."},{"displayName":"Street Address","name":"streetAddress","type":"string","default":"","description":"The street address of the company or organization, including unit number. Powered by HubSpot Insights."},{"displayName":"Street Address 2","name":"streetAddress2","type":"string","default":"","description":"The additional address of the company or organization. Powered by HubSpot Insights."},{"displayName":"Target Account Name or ID","name":"targetAccount","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyTargetAccounts"},"default":"","description":"The Target Account property is a means to flag high priority companies if you are following an account based strategy. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Timezone","name":"timezone","type":"string","default":"","description":"The time zone where the company or organization is located. Powered by HubSpot Insights."},{"displayName":"Total Money Raised","name":"totalMoneyRaised","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The total amount of money raised by the company. Powered by HubSpot Insights."},{"displayName":"Twitter Bio","name":"twitterBio","type":"string","default":"","description":"The Twitter bio of the company or organization"},{"displayName":"Twitter Followers","name":"twitterFollowers","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The number of Twitter followers of the company or organization"},{"displayName":"Twitter Handle","name":"twitterHandle","type":"string","default":"","description":"The main twitter account of the company or organization"},{"displayName":"Type Name or ID","name":"type","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyTypes"},"default":"","description":"The optional classification of this company record - prospect, partner, etc. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Web Technologies Name or ID","name":"webTechnologies","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyWebTechnologies"},"default":"","description":"The web technologies used by the company or organization. Powered by HubSpot Insights. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Website URL","name":"websiteUrl","type":"string","default":"","description":"The main website of the company or organization. This property is used to identify unique companies. Powered by HubSpot Insights."},{"displayName":"Year Founded","name":"yearFounded","type":"string","default":"","description":"The year the company was created. Powered by HubSpot Insights."}]},{"displayName":"Company ID","name":"companyId","type":"string","required":true,"displayOptions":{"show":{"resource":["company"],"operation":["update"]}},"default":"","description":"Unique identifier for a particular company"},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["company"],"operation":["update"]}},"options":[{"displayName":"About Us","name":"aboutUs","type":"string","default":""},{"displayName":"Annual Revenue","name":"annualRevenue","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The actual or estimated annual revenue of the company"},{"displayName":"City","name":"city","type":"string","default":"","description":"The city where the company is located"},{"displayName":"Close Date","name":"closeDate","type":"dateTime","default":"","description":"The date the company or organization was closed as a customer"},{"displayName":"Company Domain Name","name":"companyDomainName","type":"string","default":"","description":"The domain name of the company or organization"},{"displayName":"Company Owmer Name or ID","name":"companyOwner","type":"options","typeOptions":{"loadOptionsMethod":"getOwners"},"default":"","description":"The owner of the company. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Country/Region","name":"countryRegion","type":"string","default":"","description":"The country/region in which the company or organization is located"},{"displayName":"Custom Properties","name":"customPropertiesUi","placeholder":"Add Custom Property","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"customPropertiesValues","displayName":"Custom Property","values":[{"displayName":"Property Name or ID","name":"property","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyCustomProperties"},"default":"","description":"Name of the property. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the property"}]}]},{"displayName":"Description","name":"description","type":"string","default":"","description":"A short statement about the company's mission and goals"},{"displayName":"Facebook Fans","name":"facebookFans","type":"number","typeOptions":{"minValue":0},"default":0,"description":"Number of facebook fans"},{"displayName":"Google Plus Page","name":"googlePlusPage","type":"string","default":"","description":"The URL of the Google Plus page for the company or organization"},{"displayName":"Industry Name or ID","name":"industry","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyIndustries"},"default":"","description":"The type of business the company performs. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Is Public","name":"isPublic","type":"boolean","default":false,"description":"Whether that the company is publicly traded"},{"displayName":"Lead Status Name or ID","name":"leadStatus","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyleadStatuses"},"default":"","description":"The company's sales, prospecting or outreach status. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Lifecycle Stage Name or ID","name":"lifecycleStatus","type":"options","typeOptions":{"loadOptionsMethod":"getCompanylifecycleStages"},"default":"","description":"The most advanced lifecycle stage across all contacts associated with this company or organization. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Linkedin Bio","name":"linkedinBio","type":"string","default":"","description":"The LinkedIn bio for the company or organization"},{"displayName":"LinkedIn Company Page","name":"linkedInCompanyPage","type":"string","default":"","description":"The URL of the LinkedIn company page for the company or organization"},{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Number Of Employees","name":"numberOfEmployees","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The total number of employees who work for the company or organization"},{"displayName":"Original Source Type Name or ID","name":"originalSourceType","type":"options","typeOptions":{"loadOptionsMethod":"getCompanySourceTypes"},"default":"","description":"Original source for the contact with the earliest activity for this company or organization. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Phone Number","name":"phoneNumber","type":"string","default":"","description":"A company's primary phone number. Powered by HubSpot Insights."},{"displayName":"Postal Code","name":"postalCode","type":"string","default":"","description":"The postal or zip code of the company or organization. Powered by HubSpot Insights."},{"displayName":"State/Region","name":"stateRegion","type":"string","default":"","description":"The state or region in which the company or organization is located. Powered by HubSpot Insights."},{"displayName":"Street Address","name":"streetAddress","type":"string","default":"","description":"The street address of the company or organization, including unit number. Powered by HubSpot Insights."},{"displayName":"Street Address 2","name":"streetAddress2","type":"string","default":"","description":"The additional address of the company or organization. Powered by HubSpot Insights."},{"displayName":"Target Account Name or ID","name":"targetAccount","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyTargetAccounts"},"default":"","description":"The Target Account property is a means to flag high priority companies if you are following an account based strategy. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Timezone","name":"timezone","type":"string","default":"","description":"The time zone where the company or organization is located. Powered by HubSpot Insights."},{"displayName":"Total Money Raised","name":"totalMoneyRaised","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The total amount of money raised by the company. Powered by HubSpot Insights."},{"displayName":"Twitter Bio","name":"twitterBio","type":"string","default":"","description":"The Twitter bio of the company or organization"},{"displayName":"Twitter Followers","name":"twitterFollowers","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The number of Twitter followers of the company or organization"},{"displayName":"Twitter Handle","name":"twitterHandle","type":"string","default":"","description":"The main twitter account of the company or organization"},{"displayName":"Type Name or ID","name":"type","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyTypes"},"default":"","description":"The optional classification of this company record - prospect, partner, etc. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Web Technologies Name or ID","name":"webTechnologies","type":"options","typeOptions":{"loadOptionsMethod":"getCompanyWebTechnologies"},"default":"","description":"The web technologies used by the company or organization. Powered by HubSpot Insights. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Website URL","name":"websiteUrl","type":"string","default":"","description":"The main website of the company or organization. This property is used to identify unique companies. Powered by HubSpot Insights."},{"displayName":"Year Founded","name":"yearFounded","type":"string","default":"","description":"The year the company was created. Powered by HubSpot Insights."}]},{"displayName":"Company ID","name":"companyId","type":"string","required":true,"displayOptions":{"show":{"resource":["company"],"operation":["get"]}},"default":"","description":"Unique identifier for a particular company"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["company"],"operation":["get"]}},"options":[{"displayName":"Include Merge Audits","name":"includeMergeAudits","type":"boolean","default":false,"description":"Whether to return any merge history if the company has been previously merged with another company record. Defaults to false."}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["company"],"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":["company"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["company"],"operation":["getAll"]}},"options":[{"displayName":"Include Merge Audits","name":"includeMergeAudits","type":"boolean","default":false,"description":"Whether to return any merge history if a company has been previously merged with another company record. Defaults to false."},{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getCompanyProperties"},"default":[],"description":"<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your companies.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Properties With History","name":"propertiesWithHistory","type":"string","default":"","description":"Works similarly to properties=, but this parameter will include the history for the specified property, instead of just including the current value. Use this parameter when you need the full history of changes to a property's value."}]},{"displayName":"Company ID","name":"companyId","type":"string","required":true,"displayOptions":{"show":{"resource":["company"],"operation":["delete"]}},"default":"","description":"Unique identifier for a particular company"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["company"],"operation":["getRecentlyCreated","getRecentlyModified"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["company"],"operation":["getRecentlyCreated","getRecentlyModified"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["company"],"operation":["getRecentlyModified"]}},"options":[{"displayName":"Since","name":"since","type":"dateTime","default":"","description":"Only return companys created after timestamp x"},{"displayName":"Include Property Versions","name":"includePropertyVersions","type":"boolean","default":false,"description":"By default, you will only get data for the most recent version of a property in the \"versions\" data. If you include this parameter, you will get data for all previous versions."}]},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"resource":["company"],"operation":["searchByDomain"]}},"required":true,"default":""},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["company"],"operation":["searchByDomain"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["company"],"operation":["searchByDomain"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["company"],"operation":["searchByDomain"]}},"options":[{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getCompanyProperties"},"default":[],"description":"<p>Used to include specific company properties in the results. By default, the results will only include company ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["deal"]}},"options":[{"name":"Create","value":"create","description":"Create a deal","action":"Create a deal"},{"name":"Delete","value":"delete","description":"Delete a deal","action":"Delete a deal"},{"name":"Get","value":"get","description":"Get a deal","action":"Get a deal"},{"name":"Get Many","value":"getAll","description":"Get many deals","action":"Get many deals"},{"name":"Get Recently Created","value":"getRecentlyCreated","description":"Get recently created deals","action":"Get recently created deals"},{"name":"Get Recently Modified","value":"getRecentlyModified","description":"Get recently modified deals","action":"Get recently modified deals"},{"name":"Search","value":"search","description":"Search deals","action":"Search for deals"},{"name":"Update","value":"update","description":"Update a deal","action":"Update a deal"}],"default":"create"},{"displayName":"Deal Stage Name or ID","name":"stage","type":"options","required":true,"typeOptions":{"loadOptionsMethod":"getDealStages"},"displayOptions":{"show":{"resource":["deal"],"operation":["create"]}},"default":"","options":[],"description":"The dealstage is required when creating a deal. See the CRM Pipelines API for details on managing pipelines and stages. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["deal"],"operation":["create"]}},"options":[{"displayName":"Amount","name":"amount","type":"string","default":""},{"displayName":"Associated Company Names or IDs","name":"associatedCompany","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getCompanies"},"default":[]},{"displayName":"Associated Vid Names or IDs","name":"associatedVids","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getContacts"},"default":[]},{"displayName":"Close Date","name":"closeDate","type":"dateTime","default":""},{"displayName":"Custom Properties","name":"customPropertiesUi","placeholder":"Add Custom Property","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"customPropertiesValues","displayName":"Custom Property","values":[{"displayName":"Property Name or ID","name":"property","type":"options","typeOptions":{"loadOptionsMethod":"getDealCustomProperties"},"default":"","description":"Name of the property. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the property"}]}]},{"displayName":"Deal Description","name":"description","type":"string","default":""},{"displayName":"Deal Name","name":"dealName","type":"string","default":""},{"displayName":"Deal Type Name or ID","name":"dealType","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":"getDealTypes"},"default":""},{"displayName":"Pipeline","name":"pipeline","type":"string","default":""}]},{"displayName":"Deal ID","name":"dealId","type":"string","required":true,"displayOptions":{"show":{"resource":["deal"],"operation":["update"]}},"default":"","description":"Unique identifier for a particular deal"},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Update Field","default":{},"displayOptions":{"show":{"resource":["deal"],"operation":["update"]}},"options":[{"displayName":"Amount","name":"amount","type":"string","default":""},{"displayName":"Close Date","name":"closeDate","type":"dateTime","default":""},{"displayName":"Custom Properties","name":"customPropertiesUi","placeholder":"Add Custom Property","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"customPropertiesValues","displayName":"Custom Property","values":[{"displayName":"Property Name or ID","name":"property","type":"options","typeOptions":{"loadOptionsMethod":"getDealCustomProperties"},"default":"","description":"Name of the property. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value of the property"}]}]},{"displayName":"Deal Description","name":"description","type":"string","default":""},{"displayName":"Deal Name","name":"dealName","type":"string","default":""},{"displayName":"Deal Stage Name or ID","name":"stage","type":"options","typeOptions":{"loadOptionsMethod":"getDealStages"},"default":"","description":"The dealstage is required when creating a deal. See the CRM Pipelines API for details on managing pipelines and stages. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Deal Type Name or ID","name":"dealType","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":"getDealTypes"},"default":""},{"displayName":"Pipeline","name":"pipeline","type":"string","default":""}]},{"displayName":"Deal ID","name":"dealId","type":"string","required":true,"displayOptions":{"show":{"resource":["deal"],"operation":["get"]}},"default":"","description":"Unique identifier for a particular deal"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["deal"],"operation":["get"]}},"options":[{"displayName":"Include Property Versions","name":"includePropertyVersions","type":"boolean","default":false,"description":"By default, you will only get data for the most recent version of a property in the \"versions\" data. If you include this parameter, you will get data for all previous versions."}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["deal"],"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":["deal"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["deal"],"operation":["getAll"]}},"options":[{"displayName":"Include Associations","name":"includeAssociations","type":"boolean","default":false,"description":"Whether to include the IDs of the associated contacts and companies in the results. This will also automatically include the num_associated_contacts property."},{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getDealProperties"},"default":[],"description":"<p>Used to include specific deal properties in the results. By default, the results will only include Deal ID and will not include the values for any properties for your Deals.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Properties with History","name":"propertiesWithHistory","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getDealProperties"},"default":[],"description":"Works similarly to properties=, but this parameter will include the history for the specified property, instead of just including the current value. Use this parameter when you need the full history of changes to a property's value. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]},{"displayName":"Deal ID","name":"dealId","type":"string","required":true,"displayOptions":{"show":{"resource":["deal"],"operation":["delete"]}},"default":"","description":"Unique identifier for a particular deal"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["deal"],"operation":["getRecentlyCreated","getRecentlyModified"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["deal"],"operation":["getRecentlyCreated","getRecentlyModified"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["deal"],"operation":["getRecentlyCreated","getRecentlyModified"]}},"options":[{"displayName":"Since","name":"since","type":"dateTime","default":"","description":"Only return deals created after timestamp x"},{"displayName":"Include Property Versions","name":"includePropertyVersions","type":"boolean","default":false,"description":"By default, you will only get data for the most recent version of a property in the \"versions\" data. If you include this parameter, you will get data for all previous versions."}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["deal"],"operation":["search"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["deal"],"operation":["search"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Filter Groups","name":"filterGroupsUi","type":"fixedCollection","default":{},"placeholder":"Add Filter Group","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["deal"],"operation":["search"]}},"options":[{"name":"filterGroupsValues","displayName":"Filter Group","values":[{"displayName":"Filters","name":"filtersUi","type":"fixedCollection","default":{},"placeholder":"Add Filter","typeOptions":{"multipleValues":true},"options":[{"name":"filterValues","displayName":"Filter","values":[{"displayName":"Property Name or ID","name":"propertyName","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":"getDealProperties"},"default":""},{"displayName":"Operator","name":"operator","type":"options","options":[{"name":"Contains Exactly","value":"CONTAINS_TOKEN"},{"name":"Equal","value":"EQ"},{"name":"Greater Than","value":"GT"},{"name":"Greater Than Or Equal","value":"GTE"},{"name":"Is Known","value":"HAS_PROPERTY"},{"name":"Is Unknown","value":"NOT_HAS_PROPERTY"},{"name":"Less Than","value":"LT"},{"name":"Less Than Or Equal","value":"LTE"},{"name":"Not Equal","value":"NEQ"}],"default":"EQ"},{"displayName":"Value","name":"value","displayOptions":{"hide":{"operator":["HAS_PROPERTY","NOT_HAS_PROPERTY"]}},"type":"string","default":""}]}],"description":"Use filters to limit the results to only CRM objects with matching property values. More info <a href=\"https://developers.hubspot.com/docs/api/crm/search\">here</a>."}]}],"description":"When multiple filters are provided within a filterGroup, they will be combined using a logical AND operator. When multiple filterGroups are provided, they will be combined using a logical OR operator. The system supports a maximum of three filterGroups with up to three filters each. More info <a href=\"https://developers.hubspot.com/docs/api/crm/search\">here</a>"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["deal"],"operation":["search"]}},"options":[{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASCENDING"},{"name":"DESC","value":"DESCENDING"}],"default":"DESCENDING","description":"Defines the direction in which search results are ordered. Default value is DESC."},{"displayName":"Field Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getDealProperties"},"default":[],"description":"<p>Used to include specific deal properties in the results. By default, the results will only include Deal ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Query","name":"query","type":"string","default":"","description":"Perform a text search against all property values for an object type"},{"displayName":"Sort By","name":"sortBy","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":"getDealProperties"},"default":"createdate"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["engagement"]}},"options":[{"name":"Create","value":"create","description":"Create an engagement","action":"Create an engagement"},{"name":"Delete","value":"delete","description":"Delete an engagement","action":"Delete an engagement"},{"name":"Get","value":"get","description":"Get an engagement","action":"Get an engagement"},{"name":"Get Many","value":"getAll","description":"Get many engagements","action":"Get many engagements"}],"default":"create"},{"displayName":"Type","name":"type","type":"options","required":true,"options":[{"name":"Call","value":"call"},{"name":"Email","value":"email"},{"name":"Meeting","value":"meeting"},{"name":"Task","value":"task"}],"displayOptions":{"show":{"resource":["engagement"],"operation":["create"]}},"default":""},{"displayName":"Metadata","name":"metadata","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["engagement"],"operation":["create"],"type":["task"]}},"options":[{"displayName":"Body","name":"body","type":"string","default":""},{"displayName":"For Object Type","name":"forObjectType","type":"options","options":[{"name":"Company","value":"COMPANY"},{"name":"Contact","value":"CONTACT"}],"default":""},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Completed","value":"COMPLETED"},{"name":"Deferred","value":"DEFERRED"},{"name":"In Progress","value":"IN_PROGRESS"},{"name":"Not Started","value":"NOT_STARTED"},{"name":"Waiting","value":"WAITING"}],"default":""},{"displayName":"Subject","name":"subject","type":"string","default":""}]},{"displayName":"Metadata","name":"metadata","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["engagement"],"operation":["create"],"type":["email"]}},"options":[{"displayName":"BCC","name":"bcc","type":"string","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add BCC"},"default":""},{"displayName":"CC","name":"cc","type":"string","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add CC"},"default":""},{"displayName":"From Email","name":"fromEmail","type":"string","default":""},{"displayName":"From First Name","name":"firstName","type":"string","default":""},{"displayName":"From Last Name","name":"lastName","type":"string","default":""},{"displayName":"HTML","name":"html","type":"string","default":""},{"displayName":"Subject","name":"subject","type":"string","default":""},{"displayName":"To Emails","name":"toEmail","type":"string","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Email"},"default":""}]},{"displayName":"Metadata","name":"metadata","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["engagement"],"operation":["create"],"type":["meeting"]}},"options":[{"displayName":"Body","name":"body","type":"string","default":""},{"displayName":"End Time","name":"endTime","type":"dateTime","default":""},{"displayName":"Internal Meeting Notes","name":"internalMeetingNotes","type":"string","default":""},{"displayName":"Start Time","name":"startTime","type":"dateTime","default":""},{"displayName":"Title","name":"title","type":"string","default":""}]},{"displayName":"Metadata","name":"metadata","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["engagement"],"operation":["create"],"type":["call"]}},"options":[{"displayName":"Body","name":"body","type":"string","default":""},{"displayName":"Duration Milliseconds","name":"durationMilliseconds","type":"number","default":0},{"displayName":"From Number","name":"fromNumber","type":"string","default":""},{"displayName":"Recording URL","name":"recordingUrl","type":"string","default":""},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Busy","value":"BUSY"},{"name":"Calling CRM User","value":"CALLING_CRM_USER"},{"name":"Canceled","value":"CANCELED"},{"name":"Completed","value":"COMPLETED"},{"name":"Connecting","value":"CONNECTING"},{"name":"Failed","value":"FAILED"},{"name":"In Progress","value":"IN_PROGRESS"},{"name":"No Answer","value":"NO_ANSWER"},{"name":"Queued","value":"QUEUED"},{"name":"Ringing","value":"RINGING"}],"default":"QUEUED"},{"displayName":"To Number","name":"toNumber","type":"string","default":""}]},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["engagement"],"operation":["create"]}},"options":[{"displayName":"Associations","name":"associations","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Company IDs","name":"companyIds","type":"string","default":""},{"displayName":"Contact IDs","name":"contactIds","type":"string","default":""},{"displayName":"Deals IDs","name":"dealIds","type":"string","default":""},{"displayName":"Owner IDs","name":"ownerIds","type":"string","default":""},{"displayName":"Ticket IDs","name":"ticketIds","type":"string","default":""}]}]},{"displayName":"Engagement ID","name":"engagementId","type":"string","required":true,"displayOptions":{"show":{"resource":["engagement"],"operation":["get","delete"]}},"default":"","description":"Unique identifier for a particular engagement"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["engagement"],"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":["engagement"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["form"]}},"options":[{"name":"Get Fields","value":"getFields","description":"Get all fields from a form","action":"Get all fields from a form"},{"name":"Submit","value":"submit","description":"Submit data to a form","action":"Submit a form"}],"default":"getFields"},{"displayName":"Form Name or ID","name":"formId","type":"options","typeOptions":{"loadOptionsMethod":"getForms"},"required":true,"displayOptions":{"show":{"resource":["form"],"operation":["submit"]}},"default":"","description":"The ID of the form you're sending data to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["form"],"operation":["submit"]}},"options":[{"displayName":"Skip Validation","name":"skipValidation","type":"boolean","default":false,"description":"Whether or not to skip validation based on the form settings"},{"displayName":"Submitted At","name":"submittedAt","type":"dateTime","default":"","description":"Time of the form submission"}]},{"displayName":"Context","name":"contextUi","placeholder":"Add Context","type":"fixedCollection","typeOptions":{"multipleValues":false},"displayOptions":{"show":{"resource":["form"],"operation":["submit"]}},"default":{},"options":[{"displayName":"Context","name":"contextValue","values":[{"displayName":"HubSpot Usertoken","name":"hutk","type":"string","default":"","description":"Include this parameter and set it to the hubspotutk cookie value to enable cookie tracking on your submission"},{"displayName":"IP Address","name":"ipAddress","type":"string","default":"","description":"The IP address of the visitor filling out the form"},{"displayName":"Page URI","name":"pageUri","type":"string","default":"","description":"The URI of the page the submission happened on"},{"displayName":"Page Name","name":"pageName","type":"string","default":"","description":"The name or title of the page the submission happened on"},{"displayName":"Page ID","name":"pageId","type":"string","default":"","description":"The ID of a page created on the HubSpot CMS"},{"displayName":"SFDC Campaign ID","name":"sfdcCampaignId","type":"string","default":"","description":"If the form is for an account using the HubSpot Salesforce Integration, you can include the ID of a Salesforce campaign to add the contact to the specified campaign"},{"displayName":"Go to Webinar Webinar ID","name":"goToWebinarWebinarKey","type":"string","default":"","description":"If the form is for an account using the HubSpot GoToWebinar Integration, you can include the ID of a webinar to enroll the contact in that webinar when they submit the form"}]}]},{"displayName":"Legal Consent","name":"lengalConsentUi","placeholder":"Add Legal Consent","type":"fixedCollection","typeOptions":{"multipleValues":false},"displayOptions":{"show":{"resource":["form"],"operation":["submit"]}},"default":{},"options":[{"displayName":"Consent","name":"lengalConsentValues","values":[{"displayName":"Consent To Process","name":"consentToProcess","type":"boolean","default":false,"description":"Whether or not the visitor checked the Consent to process checkbox"},{"displayName":"Text","name":"text","type":"string","default":"","description":"The text displayed to the visitor for the Consent to process checkbox"},{"displayName":"Communications","name":"communicationsUi","placeholder":"Add Communication","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"displayName":"Communication","name":"communicationValues","values":[{"displayName":"Subcription Type Name or ID","name":"subscriptionTypeId","type":"options","typeOptions":{"loadOptionsMethod":"getSubscriptionTypes"},"default":"","description":"The ID of the specific subscription type. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"boolean","default":false,"description":"Whether or not the visitor checked the checkbox for this subscription type"},{"displayName":"Text","name":"text","type":"string","default":"","description":"The text displayed to the visitor for this specific subscription checkbox"}]}]}]},{"displayName":"Legitimate Interest","name":"legitimateInterestValues","values":[{"displayName":"Subcription Type Name or ID","name":"subscriptionTypeId","type":"options","typeOptions":{"loadOptionsMethod":"getSubscriptionTypes"},"default":"","description":"The ID of the specific subscription type that this forms indicates interest to. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Value","name":"value","type":"boolean","default":false,"description":"This must be true when using the 'legitimateInterest' option, as it reflects the consent indicated by the visitor when submitting the form"},{"displayName":"Legal Basis","name":"legalBasis","type":"options","options":[{"name":"Customer","value":"CUSTOMER"},{"name":"Lead","value":"LEAD"}],"default":"","description":"The privacy text displayed to the visitor"},{"displayName":"Text","name":"text","type":"string","default":"","description":"The privacy text displayed to the visitor"}]}]},{"displayName":"Form Name or ID","name":"formId","type":"options","typeOptions":{"loadOptionsMethod":"getForms"},"required":true,"displayOptions":{"show":{"resource":["form"],"operation":["getFields"]}},"default":"","description":"The ID of the form. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["ticket"]}},"options":[{"name":"Create","value":"create","description":"Create a ticket","action":"Create a ticket"},{"name":"Delete","value":"delete","description":"Delete a ticket","action":"Delete a ticket"},{"name":"Get","value":"get","description":"Get a ticket","action":"Get a ticket"},{"name":"Get Many","value":"getAll","description":"Get many tickets","action":"Get many tickets"},{"name":"Update","value":"update","description":"Update a ticket","action":"Update a ticket"}],"default":"create"},{"displayName":"Pipeline Name or ID","name":"pipelineId","type":"options","required":true,"typeOptions":{"loadOptionsMethod":"getTicketPipelines"},"displayOptions":{"show":{"resource":["ticket"],"operation":["create"]}},"default":"","description":"The ID of the pipeline the ticket is in. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Stage Name or ID","name":"stageId","type":"options","required":true,"typeOptions":{"loadOptionsMethod":"getTicketStages","loadOptionsDependsOn":["pipelineId"]},"displayOptions":{"show":{"resource":["ticket"],"operation":["create"]}},"default":"","description":"The ID of the pipeline the ticket is in. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Ticket Name","name":"ticketName","type":"string","required":true,"displayOptions":{"show":{"resource":["ticket"],"operation":["create"]}},"default":"","description":"The ID of the pipeline the ticket is in"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["ticket"],"operation":["create"]}},"options":[{"displayName":"Company Names or IDs","name":"associatedCompanyIds","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getCompanies"},"default":[],"description":"Companies associated with the ticket. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Contact Names or IDs","name":"associatedContactIds","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getContacts"},"default":[],"description":"Contacts associated with the ticket. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Category Name or ID","name":"category","type":"options","typeOptions":{"loadOptionsMethod":"getTicketCategories"},"default":"","description":"Main reason customer reached out for help. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Close Date","name":"closeDate","type":"dateTime","default":"","description":"The date the ticket was closed"},{"displayName":"Create Date","name":"createDate","type":"dateTime","default":"","description":"The date the ticket was created"},{"displayName":"Description","name":"description","type":"string","default":"","description":"Description of the ticket"},{"displayName":"Priority Name or ID","name":"priority","type":"options","typeOptions":{"loadOptionsMethod":"getTicketPriorities"},"default":"","description":"The level of attention needed on the ticket. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Resolution Name or ID","name":"resolution","type":"options","typeOptions":{"loadOptionsMethod":"getTicketResolutions"},"default":"","description":"The action taken to resolve the ticket. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Source Name or ID","name":"source","type":"options","typeOptions":{"loadOptionsMethod":"getTicketSources"},"default":"","description":"Channel where ticket was originally submitted. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Ticket Owner Name or ID","name":"ticketOwnerId","type":"options","typeOptions":{"loadOptionsMethod":"getOwners"},"default":"","description":"The user from your team that the ticket is assigned to. You can assign additional users to a ticket record by creating a custom HubSpot user property. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]},{"displayName":"Ticket ID","name":"ticketId","type":"string","required":true,"displayOptions":{"show":{"resource":["ticket"],"operation":["update"]}},"default":"","description":"Unique identifier for a particular ticket"},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["ticket"],"operation":["update"]}},"options":[{"displayName":"Company Names or IDs","name":"associatedCompanyIds","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getCompanies"},"default":[],"description":"Companies associated with the ticket. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Contact Names or IDs","name":"associatedContactIds","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getContacts"},"default":[],"description":"Contact associated with the ticket. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Category Name or ID","name":"category","type":"options","typeOptions":{"loadOptionsMethod":"getTicketCategories"},"default":"","description":"Main reason customer reached out for help. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Close Date","name":"closeDate","type":"dateTime","default":"","description":"The date the ticket was closed"},{"displayName":"Create Date","name":"createDate","type":"dateTime","default":"","description":"The date the ticket was created"},{"displayName":"Description","name":"description","type":"string","default":"","description":"Description of the ticket"},{"displayName":"Pipeline Name or ID","name":"pipelineId","type":"options","typeOptions":{"loadOptionsMethod":"getTicketPipelines"},"default":"","description":"The ID of the pipeline the ticket is in. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Priority Name or ID","name":"priority","type":"options","typeOptions":{"loadOptionsMethod":"getTicketPriorities"},"default":"","description":"The level of attention needed on the ticket. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Resolution Name or ID","name":"resolution","type":"options","typeOptions":{"loadOptionsMethod":"getTicketResolutions"},"default":"","description":"The action taken to resolve the ticket. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Source Name or ID","name":"source","type":"options","typeOptions":{"loadOptionsMethod":"getTicketSources"},"default":"","description":"Channel where ticket was originally submitted. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Stage Name or ID","name":"stageId","type":"options","typeOptions":{"loadOptionsMethod":"getTicketStages","loadOptionsDependsOn":["updateFields.pipelineId"]},"default":"","description":"The stage ID of the pipeline the ticket is in; depends on Pipeline ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Ticket Name","name":"ticketName","type":"string","default":"","description":"The ID of the pipeline the ticket is in"},{"displayName":"Ticket Owner Name or ID","name":"ticketOwnerId","type":"options","typeOptions":{"loadOptionsMethod":"getOwners"},"default":"","description":"The user from your team that the ticket is assigned to. You can assign additional users to a ticket record by creating a custom HubSpot user property. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]},{"displayName":"Ticket ID","name":"ticketId","type":"string","required":true,"displayOptions":{"show":{"resource":["ticket"],"operation":["get"]}},"default":"","description":"Unique identifier for a particular ticket"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["ticket"],"operation":["get"]}},"options":[{"displayName":"Include Deleted","name":"includeDeleted","type":"boolean","default":false},{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getTicketProperties"},"default":[],"description":"<p>Used to include specific ticket properties in the results. By default, the results will only include ticket ID and will not include the values for any properties for your tickets.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Properties With History","name":"propertiesWithHistory","type":"string","default":"","description":"Works similarly to properties=, but this parameter will include the history for the specified property, instead of just including the current value. Use this parameter when you need the full history of changes to a property's value."}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["ticket"],"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":["ticket"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":250},"default":100,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"resource":["ticket"],"operation":["getAll"]}},"options":[{"displayName":"Property Names or IDs","name":"properties","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getTicketProperties"},"default":[],"description":"<p>Used to include specific ticket properties in the results. By default, the results will only include ticket ID and will not include the values for any properties for your company.</p><p>Including this parameter will include the data for the specified property in the results. You can include this parameter multiple times to request multiple properties separated by a comma: <code>,</code>.</p>. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Properties With History","name":"propertiesWithHistory","type":"string","default":"","description":"Works similarly to properties=, but this parameter will include the history for the specified property, instead of just including the current value. Use this parameter when you need the full history of changes to a property's value."}]},{"displayName":"Ticket ID","name":"ticketId","type":"string","required":true,"displayOptions":{"show":{"resource":["ticket"],"operation":["delete"]}},"default":"","description":"Unique identifier for a particular ticket"}],"codex":{"categories":["Sales"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.hubspot/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/hubspot"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Hubspot/hubspot.svg"},
|
|
174
175
|
{"displayName":"HubSpot Trigger","name":"n8n-nodes-base.hubspotTrigger","group":["trigger"],"version":1,"description":"Starts the workflow when HubSpot events occur","defaults":{"name":"HubSpot Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"hubspotDeveloperApi","required":true}],"webhooks":[{"name":"default","httpMethod":"POST","responseMode":"onReceived","path":"webhook"},{"name":"setup","httpMethod":"GET","responseMode":"onReceived","path":"webhook"}],"properties":[{"displayName":"Events","name":"eventsUi","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Event","default":{},"options":[{"displayName":"Event","name":"eventValues","values":[{"displayName":"Name","name":"name","type":"options","options":[{"name":"Company Created","value":"company.creation","description":"To get notified if any company is created in a customer's account"},{"name":"Company Deleted","value":"company.deletion","description":"To get notified if any company is deleted in a customer's account"},{"name":"Company Property Changed","value":"company.propertyChange","description":"To get notified if a specified property is changed for any company in a customer's account"},{"name":"Contact Created","value":"contact.creation","description":"To get notified if any contact is created in a customer's account"},{"name":"Contact Deleted","value":"contact.deletion","description":"To get notified if any contact is deleted in a customer's account"},{"name":"Contact Privacy Deleted","value":"contact.privacyDeletion","description":"To get notified if a contact is deleted for privacy compliance reasons"},{"name":"Contact Property Changed","value":"contact.propertyChange","description":"To get notified if a specified property is changed for any contact in a customer's account"},{"name":"Conversation Creation","value":"conversation.creation","description":"To get notified if a new thread is created in an account"},{"name":"Conversation Deletion","value":"conversation.deletion","description":"To get notified if a thread is archived or soft-deleted in an account"},{"name":"Conversation New Message","value":"conversation.newMessage","description":"To get notified if a new message on a thread has been received"},{"name":"Conversation Privacy Deletion","value":"conversation.privacyDeletion","description":"To get notified if a thread is permanently deleted in an account"},{"name":"Conversation Property Change","value":"conversation.propertyChange","description":"To get notified if a property on a thread has been changed"},{"name":"Deal Created","value":"deal.creation","description":"To get notified if any deal is created in a customer's account"},{"name":"Deal Deleted","value":"deal.deletion","description":"To get notified if any deal is deleted in a customer's account"},{"name":"Deal Property Changed","value":"deal.propertyChange","description":"To get notified if a specified property is changed for any deal in a customer's account"}],"default":"contact.creation","required":true},{"displayName":"Property Name or ID","name":"property","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":["contact.propertyChange"],"loadOptionsMethod":"getContactProperties"},"displayOptions":{"show":{"name":["contact.propertyChange"]}},"default":"","required":true},{"displayName":"Property Name or ID","name":"property","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":["company.propertyChange"],"loadOptionsMethod":"getCompanyProperties"},"displayOptions":{"show":{"name":["company.propertyChange"]}},"default":"","required":true},{"displayName":"Property Name or ID","name":"property","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":["deal.propertyChange"],"loadOptionsMethod":"getDealProperties"},"displayOptions":{"show":{"name":["deal.propertyChange"]}},"default":"","required":true}]}]},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Max Concurrent Requests","name":"maxConcurrentRequests","type":"number","typeOptions":{"minValue":5},"default":5}]}],"codex":{"categories":["Sales"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.hubspottrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/hubspot"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Hubspot/hubspot.svg"},
|
|
175
176
|
{"displayName":"Humantic AI","name":"n8n-nodes-base.humanticAi","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Humantic AI API","defaults":{"name":"Humantic AI"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"humanticAiApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Profile","value":"profile"}],"default":"profile"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["profile"]}},"options":[{"name":"Create","value":"create","description":"Create a profile","action":"Create a profile"},{"name":"Get","value":"get","description":"Retrieve a profile","action":"Get a profile"},{"name":"Update","value":"update","description":"Update a profile","action":"Update a profile"}],"default":"create"},{"displayName":"User ID","name":"userId","type":"string","required":true,"default":"","displayOptions":{"show":{"operation":["create"],"resource":["profile"]}},"description":"The LinkedIn profile URL or email ID for creating a Humantic profile. If you are sending the resume, this should be a unique string."},{"displayName":"Send Resume","name":"sendResume","type":"boolean","default":false,"displayOptions":{"show":{"operation":["create"],"resource":["profile"]}},"description":"Whether to send a resume for a resume based analysis"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","displayOptions":{"show":{"operation":["create"],"resource":["profile"],"sendResume":[true]}},"description":"The resume in PDF or DOCX format"},{"displayName":"User ID","name":"userId","type":"string","required":true,"default":"","displayOptions":{"show":{"operation":["get"],"resource":["profile"]}},"description":"This value is the same as the User ID that was provided when the analysis was created. This could be a LinkedIn URL, email ID, or a unique string in case of resume based analysis."},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["get"],"resource":["profile"]}},"options":[{"displayName":"Persona","name":"persona","type":"multiOptions","options":[{"name":"Sales","value":"sales"},{"name":"Hiring","value":"hiring"}],"default":[],"description":"Fetch the Humantic profile of the user for a particular persona type. Multiple persona values can be supported using comma as a delimiter."}]},{"displayName":"User ID","name":"userId","type":"string","required":true,"default":"","displayOptions":{"show":{"operation":["update"],"resource":["profile"]}},"description":"This value is the same as the User ID that was provided when the analysis was created. Currently only supported for profiles created using LinkedIn URL."},{"displayName":"Send Resume","name":"sendResume","type":"boolean","default":false,"displayOptions":{"show":{"operation":["update"],"resource":["profile"]}},"description":"Whether to send a resume for a resume of the user"},{"displayName":"Text","name":"text","type":"string","default":"","displayOptions":{"show":{"operation":["update"],"resource":["profile"],"sendResume":[false]}},"description":"Additional text written by the user"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","displayOptions":{"show":{"operation":["update"],"resource":["profile"],"sendResume":[true]}},"description":"The resume in PDF or DOCX format"}],"codex":{"categories":["Analytics"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.humanticai/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/humanticAi"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/HumanticAI/humanticai.png"},
|
|
@@ -245,8 +246,9 @@
|
|
|
245
246
|
{"displayName":"MQTT","name":"n8n-nodes-base.mqtt","group":["input"],"version":1,"description":"Push messages to MQTT","defaults":{"name":"MQTT"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"mqtt","required":true,"testedBy":"mqttConnectionTest"}],"properties":[{"displayName":"Topic","name":"topic","type":"string","required":true,"default":"","description":"The topic to publish to"},{"displayName":"Send Input Data","name":"sendInputData","type":"boolean","default":true,"description":"Whether to send the the data the node receives as JSON"},{"displayName":"Message","name":"message","type":"string","required":true,"displayOptions":{"show":{"sendInputData":[false]}},"default":"","description":"The message to publish"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"QoS","name":"qos","type":"options","options":[{"name":"Received at Most Once","value":0},{"name":"Received at Least Once","value":1},{"name":"Exactly Once","value":2}],"default":0,"description":"QoS subscription level"},{"displayName":"Retain","name":"retain","type":"boolean","default":false,"description":"Normally if a publisher publishes a message to a topic, and no one is subscribed to that topic the message is simply discarded by the broker. However the publisher can tell the broker to keep the last message on that topic by setting the retain flag to true."}]}],"codex":{"categories":["Development","Communication"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mqtt/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/mqtt"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/MQTT/mqtt.svg"},
|
|
246
247
|
{"displayName":"MQTT Trigger","name":"n8n-nodes-base.mqttTrigger","group":["trigger"],"version":1,"description":"Listens to MQTT events","defaults":{"name":"MQTT Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"mqtt","required":true}],"properties":[{"displayName":"Topics","name":"topics","type":"string","default":"","description":"Topics to subscribe to, multiple can be defined with comma. Wildcard characters are supported (+ - for single level and # - for multi level). By default all subscription used QoS=0. To set a different QoS, write the QoS desired after the topic preceded by a colom. For Example: topicA:1,topicB:2"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"JSON Parse Body","name":"jsonParseBody","type":"boolean","default":false,"description":"Whether to try parse the message to an object"},{"displayName":"Only Message","name":"onlyMessage","type":"boolean","default":false,"description":"Whether to return only the message property"}]}],"codex":{"categories":["Communication","Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.mqtttrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/mqtt"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/MQTT/mqtt.svg"},
|
|
247
248
|
{"displayName":"MSG91","name":"n8n-nodes-base.msg91","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Sends transactional SMS via MSG91","defaults":{"name":"MSG91"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"msg91Api","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"SMS","value":"sms"}],"default":"sms"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["sms"]}},"options":[{"name":"Send","value":"send","description":"Send SMS","action":"Send an SMS"}],"default":"send"},{"displayName":"Sender ID","name":"from","type":"string","default":"","placeholder":"4155238886","required":true,"displayOptions":{"show":{"operation":["send"],"resource":["sms"]}},"description":"The number from which to send the message"},{"displayName":"To","name":"to","type":"string","default":"","placeholder":"+14155238886","required":true,"displayOptions":{"show":{"operation":["send"],"resource":["sms"]}},"description":"The number, with coutry code, to which to send the message"},{"displayName":"Message","name":"message","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["send"],"resource":["sms"]}},"description":"The message to send"}],"codex":{"categories":["Communication","Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.msg91/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/msg91"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Msg91/msg91.png"},
|
|
248
|
-
{"displayName":"MySQL","name":"n8n-nodes-base.mySql","group":["input"],"defaultVersion":2,"description":"Get, add and update data in MySQL","version":1,"defaults":{"name":"MySQL"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"mySql","required":true,"testedBy":"mysqlConnectionTest"}],"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","typeOptions":{"editor":"sqlEditor","sqlDialect":"mysql"},"displayOptions":{"show":{"operation":["executeQuery"]}},"default":"","placeholder":"SELECT id, name FROM product WHERE id < 40","required":true,"description":"The SQL query to execute"},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Table...","typeOptions":{"searchListMethod":"searchTables","searchFilterRequired":false,"searchable":true}},{"displayName":"Name","name":"name","type":"string","placeholder":"table_name"}],"displayOptions":{"show":{"operation":["insert"]}},"description":"Name of the table in which to insert data to"},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["insert"]}},"requiresDataPath":"multiple","default":"","placeholder":"id,name,description","description":"Comma-separated list of the properties which should used as columns for the new rows"},{"displayName":"Options","name":"options","type":"collection","displayOptions":{"show":{"operation":["insert"]}},"default":{},"placeholder":"Add modifiers","description":"Modifiers for INSERT statement","options":[{"displayName":"Ignore","name":"ignore","type":"boolean","default":true,"description":"Whether to ignore any ignorable errors that occur while executing the INSERT statement"},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement"}]},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Table...","typeOptions":{"searchListMethod":"searchTables","searchFilterRequired":false,"searchable":true}},{"displayName":"Name","name":"name","type":"string","placeholder":"table_name"}],"displayOptions":{"show":{"operation":["update"]}},"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","requiresDataPath":"multiple","displayOptions":{"show":{"operation":["update"]}},"default":"","placeholder":"name,description","description":"Comma-separated list of the properties which should used as columns for rows to update"}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/MySql/mysql.svg"},
|
|
249
|
-
{"displayName":"MySQL","name":"n8n-nodes-base.mySql","group":["input"],"defaultVersion":2,"description":"Get, add and update data in MySQL","version":2,"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"MySQL"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"mySql","required":true,"testedBy":"mysqlConnectionTest"}],"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 SQL","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":"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","placeholder":"Select a Table...","typeOptions":{"searchListMethod":"searchTables","searchable":true}},{"displayName":"Name","name":"name","type":"string","placeholder":"table_name"}],"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":"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/\">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","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE id < 40","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":"mysql"},"hint":"Prefer using query parameters over n8n expressions to avoid SQL injection attacks","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"\n\t\tTo use query parameters in your SQL query, reference them as $1, $2, $3, etc in the corresponding order. <a target=\"_blank\" href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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/\">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/\">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","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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 Below","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":{"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"],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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 Below","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":{"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"],"resource":["database"],"operation":["upsert"]},"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/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"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. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/MySql/mysql.svg","codex":{"categories":["Development","Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/mySql"}]}}},
|
|
249
|
+
{"displayName":"MySQL","name":"n8n-nodes-base.mySql","group":["input"],"defaultVersion":2.1,"description":"Get, add and update data in MySQL","version":1,"defaults":{"name":"MySQL"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"mySql","required":true,"testedBy":"mysqlConnectionTest"}],"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","typeOptions":{"editor":"sqlEditor","sqlDialect":"mysql"},"displayOptions":{"show":{"operation":["executeQuery"]}},"default":"","placeholder":"SELECT id, name FROM product WHERE id < 40","required":true,"description":"The SQL query to execute"},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Table...","typeOptions":{"searchListMethod":"searchTables","searchFilterRequired":false,"searchable":true}},{"displayName":"Name","name":"name","type":"string","placeholder":"table_name"}],"displayOptions":{"show":{"operation":["insert"]}},"description":"Name of the table in which to insert data to"},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["insert"]}},"requiresDataPath":"multiple","default":"","placeholder":"id,name,description","description":"Comma-separated list of the properties which should used as columns for the new rows"},{"displayName":"Options","name":"options","type":"collection","displayOptions":{"show":{"operation":["insert"]}},"default":{},"placeholder":"Add modifiers","description":"Modifiers for INSERT statement","options":[{"displayName":"Ignore","name":"ignore","type":"boolean","default":true,"description":"Whether to ignore any ignorable errors that occur while executing the INSERT statement"},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement"}]},{"displayName":"Table","name":"table","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Table...","typeOptions":{"searchListMethod":"searchTables","searchFilterRequired":false,"searchable":true}},{"displayName":"Name","name":"name","type":"string","placeholder":"table_name"}],"displayOptions":{"show":{"operation":["update"]}},"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","requiresDataPath":"multiple","displayOptions":{"show":{"operation":["update"]}},"default":"","placeholder":"name,description","description":"Comma-separated list of the properties which should used as columns for rows to update"}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/MySql/mysql.svg"},
|
|
250
|
+
{"displayName":"MySQL","name":"n8n-nodes-base.mySql","group":["input"],"defaultVersion":2.1,"description":"Get, add and update data in MySQL","version":[2,2.1],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"MySQL"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"mySql","required":true,"testedBy":"mysqlConnectionTest"}],"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 SQL","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":"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","placeholder":"Select a Table...","typeOptions":{"searchListMethod":"searchTables","searchable":true}},{"displayName":"Name","name":"name","type":"string","placeholder":"table_name"}],"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":"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/\">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","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE id < 40","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":"mysql"},"hint":"Prefer using query parameters over n8n expressions to avoid SQL injection attacks","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"\n\t\tTo use query parameters in your SQL query, reference them as $1, $2, $3, etc in the corresponding order. <a target=\"_blank\" href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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/\">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/\">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","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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 Below","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":{"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"],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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 Below","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":{"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"],"resource":["database"],"operation":["upsert"]},"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/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"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. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/MySql/mysql.svg"},
|
|
251
|
+
{"displayName":"MySQL","name":"n8n-nodes-base.mySql","group":["input"],"defaultVersion":2.1,"description":"Get, add and update data in MySQL","version":[2,2.1],"subtitle":"={{ $parameter[\"operation\"] }}","defaults":{"name":"MySQL"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"mySql","required":true,"testedBy":"mysqlConnectionTest"}],"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 SQL","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":"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","placeholder":"Select a Table...","typeOptions":{"searchListMethod":"searchTables","searchable":true}},{"displayName":"Name","name":"name","type":"string","placeholder":"table_name"}],"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":"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/\">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","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE id < 40","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":"mysql"},"hint":"Prefer using query parameters over n8n expressions to avoid SQL injection attacks","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"\n\t\tTo use query parameters in your SQL query, reference them as $1, $2, $3, etc in the corresponding order. <a target=\"_blank\" href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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/\">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/\">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","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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 Below","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":{"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"],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"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 Below","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":{"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"],"resource":["database"],"operation":["upsert"]},"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/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"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. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","options":[{"displayName":"Connection Timeout","name":"connectionTimeoutMillis","type":"number","default":30,"description":"Number of milliseconds reserved for connecting to the database","typeOptions":{"minValue":1}},{"displayName":"Connections Limit","name":"connectionLimit","type":"number","default":10,"typeOptions":{"minValue":1},"description":"Maximum amount of connections to the database, setting high value can lead to performance issues and potential database crashes"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"description":"The way queries should be sent to the database","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"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","placeholder":"e.g. value1,value2,value3","description":"Comma-separated list of the values you want to use as query parameters. You can drag the values from the input panel on the left. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/\">More info</a>","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select"]}}},{"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","displayOptions":{"show":{"/operation":["select","executeQuery"]}}},{"displayName":"Priority","name":"priority","type":"options","options":[{"name":"Low Prioirity","value":"LOW_PRIORITY","description":"Delays execution of the INSERT until no other clients are reading from the table"},{"name":"High Priority","value":"HIGH_PRIORITY","description":"Overrides the effect of the --low-priority-updates option if the server was started with that option. It also causes concurrent inserts not to be used."}],"default":"LOW_PRIORITY","description":"Ignore any ignorable errors that occur while executing the INSERT statement","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"]}}},{"displayName":"Select Distinct","name":"selectDistinct","type":"boolean","default":false,"description":"Whether to remove these duplicate rows","displayOptions":{"show":{"/operation":["select"]}}},{"displayName":"Output Query Execution Details","name":"detailedOutput","type":"boolean","default":false,"description":"Whether to show in output details of the ofexecuted query for each statement, or just confirmation of success"},{"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"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/MySql/mysql.svg","codex":{"categories":["Development","Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mysql/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/mySql"}]}}},
|
|
250
252
|
{"displayName":"n8n","name":"n8n-nodes-base.n8n","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Handle events and perform actions on your n8n instance","defaults":{"name":"n8n"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"n8nApi","required":true}],"requestDefaults":{"returnFullResponse":true,"baseURL":"={{ $credentials.baseUrl.replace(new RegExp(\"/$\"), \"\") }}","headers":{"Accept":"application/json","Content-Type":"application/json"}},"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Audit","value":"audit"},{"name":"Credential","value":"credential"},{"name":"Execution","value":"execution"},{"name":"Workflow","value":"workflow"}],"default":"workflow"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"get","displayOptions":{"show":{"resource":["audit"]}},"options":[{"name":"Generate","value":"generate","action":"Generate a security audit","description":"Generate a security audit for this n8n instance","routing":{"request":{"method":"POST","url":"/audit"}}}]},{"displayName":"Additional Options","name":"additionalOptions","type":"collection","placeholder":"Add Filter","displayOptions":{"show":{"resource":["audit"]}},"routing":{"request":{"body":{"additionalOptions":"={{ $value }}"}}},"default":{},"options":[{"displayName":"Categories","name":"categories","description":"Risk categories to include in the audit","type":"multiOptions","default":[],"options":[{"name":"Credentials","value":"credentials"},{"name":"Database","value":"database"},{"name":"Filesystem","value":"filesystem"},{"name":"Instance","value":"instance"},{"name":"Nodes","value":"nodes"}]},{"displayName":"Days Abandoned Workflow","name":"daysAbandonedWorkflow","description":"Days for a workflow to be considered abandoned if not executed","type":"number","default":90}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"create","displayOptions":{"show":{"resource":["credential"]}},"options":[{"name":"Create","value":"create","action":"Create a credential","routing":{"request":{"method":"POST","url":"/credentials"}}},{"name":"Delete","value":"delete","action":"Delete a credential","routing":{"request":{"method":"DELETE","url":"=/credentials/{{ $parameter.credentialId }}"}}},{"name":"Get Schema","value":"getSchema","action":"Get credential data schema for type","routing":{"request":{"method":"GET","url":"=/credentials/schema/{{ $parameter.credentialTypeName }}"}}}]},{"displayName":"Name","name":"name","type":"string","default":"","placeholder":"e.g. n8n account","required":true,"displayOptions":{"show":{"resource":["credential"],"operation":["create"]}},"routing":{"request":{"body":{"name":"={{ $value }}"}}},"description":"Name of the new credential"},{"displayName":"Credential Type","name":"credentialTypeName","type":"string","placeholder":"e.g. n8nApi","default":"","required":true,"displayOptions":{"show":{"resource":["credential"],"operation":["create"]}},"routing":{"request":{"body":{"type":"={{ $value }}"}}},"description":"The available types depend on nodes installed on the n8n instance. Some built-in types include e.g. 'githubApi', 'notionApi', and 'slackApi'."},{"displayName":"Data","name":"data","type":"json","default":"","placeholder":"// e.g. for n8nApi \n{\n \"apiKey\": \"my-n8n-api-key\",\n \"baseUrl\": \"https://<name>.app.n8n.cloud/api/v1\",\n}","required":true,"typeOptions":{"alwaysOpenEditWindow":true},"displayOptions":{"show":{"resource":["credential"],"operation":["create"]}},"routing":{"send":{"preSend":[null]}},"description":"A valid JSON object with properties required for this Credential Type. To see the expected format, you can use 'Get Schema' operation."},{"displayName":"Credential ID","name":"credentialId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["credential"],"operation":["delete"]}}},{"displayName":"Credential Type","name":"credentialTypeName","default":"","placeholder":"e.g. n8nApi","required":true,"type":"string","displayOptions":{"show":{"resource":["credential"],"operation":["getSchema"]}},"description":"The available types depend on nodes installed on the n8n instance. Some built-in types include e.g. 'githubApi', 'notionApi', and 'slackApi'."},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"getAll","displayOptions":{"show":{"resource":["execution"]}},"options":[{"name":"Get","value":"get","action":"Get an execution","routing":{"request":{"method":"GET","url":"=/executions/{{ $parameter.executionId }}"}}},{"name":"Get Many","value":"getAll","action":"Get many executions","routing":{"request":{"method":"GET","url":"/executions"},"send":{"paginate":true},"operations":{}}},{"name":"Delete","value":"delete","action":"Delete an execution","routing":{"request":{"method":"DELETE","url":"=/executions/{{ $parameter.executionId }}"}}}]},{"displayName":"Execution ID","name":"executionId","type":"string","required":true,"displayOptions":{"show":{"resource":["execution"],"operation":["delete"]}},"default":""},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"displayOptions":{"show":{"resource":["execution"],"operation":["getAll"]}},"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","default":100,"typeOptions":{"minValue":1,"maxValue":250},"displayOptions":{"show":{"resource":["execution"],"operation":["getAll"],"returnAll":[false]}},"routing":{"request":{"qs":{"limit":"={{ $value }}"}}},"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","placeholder":"Add Filter","default":{},"displayOptions":{"show":{"resource":["execution"],"operation":["getAll"]}},"options":[{"displayName":"Workflow","name":"workflowId","type":"resourceLocator","default":{"mode":"list","value":""},"description":"Workflow to filter the executions by","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Workflow...","initType":"workflow","typeOptions":{"searchListMethod":"searchWorkflows","searchFilterRequired":false,"searchable":true}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://myinstance.app.n8n.cloud/workflow/1","validation":[{"type":"regex","properties":{"regex":".*/workflow/([0-9]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Workflow ID"}}],"placeholder":"1"}],"routing":{"send":{"type":"query","property":"workflowId","value":"={{ $value || undefined }}"}}},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Error","value":"error"},{"name":"Success","value":"success"},{"name":"Waiting","value":"waiting"}],"default":"success","routing":{"send":{"type":"query","property":"status","value":"={{ $value }}"}},"description":"Status to filter the executions by"}]},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","displayOptions":{"show":{"resource":["execution"],"operation":["getAll"]}},"options":[{"displayName":"Include Execution Details","name":"activeWorkflows","type":"boolean","default":false,"routing":{"send":{"type":"query","property":"includeData","value":"={{ $value }}"}},"description":"Whether to include the detailed execution data"}]},{"displayName":"Execution ID","name":"executionId","type":"string","required":true,"default":"","displayOptions":{"show":{"resource":["execution"],"operation":["get"]}}},{"displayName":"Options","name":"options","type":"collection","default":{},"placeholder":"Add Option","displayOptions":{"show":{"resource":["execution"],"operation":["get"]}},"options":[{"displayName":"Include Execution Details","name":"activeWorkflows","type":"boolean","default":false,"routing":{"send":{"type":"query","property":"includeData","value":"={{ $value }}"}},"description":"Whether to include the detailed execution data"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"default":"getAll","displayOptions":{"show":{"resource":["workflow"]}},"options":[{"name":"Activate","value":"activate","action":"Activate a workflow"},{"name":"Create","value":"create","action":"Create a workflow","routing":{"request":{"method":"POST","url":"/workflows"}}},{"name":"Deactivate","value":"deactivate","action":"Deactivate a workflow"},{"name":"Delete","value":"delete","action":"Delete a workflow"},{"name":"Get","value":"get","action":"Get a workflow"},{"name":"Get Many","value":"getAll","action":"Get many workflows","routing":{"request":{"method":"GET","url":"/workflows"},"send":{"paginate":true},"operations":{}}},{"name":"Update","value":"update","action":"Update a workflow"}]},{"displayName":"Workflow","name":"workflowId","type":"resourceLocator","default":{"mode":"list","value":""},"description":"Workflow to filter the executions by","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Workflow...","initType":"workflow","typeOptions":{"searchListMethod":"searchWorkflows","searchFilterRequired":false,"searchable":true}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://myinstance.app.n8n.cloud/workflow/1","validation":[{"type":"regex","properties":{"regex":".*/workflow/([0-9]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Workflow ID"}}],"placeholder":"1"}],"required":true,"displayOptions":{"show":{"resource":["workflow"],"operation":["activate"]}},"routing":{"request":{"method":"POST","url":"=/workflows/{{ $value }}/activate"}}},{"displayName":"Workflow Object","name":"workflowObject","type":"json","default":"{ \"name\": \"My workflow\", \"nodes\": [], \"connections\": {}, \"settings\": {} }","placeholder":"{\n \"name\": \"My workflow\",\n \"nodes\": [],\n \"connections\": {},\n \"settings\": {}\n}","required":true,"typeOptions":{"alwaysOpenEditWindow":true},"displayOptions":{"show":{"resource":["workflow"],"operation":["create"]}},"routing":{"send":{"preSend":[null,null]}},"description":"A valid JSON object with required fields: 'name', 'nodes', 'connections' and 'settings'. More information can be found in the <a href=\"https://docs.n8n.io/api/api-reference/#tag/Workflow/paths/~1workflows/post\">documentation</a>."},{"displayName":"Workflow","name":"workflowId","type":"resourceLocator","default":{"mode":"list","value":""},"description":"Workflow to filter the executions by","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Workflow...","initType":"workflow","typeOptions":{"searchListMethod":"searchWorkflows","searchFilterRequired":false,"searchable":true}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://myinstance.app.n8n.cloud/workflow/1","validation":[{"type":"regex","properties":{"regex":".*/workflow/([0-9]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Workflow ID"}}],"placeholder":"1"}],"required":true,"displayOptions":{"show":{"resource":["workflow"],"operation":["deactivate"]}},"routing":{"request":{"method":"POST","url":"=/workflows/{{ $value }}/deactivate"}}},{"displayName":"Workflow","name":"workflowId","type":"resourceLocator","default":{"mode":"list","value":""},"description":"Workflow to filter the executions by","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Workflow...","initType":"workflow","typeOptions":{"searchListMethod":"searchWorkflows","searchFilterRequired":false,"searchable":true}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://myinstance.app.n8n.cloud/workflow/1","validation":[{"type":"regex","properties":{"regex":".*/workflow/([0-9]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Workflow ID"}}],"placeholder":"1"}],"required":true,"displayOptions":{"show":{"resource":["workflow"],"operation":["delete"]}},"routing":{"request":{"method":"DELETE","url":"=/workflows/{{ $value }}"}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":true,"displayOptions":{"show":{"resource":["workflow"],"operation":["getAll"]}},"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","default":100,"typeOptions":{"minValue":1,"maxValue":250},"displayOptions":{"show":{"resource":["workflow"],"operation":["getAll"],"returnAll":[false]}},"routing":{"request":{"qs":{"limit":"={{ $value }}"}}},"description":"Max number of results to return"},{"displayName":"Filters","name":"filters","type":"collection","default":{},"displayOptions":{"show":{"resource":["workflow"],"operation":["getAll"]}},"options":[{"displayName":"Return Only Active Workflows","name":"activeWorkflows","type":"boolean","default":true,"routing":{"request":{"qs":{"active":"={{ $value }}"}}}},{"displayName":"Tags","name":"tags","type":"string","default":"","routing":{"send":{"type":"query","property":"tags","value":"={{ $value !== \"\" ? $value : undefined }}"}},"description":"Include only workflows with these tags","hint":"Comma separated list of tags (empty value is ignored)"}]},{"displayName":"Workflow","name":"workflowId","type":"resourceLocator","default":{"mode":"list","value":""},"description":"Workflow to filter the executions by","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Workflow...","initType":"workflow","typeOptions":{"searchListMethod":"searchWorkflows","searchFilterRequired":false,"searchable":true}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://myinstance.app.n8n.cloud/workflow/1","validation":[{"type":"regex","properties":{"regex":".*/workflow/([0-9]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Workflow ID"}}],"placeholder":"1"}],"required":true,"displayOptions":{"show":{"resource":["workflow"],"operation":["get"]}},"routing":{"request":{"method":"GET","url":"=/workflows/{{ $value }}"}}},{"displayName":"Workflow","name":"workflowId","type":"resourceLocator","default":{"mode":"list","value":""},"description":"Workflow to filter the executions by","modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a Workflow...","initType":"workflow","typeOptions":{"searchListMethod":"searchWorkflows","searchFilterRequired":false,"searchable":true}},{"displayName":"By URL","name":"url","type":"string","placeholder":"https://myinstance.app.n8n.cloud/workflow/1","validation":[{"type":"regex","properties":{"regex":".*/workflow/([0-9]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9]{1,}","errorMessage":"Not a valid Workflow ID"}}],"placeholder":"1"}],"required":true,"displayOptions":{"show":{"resource":["workflow"],"operation":["update"]}},"routing":{"request":{"method":"PUT","url":"=/workflows/{{ $value }}"}}},{"displayName":"Workflow Object","name":"workflowObject","type":"json","default":"","placeholder":"{\n \"name\": \"My workflow\",\n \"nodes\": [],\n \"connections\": {},\n \"settings\": {}\n}","required":true,"typeOptions":{"alwaysOpenEditWindow":true},"displayOptions":{"show":{"resource":["workflow"],"operation":["update"]}},"routing":{"send":{"preSend":[null,null]}},"description":"A valid JSON object with required fields: 'name', 'nodes', 'connections' and 'settings'. More information can be found in the <a href=\"https://docs.n8n.io/api/api-reference/#tag/Workflow/paths/~1workflows~1%7Bid%7D/put\">documentation</a>."}],"codex":{"categories":["Development","Core Nodes"],"subcategories":{"Core Nodes":["Helpers","Flow","Other Trigger Nodes"]},"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.n8n/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/api/authentication/"}]},"alias":["Workflow","Execution"]},"iconUrl":"icons/n8n-nodes-base/dist/nodes/N8n/n8n.svg"},
|
|
251
253
|
{"displayName":"Customer Datastore (n8n training)","name":"n8n-nodes-base.n8nTrainingCustomerDatastore","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"]}}","description":"Dummy node used for n8n training","defaults":{"name":"Customer Datastore (n8n training)"},"inputs":["main"],"outputs":["main"],"properties":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Get One Person","value":"getOnePerson"},{"name":"Get All People","value":"getAllPeople"}],"default":"getOnePerson"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAllPeople"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAllPeople"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":10},"default":5,"description":"Max number of results to return"}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/N8nTrainingCustomerDatastore/n8nTrainingCustomerDatastore.svg"},
|
|
252
254
|
{"displayName":"Customer Messenger (n8n training)","name":"n8n-nodes-base.n8nTrainingCustomerMessenger","group":["transform"],"version":1,"description":"Dummy node used for n8n training","defaults":{"name":"Customer Messenger (n8n training)"},"inputs":["main"],"outputs":["main"],"properties":[{"displayName":"Customer ID","name":"customerId","type":"string","required":true,"default":""},{"displayName":"Message","name":"message","type":"string","required":true,"typeOptions":{"rows":4},"default":""}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/N8nTrainingCustomerMessenger/n8nTrainingCustomerMessenger.svg"},
|
|
@@ -283,8 +285,9 @@
|
|
|
283
285
|
{"displayName":"Pipedrive Trigger","name":"n8n-nodes-base.pipedriveTrigger","group":["trigger"],"version":1,"description":"Starts the workflow when Pipedrive events occur","defaults":{"name":"Pipedrive Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"pipedriveApi","required":true,"displayOptions":{"show":{"authentication":["apiToken"]}}},{"name":"pipedriveOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}},{"name":"httpBasicAuth","required":true,"displayOptions":{"show":{"incomingAuthentication":["basicAuth"]}}}],"webhooks":[{"name":"default","httpMethod":"POST","responseMode":"onReceived","path":"webhook"}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"API Token","value":"apiToken"},{"name":"OAuth2","value":"oAuth2"}],"default":"apiToken"},{"displayName":"Incoming Authentication","name":"incomingAuthentication","type":"options","options":[{"name":"Basic Auth","value":"basicAuth"},{"name":"None","value":"none"}],"default":"none","description":"If authentication should be activated for the webhook (makes it more secure)"},{"displayName":"Action","name":"action","type":"options","options":[{"name":"Added","value":"added","description":"Data got added","action":"Data was added"},{"name":"All","value":"*","description":"Any change","action":"Any change"},{"name":"Deleted","value":"deleted","description":"Data got deleted","action":"Data was deleted"},{"name":"Merged","value":"merged","description":"Data got merged","action":"Data was merged"},{"name":"Updated","value":"updated","description":"Data got updated","action":"Data was updated"}],"default":"*","description":"Type of action to receive notifications about"},{"displayName":"Object","name":"object","type":"options","options":[{"name":"Activity","value":"activity"},{"name":"Activity Type","value":"activityType"},{"name":"All","value":"*"},{"name":"Deal","value":"deal"},{"name":"Note","value":"note"},{"name":"Organization","value":"organization"},{"name":"Person","value":"person"},{"name":"Pipeline","value":"pipeline"},{"name":"Product","value":"product"},{"name":"Stage","value":"stage"},{"name":"User","value":"user"}],"default":"*","description":"Type of object to receive notifications about"}],"codex":{"categories":["Sales"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.pipedrivetrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/pipedrive"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Pipedrive/pipedrive.svg"},
|
|
284
286
|
{"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"},
|
|
285
287
|
{"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"},
|
|
286
|
-
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2,"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","typeOptions":{"editor":"sqlEditor","sqlDialect":"postgres"},"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"},
|
|
287
|
-
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2,"description":"Get, add and update data in Postgres","version":2,"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/\">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\">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/\">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","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":"postgres"},"hint":"Prefer using query parameters over n8n expressions to avoid SQL injection attacks","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"\n\t\tTo use query parameters in your SQL query, reference them as $1, $2, $3, etc in the corresponding order. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">More info</a>.\n\t\t","name":"notice","type":"notice","default":"","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\">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/\">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":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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/\">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/\">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\">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/\">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":{"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"],"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/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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":{"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"],"resource":["database"],"operation":["upsert"]},"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/\">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":{"resource":["database"],"operation":["upsert"]},"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. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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"}]}}},
|
|
288
|
+
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.1,"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","typeOptions":{"editor":"sqlEditor","sqlDialect":"postgres"},"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"},
|
|
289
|
+
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.1,"description":"Get, add and update data in Postgres","version":[2,2.1],"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/\">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\">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/\">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","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":"postgres"},"hint":"Prefer using query parameters over n8n expressions to avoid SQL injection attacks","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"\n\t\tTo use query parameters in your SQL query, reference them as $1, $2, $3, etc in the corresponding order. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">More info</a>.\n\t\t","name":"notice","type":"notice","default":"","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\">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/\">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":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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/\">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/\">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\">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/\">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":{"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"],"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/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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":{"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"],"resource":["database"],"operation":["upsert"]},"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/\">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":{"resource":["database"],"operation":["upsert"]},"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. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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"},
|
|
290
|
+
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.1,"description":"Get, add and update data in Postgres","version":[2,2.1],"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/\">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\">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/\">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","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":"postgres"},"hint":"Prefer using query parameters over n8n expressions to avoid SQL injection attacks","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"\n\t\tTo use query parameters in your SQL query, reference them as $1, $2, $3, etc in the corresponding order. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">More info</a>.\n\t\t","name":"notice","type":"notice","default":"","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\">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/\">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":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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/\">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/\">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\">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/\">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":{"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"],"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/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"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"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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":{"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"],"resource":["database"],"operation":["upsert"]},"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/\">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":{"resource":["database"],"operation":["upsert"]},"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. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"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"],"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/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"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\">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/\">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"}]}}},
|
|
288
291
|
{"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"},
|
|
289
292
|
{"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"},
|
|
290
293
|
{"displayName":"ProfitWell","name":"n8n-nodes-base.profitWell","group":["output"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume ProfitWell API","defaults":{"name":"ProfitWell"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"profitWellApi","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Company","value":"company"},{"name":"Metric","value":"metric"}],"default":"metric"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["company"]}},"options":[{"name":"Get Settings","value":"getSetting","description":"Get your company's ProfitWell account settings","action":"Get settings for your company"}],"default":"getSetting"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["metric"]}},"options":[{"name":"Get","value":"get","description":"Retrieve financial metric broken down by day for either the current month or the last","action":"Get a metric"}],"default":"get"},{"displayName":"Type","name":"type","type":"options","options":[{"name":"Daily","value":"daily","description":"Retrieve financial metric broken down by day for either the current month or the last"},{"name":"Monthly","value":"monthly","description":"Retrieve all monthly financial metric for your company"}],"default":"","required":true,"displayOptions":{"show":{"resource":["metric"],"operation":["get"]}}},{"displayName":"Month","name":"month","type":"string","default":"","placeholder":"YYYY-MM","required":true,"displayOptions":{"show":{"resource":["metric"],"operation":["get"],"type":["daily"]}},"description":"Can only be the current or previous month. Format should be YYYY-MM."},{"displayName":"Simplify","name":"simple","type":"boolean","default":true,"displayOptions":{"show":{"resource":["metric"],"operation":["get"]}},"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","displayOptions":{"show":{"resource":["metric"],"operation":["get"]}},"default":{},"options":[{"displayName":"Plan Name or ID","name":"plan_id","type":"options","typeOptions":{"loadOptionsMethod":"getPlanIds"},"default":"","description":"Only return the metric for this Plan ID. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Metrics","name":"dailyMetrics","type":"multiOptions","displayOptions":{"show":{"/type":["daily"]}},"options":[{"name":"Active Customers","value":"active_customers","description":"Number of paying customers"},{"name":"Churned Customers","value":"churned_customers","description":"Number of paying customers who churned"},{"name":"Churned Recurring Revenue","value":"churned_recurring_revenue","description":"MRR lost to churn (voluntary and delinquent)"},{"name":"Cumulative Net New MRR","value":"cumulative_net_new_mrr","description":"New + Upgrades - Downgrades - Churn MRR, cumulative for the month up through the given day"},{"name":"Cumulative New Trialing Customers","value":"cumulative_new_trialing_customers","description":"Number of new trialing customers, cumulative for the month up through the given day"},{"name":"Downgraded Customers","value":"downgraded_customers","description":"Number of existing customers who net downgraded"},{"name":"Downgraded Recurring Revenue","value":"downgraded_recurring_revenue","description":"How much downgrades and plan length decreases affect your MRR"},{"name":"Future Churn MRR","value":"future_churn_mrr","description":"MRR that will be lost when users who are currently cancelled actually churn"},{"name":"New Customers","value":"new_customers","description":"Number of new, paying customers you have"},{"name":"New Recurring Revenue","value":"new_recurring_revenue","description":"MRR from new users"},{"name":"Reactivated Customers","value":"reactivated_customers","description":"Number of customers who have reactivated"},{"name":"Reactivated Recurring Revenue","value":"reactivated_recurring_revenue","description":"How much MRR comes from reactivated customers"},{"name":"Recurring Revenue","value":"recurring_revenue","description":"Your company's MRR"},{"name":"Upgraded Customers","value":"upgraded_customers","description":"Number of existing customers who net upgraded"},{"name":"Upgraded Recurring Revenue","value":"upgraded_recurring_revenue","description":"How much upgrades and plan length increases affect your MRR"}],"default":[],"description":"Comma-separated list of metric trends to return (the default is to return all metric)"},{"displayName":"Metrics","name":"monthlyMetrics","type":"multiOptions","displayOptions":{"show":{"/type":["monthly"]}},"options":[{"name":"Active Customers","value":"active_customers","description":"Number of paying customers"},{"name":"Active Trialing Customers","value":"active_trialing_customers","description":"Number of trialing customers"},{"name":"Average Revenue Per User","value":"average_revenue_per_user","description":"ARPU"},{"name":"Churned Customers","value":"churned_customers","description":"Number of paying customers who churned"},{"name":"Churned Customers Cancellations","value":"churned_customers_cancellations","description":"Number of customers who churned by cancelling their subscription(s)"},{"name":"Churned Customers Delinquent","value":"churned_customers_delinquent","description":"Number of customers who churned because they failed to pay you"},{"name":"Churned Recurring Revenue","value":"churned_recurring_revenue","description":"Revenue lost to churn (voluntary and delinquent)"},{"name":"Churned Recurring Revenue Cancellations","value":"churned_recurring_revenue_cancellations","description":"Revenue lost to customers who churned by cancelling their subscription(s)"},{"name":"Churned Recurring Revenue Delinquent","value":"churned_recurring_revenue_delinquent","description":"Revenue lost to customers who churned delinquent"},{"name":"Churned Trialing Customers","value":"churned_trialing_customers","description":"Number of trialling customers who churned"},{"name":"Converted Customers","value":"converted_customers","description":"Number of customers who converted from trialing to active"},{"name":"Converted Recurring Revenue","value":"converted_recurring_revenue","description":"How much MRR comes from users who converted from trialing to active"},{"name":"Customer Churn Cancellations Rate","value":"customers_churn_cancellations_rate","description":"Percentage of paying customers who churned by cancelling their subscription(s)"},{"name":"Customer Churn Delinquent Rate","value":"customers_churn_delinquent_rate","description":"Percentage of paying customers who churned because they failed to pay you"},{"name":"Customer Churn Rate","value":"customers_churn_rate","description":"Percentage of paying customers who churned"},{"name":"Customer Conversion Rate","value":"customer_conversion_rate","description":"Percent of trialing customers who converted"},{"name":"Customer Retention Rate","value":"customers_retention_rate","description":"Percent of customers active last month who are still active this month"},{"name":"Downgrade Customers","value":"downgraded_customers","description":"Number of existing customers who net downgraded"},{"name":"Downgrade Rate","value":"downgrade_rate","description":"Downgrade revenue as a percent of existing revenue"},{"name":"Downgrade Recurring Revenue","value":"downgraded_recurring_revenue","description":"How much downgrades and plan length decreases affect your MRR"},{"name":"Existing Customers","value":"existing_customers","description":"Number of paying customers you had at the start of the given month"},{"name":"Existing Recurring Revenue","value":"existing_recurring_revenue","description":"Your company's MRR at the start of the given month"},{"name":"Existing Trialing Customers","value":"existing_trialing_customers","description":"Number of trialing customers who existed at the start of the month"},{"name":"Growth_Rate","value":"growth_rate","description":"Rate at which your company's MRR has grown over the previous month"},{"name":"Lifetime Value","value":"lifetime_value","description":"Average LTV, as calculated at the end of the given period"},{"name":"New Customers","value":"new_customers","description":"Number of new, paying customers you have"},{"name":"New Recurring Revenue","value":"new_recurring_revenue","description":"MRR from new users"},{"name":"New Trailing Customers","value":"new_trialing_customers","description":"Number of new trialing customers"},{"name":"Plan Changed Rate","value":"plan_change_rate","description":"Net change in revenue as a percentage of existing revenue"},{"name":"Plan Changed Recurring Revenue","value":"plan_changed_recurring_revenue","description":"Net change in revenue for this plan"},{"name":"Reactivated Customers","value":"reactivated_customers","description":"Number of customers who have reactivated"},{"name":"Reactivated Recurring Revenue","value":"reactivated_recurring_revenue","description":"How much MRR comes from reactivated customers"},{"name":"Recurring Revenue","value":"recurring_revenue","description":"Your company's MRR"},{"name":"Revenue Churn Cancellations Rate","value":"revenue_churn_cancellations_rate","description":"Voluntary churn revenue as a percent of the month's starting revenue"},{"name":"Revenue Churn Delinquent_ Rate","value":"revenue_churn_delinquent_rate","description":"Delinquent churn revenue as a percent of the month's starting revenue"},{"name":"Revenue Churn Rate","value":"revenue_churn_rate","description":"Revenue lost to churn as a percentage of existing revenue"},{"name":"Revenue Retention Rate","value":"revenue_retention_rate","description":"Percent of revenue coming from existing customers that was retained by the end of the month"},{"name":"Upgrade Rate","value":"upgrade_rate","description":"Upgrade revenue as a percent of existing revenue"},{"name":"Upgraded Customers","value":"upgraded_customers","description":"Number of existing customers who net upgraded"},{"name":"Upgraded Recurring Revenue","value":"upgraded_recurring_revenue","description":"How much upgrades and plan length increases affect your MRR"}],"default":[],"description":"Comma-separated list of metric trends to return (the default is to return all metric)"}]}],"codex":{"categories":["Analytics"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.profitwell/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/profitWell"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/ProfitWell/profitwell.png"},
|