n8n-nodes-base 0.234.0 → 0.234.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/known/credentials.json +258 -3
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js +5 -4
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js.map +1 -1
- package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.js +7 -6
- package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.js.map +1 -1
- package/dist/nodes/Google/Drive/v2/actions/common.descriptions.js +11 -10
- package/dist/nodes/Google/Drive/v2/actions/common.descriptions.js.map +1 -1
- package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js +3 -2
- package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js.map +1 -1
- package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.js +3 -2
- package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.js.map +1 -1
- package/dist/nodes/Google/Sheet/v2/actions/spreadsheet/delete.operation.js +3 -2
- package/dist/nodes/Google/Sheet/v2/actions/spreadsheet/delete.operation.js.map +1 -1
- package/dist/nodes/Google/constants.d.ts +2 -0
- package/dist/nodes/Google/constants.js +6 -0
- package/dist/nodes/Google/constants.js.map +1 -0
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +1 -0
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js +1 -0
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +2 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/common.descriptions.js +4 -4
- package/dist/nodes/MySql/v2/actions/common.descriptions.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.js +1 -9
- package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/insert.operation.js +1 -1
- package/dist/nodes/MySql/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/update.operation.js +2 -2
- package/dist/nodes/MySql/v2/actions/database/update.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/upsert.operation.js +2 -2
- package/dist/nodes/MySql/v2/actions/database/upsert.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/common.descriptions.js +4 -4
- package/dist/nodes/Postgres/v2/actions/common.descriptions.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js +1 -9
- package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/insert.operation.js +1 -1
- package/dist/nodes/Postgres/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/update.operation.js +2 -2
- package/dist/nodes/Postgres/v2/actions/database/update.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js +2 -2
- package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/helpers/utils.d.ts +1 -1
- package/dist/nodes/Postgres/v2/helpers/utils.js +3 -3
- package/dist/nodes/Postgres/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Postgres/v2/methods/resourceMapping.js +1 -1
- package/dist/nodes/Postgres/v2/methods/resourceMapping.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/types/nodes.json +13 -13
- package/package.json +3 -3
package/dist/types/nodes.json
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
{"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"},
|
|
130
130
|
{"displayName":"Google Ads","name":"n8n-nodes-base.googleAds","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Use the Google Ads API","defaults":{"name":"Google Ads"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleAdsOAuth2Api","required":true,"testedBy":{"request":{"method":"GET","url":"/v13/customers:listAccessibleCustomers"}}}],"requestDefaults":{"returnFullResponse":true,"baseURL":"https://googleads.googleapis.com","headers":{"developer-token":"={{$credentials.developerToken}}"}},"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Campaign","value":"campaign"}],"default":"campaign"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["campaign"]}},"options":[{"name":"Get Many","value":"getAll","description":"Get many campaigns linked to the specified account","routing":{"request":{"method":"POST","url":"={{\"/v13/customers/\" + $parameter[\"clientCustomerId\"].toString().replace(/-/g, \"\") + \"/googleAds:search\"}}","body":{"query":"={{ \"select campaign.id, campaign.name, campaign_budget.amount_micros, campaign_budget.period,campaign.status,campaign.optimization_score,campaign.advertising_channel_type,campaign.advertising_channel_sub_type,metrics.impressions,metrics.interactions,metrics.interaction_rate,metrics.average_cost,metrics.cost_micros,metrics.conversions,metrics.cost_per_conversion,metrics.conversions_from_interactions_rate,metrics.video_views,metrics.average_cpm,metrics.ctr from campaign where campaign.id > 0 \" + ([\"allTime\", undefined, \"\"].includes($parameter.additionalOptions?.dateRange) ? \"\" : \" and segments.date DURING \" + $parameter.additionalOptions.dateRange) + \" \" + ([\"all\", undefined, \"\"].includes($parameter.additionalOptions?.campaignStatus) ? \"\" : \" and campaign.status = '\" + $parameter.additionalOptions.campaignStatus + \"'\") + \"\" }}"},"headers":{"login-customer-id":"={{$parameter[\"managerCustomerId\"].toString().replace(/-/g, \"\")}}"}},"output":{"postReceive":[null]}},"action":"Get many campaigns"},{"name":"Get","value":"get","description":"Get a specific campaign","routing":{"request":{"method":"POST","url":"={{\"/v13/customers/\" + $parameter[\"clientCustomerId\"].toString().replace(/-/g, \"\") + \"/googleAds:search\"}}","returnFullResponse":true,"body":{"query":"={{ \"select campaign.id, campaign.name, campaign_budget.amount_micros, campaign_budget.period,campaign.status,campaign.optimization_score,campaign.advertising_channel_type,campaign.advertising_channel_sub_type,metrics.impressions,metrics.interactions,metrics.interaction_rate,metrics.average_cost,metrics.cost_micros,metrics.conversions,metrics.cost_per_conversion,metrics.conversions_from_interactions_rate,metrics.video_views,metrics.average_cpm,metrics.ctr from campaign where campaign.id = \" + $parameter[\"campaignId\"].toString().replace(/-/g, \"\")}}"},"headers":{"login-customer-id":"={{$parameter[\"managerCustomerId\"].toString().replace(/-/g, \"\")}}"}},"output":{"postReceive":[null]}},"action":"Get a campaign"}],"default":"getAll"},{"displayName":"Divide field names expressed with <i>micros</i> by 1,000,000 to get the actual value","name":"campaigsNotice","type":"notice","default":"","displayOptions":{"show":{"resource":["campaign"]}}},{"displayName":"Manager Customer ID","name":"managerCustomerId","type":"string","required":true,"placeholder":"9998887777","displayOptions":{"show":{"resource":["campaign"]}},"default":""},{"displayName":"Client Customer ID","name":"clientCustomerId","type":"string","required":true,"placeholder":"6665554444","displayOptions":{"show":{"resource":["campaign"]}},"default":""},{"displayName":"Campaign ID","name":"campaignId","type":"string","required":true,"displayOptions":{"show":{"operation":["get"],"resource":["campaign"]}},"default":"","description":"ID of the campaign"},{"displayName":"Additional Options","name":"additionalOptions","type":"collection","displayOptions":{"show":{"resource":["campaign"],"operation":["getAll"]}},"default":{},"description":"Additional options for fetching campaigns","placeholder":"Add Option","options":[{"displayName":"Date Range","name":"dateRange","description":"Filters statistics by period","type":"options","options":[{"name":"All Time","value":"allTime","description":"Fetch statistics for all period"},{"name":"Today","value":"TODAY","description":"Today only"},{"name":"Yesterday","value":"YESTERDAY","description":"Yesterday only"},{"name":"Last 7 Days","value":"LAST_7_DAYS","description":"Last 7 days, not including today"},{"name":"Last Business Week","value":"LAST_BUSINESS_WEEK","description":"The 5 day business week, Monday through Friday, of the previous business week"},{"name":"This Month","value":"THIS_MONTH","description":"All days in the current month"},{"name":"Last Month","value":"LAST_MONTH","description":"All days in the previous month"},{"name":"Last 14 Days","value":"LAST_14_DAYS","description":"The last 14 days not including today"},{"name":"Last 30 Days","value":"LAST_30_DAYS","description":"The last 30 days not including today"}],"default":"allTime"},{"displayName":"Show Campaigns by Status","name":"campaignStatus","description":"Filters campaigns by status","type":"options","options":[{"name":"All","value":"all","description":"Fetch all campaigns regardless of status"},{"name":"Enabled","value":"ENABLED","description":"Filter only active campaigns"},{"name":"Paused","value":"PAUSED","description":"Filter only paused campaigns"},{"name":"Removed","value":"REMOVED","description":"Filter only removed campaigns"}],"default":"all"}]}],"codex":{"categories":["Analytics"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googleads/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Ads/googleAds.svg"},
|
|
131
131
|
{"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"},
|
|
132
|
-
{"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-06-27T00: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-07-04T00: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-06-27T00: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-07-04T00: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/"}]}}},
|
|
132
|
+
{"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-07-04T00: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-07-11T00: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-07-04T00: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-07-11T00: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/"}]}}},
|
|
133
133
|
{"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"},
|
|
134
134
|
{"displayName":"Google BigQuery","name":"n8n-nodes-base.googleBigQuery","group":["input"],"subtitle":"={{$parameter[\"operation\"]}}","description":"Consume Google BigQuery API","defaultVersion":2,"version":2,"defaults":{"name":"Google BigQuery"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleBigQueryOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","noDataExpression":true,"options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"hidden","noDataExpression":true,"options":[{"name":"Database","value":"database"}],"default":"database"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["database"]}},"options":[{"name":"Execute Query","value":"executeQuery","description":"Execute a SQL query","action":"Execute a SQL query"},{"name":"Insert","value":"insert","description":"Insert rows in a table","action":"Insert rows in a table"}],"default":"executeQuery"},{"displayName":"Project","name":"projectId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"searchProjects","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/console.cloud.google.com\\/bigquery\\?project=([0-9a-zA-Z\\-_]+).{0,}"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/console.cloud.google.com\\/bigquery\\?project=([0-9a-zA-Z\\-_]+).{0,}","errorMessage":"Not a valid BigQuery Project URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid BigQuery Project ID"}}],"url":"=https://console.cloud.google.com/bigquery?project={{$value}}"}],"description":"Projects to which you have been granted any project role","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery","insert"]}}},{"displayName":"Dataset","name":"datasetId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"searchDatasets","searchable":true}},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Dataset ID"}}]}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]}}},{"displayName":"Table","name":"tableId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"searchTables","searchable":true}},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Table ID"}}]}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]}}},{"displayName":"SQL Query","name":"sqlQuery","type":"string","noDataExpression":true,"typeOptions":{"editor":"sqlEditor"},"displayOptions":{"hide":{"/options.useLegacySql":[true]},"show":{"resource":["database"],"operation":["executeQuery"]}},"default":"","placeholder":"SELECT * FROM dataset.table LIMIT 100","description":"SQL query to execute, you can find more information <a href=\"https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax\" target=\"_blank\">here</a>. Standard SQL syntax used by default, but you can also use Legacy SQL syntax by using optinon 'Use Legacy SQL'."},{"displayName":"SQL Query","name":"sqlQuery","type":"string","noDataExpression":true,"typeOptions":{"editor":"sqlEditor"},"displayOptions":{"show":{"/options.useLegacySql":[true],"resource":["database"],"operation":["executeQuery"]}},"default":"","placeholder":"SELECT * FROM [project:dataset.table] LIMIT 100;","hint":"Legacy SQL syntax","description":"SQL query to execute, you can find more information about Legacy SQL syntax <a href=\"https://cloud.google.com/bigquery/docs/reference/standard-sql/query-syntax\" target=\"_blank\">here</a>"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Options","default":{},"options":[{"displayName":"Default Dataset Name or ID","name":"defaultDataset","type":"options","typeOptions":{"loadOptionsMethod":"getDatasets","loadOptionsDependsOn":["projectId.value"]},"default":"","description":"If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Dry Run","name":"dryRun","type":"boolean","default":false,"description":"Whether set to true BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns."},{"displayName":"Include Schema in Output","name":"includeSchema","type":"boolean","default":false,"description":"Whether to include the schema in the output. If set to true, the output will contain key '_schema' with the schema of the table.","displayOptions":{"hide":{"rawOutput":[true]}}},{"displayName":"Location","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/"}]}}},
|
|
135
135
|
{"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"},
|
|
@@ -140,10 +140,10 @@
|
|
|
140
140
|
{"displayName":"Google Cloud Storage","name":"n8n-nodes-base.googleCloudStorage","group":["transform"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Use the Google Cloud Storage API","defaults":{"name":"Google Cloud Storage"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleCloudStorageOAuth2Api","required":true,"testedBy":{"request":{"method":"GET","url":"/b/"}}}],"requestDefaults":{"returnFullResponse":true,"baseURL":"https://storage.googleapis.com/storage/v1"},"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Bucket","value":"bucket"},{"name":"Object","value":"object"}],"default":"bucket"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["bucket"]}},"options":[{"name":"Create","value":"create","description":"Create a new Bucket","routing":{"request":{"method":"POST","url":"/b/","qs":{},"body":{"name":"={{$parameter[\"bucketName\"]}}"},"returnFullResponse":true},"send":{"preSend":[null]}},"action":"Create a new Bucket"},{"name":"Delete","value":"delete","description":"Delete an empty Bucket","routing":{"request":{"method":"DELETE","url":"={{\"/b/\" + $parameter[\"bucketName\"]}}","returnFullResponse":true}},"action":"Delete an empty Bucket"},{"name":"Get","value":"get","description":"Get metadata for a specific Bucket","routing":{"request":{"method":"GET","url":"={{\"/b/\" + $parameter[\"bucketName\"]}}","returnFullResponse":true,"qs":{}}},"action":"Get a Bucket"},{"name":"Get Many","value":"getAll","description":"Get list of Buckets","routing":{"request":{"method":"GET","url":"/b/","qs":{}},"send":{"paginate":true,"preSend":[null]},"operations":{}},"action":"Get a list of Buckets for a given project"},{"name":"Update","value":"update","description":"Update the metadata of a bucket","routing":{"request":{"method":"PATCH","url":"={{\"/b/\" + $parameter[\"bucketName\"]}}","qs":{"project":"={{$parameter[\"projectId\"]}}"},"body":{},"returnFullResponse":true},"send":{"preSend":[null]}},"action":"Create a new Bucket"}],"default":"getAll"},{"displayName":"Project ID","name":"projectId","type":"string","required":true,"placeholder":"Project ID","displayOptions":{"show":{"resource":["bucket"],"operation":["create","getAll"]}},"default":"","routing":{"request":{"qs":{"project":"={{$value}}"}}}},{"displayName":"Bucket Name","name":"bucketName","type":"string","placeholder":"Bucket Name","required":true,"displayOptions":{"show":{"resource":["bucket"],"operation":["create","get","update","delete"]}},"default":""},{"displayName":"Prefix","name":"prefix","type":"string","placeholder":"Filter for Bucket Names","displayOptions":{"show":{"resource":["bucket"],"operation":["getAll"]}},"default":"","routing":{"request":{"qs":{"prefix":"={{$value}}"}}}},{"displayName":"Projection","name":"projection","type":"options","noDataExpression":true,"options":[{"name":"All Properties","value":"full"},{"name":"No ACL","value":"noAcl"}],"default":"noAcl","displayOptions":{"show":{"resource":["bucket"],"operation":["create","get","getAll","update"]}},"routing":{"request":{"qs":{"projection":"={{$value}}"}}}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["bucket"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Filters","name":"getFilters","type":"collection","displayOptions":{"show":{"resource":["bucket"],"operation":["delete","get","update"]}},"default":{},"placeholder":"Add Filter","options":[{"displayName":"Metageneration Match","name":"ifMetagenerationMatch","type":"number","description":"Only return data if the metageneration value of the Bucket matches the sent value","default":0,"routing":{"request":{"qs":{"ifMetagenerationMatch":"={{$value}}"}}}},{"displayName":"Metageneration Exclude","name":"ifMetagenerationNotMatch","type":"number","description":"Only return data if the metageneration value of the Bucket does not match the sent value","default":0,"routing":{"request":{"qs":{"ifMetagenerationNotMatch":"={{$value}}"}}}}]},{"displayName":"Predefined Access Control","name":"createAcl","type":"collection","noDataExpression":true,"default":{},"placeholder":"Add Access Control Parameters","displayOptions":{"show":{"resource":["bucket"],"operation":["create","update"]}},"options":[{"displayName":"Predefined ACL","name":"predefinedAcl","type":"options","default":"authenticatedRead","placeholder":"Apply a predefined set of access controls to this bucket","options":[{"name":"Authenticated Read","value":"authenticatedRead"},{"name":"Private","value":"private"},{"name":"Project Private","value":"projectPrivate"},{"name":"Public Read","value":"publicRead"},{"name":"Public Read/Write","value":"publicReadWrite"}],"routing":{"request":{"qs":{"predefinedAcl":"={{$value}}"}}}},{"displayName":"Predefined Default Object ACL","name":"predefinedDefaultObjectAcl","type":"options","default":"authenticatedRead","placeholder":"Apply a predefined set of default object access controls to this bucket","options":[{"name":"Authenticated Read","value":"authenticatedRead"},{"name":"Bucket Owner Full Control","value":"bucketOwnerFullControl"},{"name":"Bucket Owner Read","value":"bucketOwnerRead"},{"name":"Private","value":"private"},{"name":"Project Private","value":"projectPrivate"},{"name":"Public Read","value":"publicRead"}],"routing":{"request":{"qs":{"predefinedObjectAcl":"={{$value}}"}}}}]},{"displayName":"Additional Parameters","name":"createBody","type":"collection","noDataExpression":true,"default":{},"placeholder":"Add Metadata Parameter","displayOptions":{"show":{"resource":["bucket"],"operation":["create","update"]}},"options":[{"displayName":"Access Control","name":"acl","type":"json","default":"[]","placeholder":"Access controls on the Bucket"},{"displayName":"Billing","name":"billing","type":"json","default":"{}","placeholder":"The bucket's billing configuration"},{"displayName":"CORS","name":"cors","type":"json","default":"[]","placeholder":"The bucket's Cross Origin Resource Sharing configuration"},{"displayName":"Custom Placement Config","name":"customPlacementConfig","type":"json","default":"{}","placeholder":"The configuration for the region(s) for the Bucket"},{"displayName":"Data Locations","name":"dataLocations","type":"json","default":"[]","placeholder":"The list of individual regions that comprise a dual-region Bucket"},{"displayName":"Default Event Based Hold","name":"defaultEventBasedHold","type":"boolean","default":true,"placeholder":"Whether or not to automatically apply an event based hold to new objects"},{"displayName":"Default Object ACL","name":"defaultObjectAcl","type":"json","default":"[]","placeholder":"Default Access Controls for new objects when no ACL is provided"},{"displayName":"Encryption","name":"encryption","type":"json","default":"{}","placeholder":"Encryption configuration for a bucket"},{"displayName":"IAM Configuration","name":"iamConfiguration","type":"json","default":"{}","placeholder":"The bucket's IAM configuration"},{"displayName":"Labels","name":"labels","type":"json","default":"{}","placeholder":"User provided bucket labels, in key/value pairs"},{"displayName":"Lifecycle","name":"lifecycle","type":"json","default":"{}","placeholder":"The bucket's lifecycle configuration"},{"displayName":"Location","name":"location","type":"string","default":"US","placeholder":"The location of the bucket"},{"displayName":"Logging","name":"logging","type":"json","default":"{}","placeholder":"The bucket's logging configuration"},{"displayName":"Retention Policy","name":"retentionPolicy","type":"json","default":"{}","placeholder":"The bucket's retention policy"},{"displayName":"Recovery Point Objective","name":"rpo","type":"string","default":"DEFAULT","placeholder":"The recovery point objective for the bucket"},{"displayName":"Storage Class","name":"storageClass","type":"string","default":"STANDARD","placeholder":"The bucket's default storage class for objects that don't define one"},{"displayName":"Versioning","name":"versioning","type":"json","default":"{}","placeholder":"The bucket's versioning configuration"},{"displayName":"Website","name":"website","type":"json","default":"{}","placeholder":"The bucket's website configuration for when it is used to host a website"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["object"]}},"options":[{"name":"Create","value":"create","description":"Create an object","routing":{"request":{"method":"POST","baseURL":"https://storage.googleapis.com/upload/storage/v1","url":"={{\"/b/\" + $parameter[\"bucketName\"] + \"/o/\"}}","qs":{"name":"={{$parameter[\"objectName\"]}}","uploadType":"multipart"},"headers":{}},"send":{"preSend":[null,null]}},"action":"Create an object"},{"name":"Delete","value":"delete","description":"Delete an object","routing":{"request":{"method":"DELETE","url":"={{\"/b/\" + $parameter[\"bucketName\"] + \"/o/\" + $parameter[\"objectName\"]}}","qs":{}}},"action":"Delete an object from a bucket"},{"name":"Get","value":"get","description":"Get object data or metadata","routing":{"request":{"method":"GET","url":"={{\"/b/\" + $parameter[\"bucketName\"] + \"/o/\" + $parameter[\"objectName\"]}}","returnFullResponse":true,"qs":{"alt":"={{$parameter[\"alt\"]}}"}},"send":{"preSend":[null]},"output":{"postReceive":[null]}},"action":"Get object data or metadata"},{"name":"Get Many","value":"getAll","description":"Retrieve a list of objects","routing":{"request":{"method":"GET","url":"={{\"/b/\" + $parameter[\"bucketName\"] + \"/o/\"}}","returnFullResponse":true,"qs":{}},"send":{"preSend":[null],"paginate":true},"operations":{}},"action":"Get a list of objects"},{"name":"Update","value":"update","description":"Update an object's metadata","routing":{"request":{"method":"PATCH","url":"={{\"/b/\" + $parameter[\"bucketName\"] + \"/o/\" + $parameter[\"objectName\"]}}","qs":{},"body":{}},"send":{"preSend":[null]}},"action":"Update an object's metadata"}],"default":"getAll"},{"displayName":"Bucket Name","name":"bucketName","type":"string","placeholder":"Bucket Name","required":true,"displayOptions":{"show":{"resource":["object"]}},"default":""},{"displayName":"Object Name","name":"objectName","type":"string","placeholder":"Object Name","required":true,"displayOptions":{"show":{"resource":["object"],"operation":["create","delete","get","update"]}},"default":""},{"displayName":"Projection","name":"projection","type":"options","noDataExpression":true,"options":[{"name":"All Properties","value":"full"},{"name":"No ACL","value":"noAcl"}],"default":"noAcl","displayOptions":{"show":{"resource":["object"],"operation":["get","getAll"]}},"routing":{"request":{"qs":{"projection":"={{$value}}"}}}},{"displayName":"Projection","name":"updateProjection","type":"options","noDataExpression":true,"options":[{"name":"All Properties","value":"full"},{"name":"No ACL","value":"noAcl"}],"default":"full","displayOptions":{"show":{"resource":["object"],"operation":["create","update"]}},"routing":{"request":{"qs":{"projection":"={{$value}}"}}}},{"displayName":"Return Data","name":"alt","type":"options","placeholder":"The type of data to return from the request","default":"json","options":[{"name":"Metadata","value":"json"},{"name":"Object Data","value":"media"}],"displayOptions":{"show":{"resource":["object"],"operation":["get"]}}},{"displayName":"Use Binary Property","name":"createFromBinary","type":"boolean","displayOptions":{"show":{"resource":["object"],"operation":["create"]}},"default":true,"noDataExpression":true,"description":"Whether the data for creating a file should come from a binary field"},{"displayName":"Binary Property","name":"createBinaryPropertyName","type":"string","displayOptions":{"show":{"resource":["object"],"operation":["create"],"createFromBinary":[true]}},"default":"data"},{"displayName":"File Content","name":"createContent","type":"string","displayOptions":{"show":{"resource":["object"],"operation":["create"],"createFromBinary":[false]}},"default":"","description":"Content of the file to be uploaded"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","displayOptions":{"show":{"resource":["object"],"operation":["get"],"alt":["media"]}},"default":"data"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"resource":["object"],"operation":["getAll"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"maxResults","type":"number","displayOptions":{"show":{"resource":["object"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":100,"description":"Max number of results to return"},{"displayName":"Create Fields","name":"createData","type":"collection","placeholder":"Add Create Body Field","displayOptions":{"show":{"resource":["object"],"operation":["create"]}},"default":{},"options":[{"displayName":"Access Control List","name":"acl","type":"json","default":"[]"},{"displayName":"Cache Control","name":"cacheControl","type":"string","default":""},{"displayName":"Content Disposition","name":"contentDisposition","type":"string","default":""},{"displayName":"Content Encoding","name":"contentEncoding","type":"string","default":""},{"displayName":"Content Language","name":"contentLanguage","type":"string","default":""},{"displayName":"Content Type","name":"contentType","type":"string","default":""},{"displayName":"CRC32c Checksum","name":"crc32c","type":"string","default":""},{"displayName":"Custom Time","name":"customTime","type":"string","default":""},{"displayName":"Event Based Hold","name":"eventBasedHold","type":"boolean","default":false},{"displayName":"MD5 Hash","name":"md5Hash","type":"string","default":""},{"displayName":"Metadata","name":"metadata","type":"json","default":"{}"},{"displayName":"Storage Class","name":"storageClass","type":"string","default":""},{"displayName":"Temporary Hold","name":"temporaryHold","type":"boolean","default":false}]},{"displayName":"Update Fields","name":"updateData","type":"collection","placeholder":"Add Update Body Field","displayOptions":{"show":{"resource":["object"],"operation":["update"]}},"default":{"acl":"[]"},"options":[{"displayName":"Access Control","name":"acl","type":"json","default":"[]"},{"displayName":"Cache Control","name":"cacheControl","type":"string","default":""},{"displayName":"Content Disposition","name":"contentDisposition","type":"string","default":""},{"displayName":"Content Encoding","name":"contentEncoding","type":"string","default":""},{"displayName":"Content Language","name":"contentLanguage","type":"string","default":""},{"displayName":"Content Type","name":"contentType","type":"string","default":""},{"displayName":"Custom Time","name":"customTime","type":"string","default":""},{"displayName":"Event Based Hold","name":"eventBasedHold","type":"boolean","default":false},{"displayName":"Metadata","name":"metadata","type":"json","default":"{}"},{"displayName":"Temporary Hold","name":"temporaryHold","type":"boolean","default":false}]},{"displayName":"Additional Parameters","name":"createQuery","type":"collection","placeholder":"Add Additional Parameters","displayOptions":{"show":{"resource":["object"],"operation":["create"]}},"default":{},"options":[{"displayName":"Content Encoding","name":"contentEncoding","type":"string","default":""},{"displayName":"Generation","name":"generation","type":"number","placeholder":"Select a specific revision of the chosen object","default":-1},{"displayName":"Generation Match","name":"ifGenerationMatch","type":"number","placeholder":"Make operation conditional of the object generation matching this value","default":-1},{"displayName":"Generation Exclude","name":"ifGenerationNotMatch","type":"number","placeholder":"Make operation conditional of the object generation not matching this value","default":-1},{"displayName":"Metageneration Match","name":"ifMetagenerationMatch","type":"number","placeholder":"Make operation conditional of the object's current metageneration matching this value","default":-1},{"displayName":"Metageneration Exclude","name":"ifMetagenerationNotMatch","type":"number","placeholder":"Make operation conditional of the object's current metageneration not matching this value","default":-1},{"displayName":"KMS Key Name","name":"kmsKeyName","type":"string","default":""},{"displayName":"Predefined ACL","name":"predefinedAcl","type":"options","placeholder":"Apply a predefined set of Access Controls to the object","default":"authenticatedRead","options":[{"name":"Authenticated Read","value":"authenticatedRead"},{"name":"Bucket Owner Full Control","value":"bucketOwnerFullControl"},{"name":"Bucket Owner Read","value":"bucketOwnerRead"},{"name":"Private","value":"private"},{"name":"Project Private","value":"projectPrivate"},{"name":"Public Read","value":"publicRead"}]}]},{"displayName":"Additional Parameters","name":"getParameters","type":"collection","placeholder":"Add Additional Parameters","displayOptions":{"show":{"resource":["object"],"operation":["delete","get"]}},"default":{},"options":[{"displayName":"Generation","name":"generation","type":"number","placeholder":"Select a specific revision of the chosen object","default":-1},{"displayName":"Generation Match","name":"ifGenerationMatch","type":"number","placeholder":"Make operation conditional of the object generation matching this value","default":-1},{"displayName":"Generation Exclude","name":"ifGenerationNotMatch","type":"number","placeholder":"Make operation conditional of the object generation not matching this value","default":-1},{"displayName":"Metageneration Match","name":"ifMetagenerationMatch","type":"number","placeholder":"Make operation conditional of the object's current metageneration matching this value","default":-1},{"displayName":"Metageneration Exclude","name":"ifMetagenerationNotMatch","type":"number","placeholder":"Make operation conditional of the object's current metageneration not matching this value","default":-1}]},{"displayName":"Additional Parameters","name":"metagenAndAclQuery","type":"collection","placeholder":"Add Additional Parameters","displayOptions":{"show":{"resource":["object"],"operation":["update"]}},"default":{},"options":[{"displayName":"Generation","name":"generation","type":"number","placeholder":"Select a specific revision of the chosen object","default":-1},{"displayName":"Generation Match","name":"ifGenerationMatch","type":"number","placeholder":"Make operation conditional of the object generation matching this value","default":-1},{"displayName":"Generation Exclude","name":"ifGenerationNotMatch","type":"number","placeholder":"Make operation conditional of the object generation not matching this value","default":-1},{"displayName":"Metageneration Match","name":"ifMetagenerationMatch","type":"number","placeholder":"Make operation conditional of the object's current metageneration matching this value","default":-1},{"displayName":"Metageneration Exclude","name":"ifMetagenerationNotMatch","type":"number","placeholder":"Make operation conditional of the object's current metageneration not matching this value","default":-1},{"displayName":"Predefined ACL","name":"predefinedAcl","type":"options","placeholder":"Apply a predefined set of Access Controls to the object","default":"authenticatedRead","options":[{"name":"Authenticated Read","value":"authenticatedRead"},{"name":"Bucket Owner Full Control","value":"bucketOwnerFullControl"},{"name":"Bucket Owner Read","value":"bucketOwnerRead"},{"name":"Private","value":"private"},{"name":"Project Private","value":"projectPrivate"},{"name":"Public Read","value":"publicRead"}]}]},{"displayName":"Encryption Headers","name":"encryptionHeaders","type":"collection","placeholder":"Add Encryption Headers","displayOptions":{"show":{"resource":["object"],"operation":["create","get","update"]}},"default":{},"options":[{"displayName":"Encryption Algorithm","name":"X-Goog-Encryption-Algorithm","type":"options","placeholder":"The encryption algorithm to use, which must be AES256. Use to supply your own key in the request","default":"AES256","options":[{"name":"AES256","value":"AES256"}]},{"displayName":"Encryption Key","name":"X-Goog-Encryption-Key","type":"string","placeholder":"Base64 encoded string of your AES256 encryption key","default":""},{"displayName":"Encryption Key Hash","name":"X-Goog-Encryption-Key-Sha256","type":"string","placeholder":"Base64 encoded string of the SHA256 hash of your encryption key","default":""}]},{"displayName":"Additional Parameters","name":"listFilters","type":"collection","placeholder":"Add Additional Parameters","displayOptions":{"show":{"resource":["object"],"operation":["getAll"]}},"default":{},"options":[{"displayName":"Delimiter","name":"delimiter","type":"string","placeholder":"Returns results in directory-like mode, using this value as the delimiter","default":"/"},{"displayName":"End Offset","name":"endOffset","type":"string","placeholder":"Filter results to names lexicographically before this value","default":""},{"displayName":"Include Trailing Delimiter","name":"includeTrailingDelimiter","type":"boolean","placeholder":"If true, objects will appear with exactly one instance of delimiter at the end of the name","default":false},{"displayName":"Prefix","name":"prefix","type":"string","placeholder":"Filter results to names that start with this value","default":""},{"displayName":"Start Offset","name":"startOffset","type":"string","placeholder":"Filter results to names lexicographically equal or after this value","default":""},{"displayName":"Versions","name":"versions","type":"boolean","placeholder":"If true, list all versions of objects as distinct entries","default":false}]}],"codex":{"categories":["Development","Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlecloudstorage/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/CloudStorage/googleCloudStorage.svg"},
|
|
141
141
|
{"displayName":"Google Contacts","name":"n8n-nodes-base.googleContacts","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Google Contacts API","defaults":{"name":"Google Contacts"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleContactsOAuth2Api","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Contact","value":"contact"}],"default":"contact"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["contact"]}},"options":[{"name":"Create","value":"create","description":"Create a contact","action":"Create 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":"Retrieve many contacts","action":"Get many contacts"},{"name":"Update","value":"update","description":"Update a contact","action":"Update a contact"}],"default":"create"},{"displayName":"Family Name","name":"familyName","type":"string","displayOptions":{"show":{"operation":["create"],"resource":["contact"]}},"default":""},{"displayName":"Given Name","name":"givenName","type":"string","displayOptions":{"show":{"operation":["create"],"resource":["contact"]}},"default":""},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["create"],"resource":["contact"]}},"options":[{"displayName":"Addresses","name":"addressesUi","placeholder":"Add Address","type":"fixedCollection","default":{},"options":[{"displayName":"Address","name":"addressesValues","values":[{"displayName":"Street Address","name":"streetAddress","type":"string","default":""},{"displayName":"City","name":"city","type":"string","default":""},{"displayName":"Region","name":"region","type":"string","default":""},{"displayName":"Country Code","name":"countryCode","type":"string","default":""},{"displayName":"Postal Code","name":"postalCode","type":"string","default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"Home","value":"home"},{"name":"Work","value":"work"},{"name":"Other","value":"other"}],"default":""}]}]},{"displayName":"Birthday","name":"birthday","type":"dateTime","default":""},{"displayName":"Company","name":"companyUi","type":"fixedCollection","default":{},"placeholder":"Add Company","typeOptions":{"multipleValues":true},"options":[{"name":"companyValues","displayName":"Company","values":[{"displayName":"Current","name":"current","type":"boolean","default":false},{"displayName":"Domain","name":"domain","type":"string","default":""},{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Title","name":"title","type":"string","default":""}]}]},{"displayName":"Custom Fields","name":"customFieldsUi","type":"fixedCollection","default":{},"placeholder":"Add Custom Field","typeOptions":{"multipleValues":true},"options":[{"name":"customFieldsValues","displayName":"Custom Field","values":[{"displayName":"Key","name":"key","type":"string","description":"The end user specified key of the user defined data","default":""},{"displayName":"Value","name":"value","type":"string","description":"The end user specified value of the user defined data","default":""}]}]},{"displayName":"Emails","name":"emailsUi","type":"fixedCollection","default":{},"placeholder":"Add Email","typeOptions":{"multipleValues":true},"options":[{"name":"emailsValues","displayName":"Email","values":[{"displayName":"Type","name":"type","type":"options","options":[{"name":"Home","value":"home"},{"name":"Work","value":"work"},{"name":"Other","value":"other"}],"default":"","description":"The type of the email address. The type can be custom or one of these predefined values."},{"displayName":"Value","name":"value","type":"string","default":"","description":"The email address"}]}]},{"displayName":"Events","name":"eventsUi","type":"fixedCollection","default":{},"placeholder":"Add Event","description":"An event related to the person","typeOptions":{"multipleValues":true},"options":[{"name":"eventsValues","displayName":"Event","values":[{"displayName":"Date","name":"date","type":"dateTime","default":"","description":"The date of the event"},{"displayName":"Type","name":"type","type":"options","options":[{"name":"Anniversary","value":"anniversary"},{"name":"Other","value":"other"}],"default":"","description":"The type of the event. The type can be custom or one of these predefined values."}]}]},{"displayName":"File As","name":"fileAs","type":"string","default":"","description":"The name that should be used to sort the person in a list"},{"displayName":"Group Names or IDs","name":"group","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":"getGroups"},"default":[]},{"displayName":"Honorific Prefix","name":"honorificPrefix","type":"string","default":""},{"displayName":"Honorific Suffix","name":"honorificSuffix","type":"string","default":""},{"displayName":"Middle Name","name":"middleName","type":"string","default":""},{"displayName":"Notes","name":"biographies","type":"string","default":""},{"displayName":"Phone","name":"phoneUi","type":"fixedCollection","default":{},"placeholder":"Add Phone","typeOptions":{"multipleValues":true},"options":[{"name":"phoneValues","displayName":"Phone","values":[{"displayName":"Type","name":"type","type":"options","options":[{"name":"Google Voice","value":"googleVoice"},{"name":"Home","value":"home"},{"name":"Home Fax","value":"homeFax"},{"name":"Main","value":"main"},{"name":"Mobile","value":"mobile"},{"name":"Other","value":"other"},{"name":"Other Fax","value":"otherFax"},{"name":"Pager","value":"pager"},{"name":"Work","value":"work"},{"name":"Work Fax","value":"workFax"},{"name":"Work Mobile","value":"workMobile"},{"name":"Work Pager","value":"workPager"}],"default":""},{"displayName":"Value","name":"value","type":"string","default":"","description":"The phone number"}]}]},{"displayName":"Relations","name":"relationsUi","type":"fixedCollection","default":{},"placeholder":"Add Relation","typeOptions":{"multipleValues":true},"options":[{"name":"relationsValues","displayName":"Relation","values":[{"displayName":"Person","name":"person","type":"string","default":"","description":"The name of the other person this relation refers to"},{"displayName":"Type","name":"type","type":"options","options":[{"name":"Assistant","value":"assistant"},{"name":"Brother","value":"brother"},{"name":"Child","value":"child"},{"name":"Domestic Partner","value":"domesticPartner"},{"name":"Father","value":"father"},{"name":"Friend","value":"friend"},{"name":"Manager","value":"manager"},{"name":"Mother","value":"mother"},{"name":"Parent","value":"parent"},{"name":"Referred By","value":"referredBy"},{"name":"Relative","value":"relative"},{"name":"Sister","value":"sister"},{"name":"Spouse","value":"spouse"}],"default":"","description":"The person's relation to the other person. The type can be custom or one of these predefined values."}]}]}]},{"displayName":"Contact ID","name":"contactId","type":"string","required":true,"displayOptions":{"show":{"operation":["delete"],"resource":["contact"]}},"default":""},{"displayName":"Contact ID","name":"contactId","type":"string","required":true,"displayOptions":{"show":{"operation":["get"],"resource":["contact"]}},"default":""},{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"*","value":"*"},{"name":"Addresses","value":"addresses"},{"name":"Biographies","value":"biographies"},{"name":"Birthdays","value":"birthdays"},{"name":"Cover Photos","value":"coverPhotos"},{"name":"Email Addresses","value":"emailAddresses"},{"name":"Events","value":"events"},{"name":"Genders","value":"genders"},{"name":"IM Clients","value":"imClients"},{"name":"Interests","value":"interests"},{"name":"Locales","value":"locales"},{"name":"Memberships","value":"memberships"},{"name":"Metadata","value":"metadata"},{"name":"Names","value":"names"},{"name":"Nicknames","value":"nicknames"},{"name":"Occupations","value":"occupations"},{"name":"Organizations","value":"organizations"},{"name":"Phone Numbers","value":"phoneNumbers"},{"name":"Photos","value":"photos"},{"name":"Relations","value":"relations"},{"name":"Residences","value":"residences"},{"name":"Sip Addresses","value":"sipAddresses"},{"name":"Skills","value":"skills"},{"name":"URLs","value":"urls"},{"name":"User Defined","value":"userDefined"}],"displayOptions":{"show":{"operation":["get"],"resource":["contact"]}},"default":[],"description":"A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas."},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["contact"]}},"default":false,"description":"Whether to return the data exactly in the way it got received from the API"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["contact"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll"],"resource":["contact"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"*","value":"*"},{"name":"Addresses","value":"addresses"},{"name":"Biographies","value":"biographies"},{"name":"Birthdays","value":"birthdays"},{"name":"Cover Photos","value":"coverPhotos"},{"name":"Email Addresses","value":"emailAddresses"},{"name":"Events","value":"events"},{"name":"Genders","value":"genders"},{"name":"IM Clients","value":"imClients"},{"name":"Interests","value":"interests"},{"name":"Locales","value":"locales"},{"name":"Memberships","value":"memberships"},{"name":"Metadata","value":"metadata"},{"name":"Names","value":"names"},{"name":"Nicknames","value":"nicknames"},{"name":"Occupations","value":"occupations"},{"name":"Organizations","value":"organizations"},{"name":"Phone Numbers","value":"phoneNumbers"},{"name":"Photos","value":"photos"},{"name":"Relations","value":"relations"},{"name":"Residences","value":"residences"},{"name":"Sip Addresses","value":"sipAddresses"},{"name":"Skills","value":"skills"},{"name":"URLs","value":"urls"},{"name":"User Defined","value":"userDefined"}],"displayOptions":{"show":{"operation":["getAll"],"resource":["contact"]}},"default":[],"description":"A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas."},{"displayName":"Use Query","name":"useQuery","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["contact"]}},"default":false,"description":"Whether or not to use a query to filter the results"},{"displayName":"Query","name":"query","type":"string","displayOptions":{"show":{"operation":["getAll"],"resource":["contact"],"useQuery":[true]}},"default":"","description":"The plain-text query for the request. The query is used to match prefix phrases of the fields on a person. For example, a person with name \"foo name\" matches queries such as \"f\", \"fo\", \"foo\", \"foo n\", \"nam\", etc., but not \"oo n\"."},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["contact"]}},"default":false,"description":"Whether to return the data exactly in the way it got received from the API"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["getAll"],"resource":["contact"],"useQuery":[false]}},"options":[{"displayName":"Sort Order","name":"sortOrder","type":"options","options":[{"name":"Last Modified Ascending","value":"LAST_MODIFIED_ASCENDING","description":"Sort people by when they were changed; older entries first"},{"name":"Last Modified Descending","value":"LAST_MODIFIED_DESCENDING","description":"Sort people by when they were changed; newer entries first"},{"name":"First Name Ascending","value":"FIRST_NAME_ASCENDING","description":"Sort people by first name"},{"name":"Last Name Ascending","value":"LAST_NAME_ASCENDING","description":"Sort people by last name"}],"default":"","description":"The order of the contacts returned in the result"}]},{"displayName":"Contact ID","name":"contactId","type":"string","required":true,"displayOptions":{"show":{"operation":["update"],"resource":["contact"]}},"default":""},{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"*","value":"*"},{"name":"Addresses","value":"addresses"},{"name":"Biographies","value":"biographies"},{"name":"Birthdays","value":"birthdays"},{"name":"Cover Photos","value":"coverPhotos"},{"name":"Email Addresses","value":"emailAddresses"},{"name":"Events","value":"events"},{"name":"Genders","value":"genders"},{"name":"IM Clients","value":"imClients"},{"name":"Interests","value":"interests"},{"name":"Locales","value":"locales"},{"name":"Memberships","value":"memberships"},{"name":"Metadata","value":"metadata"},{"name":"Names","value":"names"},{"name":"Nicknames","value":"nicknames"},{"name":"Occupations","value":"occupations"},{"name":"Organizations","value":"organizations"},{"name":"Phone Numbers","value":"phoneNumbers"},{"name":"Photos","value":"photos"},{"name":"Relations","value":"relations"},{"name":"Residences","value":"residences"},{"name":"Sip Addresses","value":"sipAddresses"},{"name":"Skills","value":"skills"},{"name":"URLs","value":"urls"},{"name":"User Defined","value":"userDefined"}],"displayOptions":{"show":{"operation":["update"],"resource":["contact"]}},"default":[],"description":"A field mask to restrict which fields on each person are returned. Multiple fields can be specified by separating them with commas."},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["contact"]}},"options":[{"displayName":"Etag","name":"etag","type":"string","default":"","description":"The etag field in the person is nedded to make sure the contact has not changed since your last read"},{"displayName":"Family Name","name":"familyName","type":"string","default":""},{"displayName":"Given Name","name":"givenName","type":"string","default":""},{"displayName":"Addresses","name":"addressesUi","placeholder":"Add Address","type":"fixedCollection","default":{},"options":[{"displayName":"Address","name":"addressesValues","values":[{"displayName":"Street Address","name":"streetAddress","type":"string","default":""},{"displayName":"City","name":"city","type":"string","default":""},{"displayName":"Region","name":"region","type":"string","default":""},{"displayName":"Country Code","name":"countryCode","type":"string","default":""},{"displayName":"Postal Code","name":"postalCode","type":"string","default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"Home","value":"home"},{"name":"Work","value":"work"},{"name":"Other","value":"other"}],"default":""}]}]},{"displayName":"Birthday","name":"birthday","type":"dateTime","default":""},{"displayName":"Company","name":"companyUi","type":"fixedCollection","default":{},"placeholder":"Add Company","typeOptions":{"multipleValues":true},"options":[{"name":"companyValues","displayName":"Company","values":[{"displayName":"Current","name":"current","type":"boolean","default":false},{"displayName":"Domain","name":"domain","type":"string","default":""},{"displayName":"Name","name":"name","type":"string","default":""},{"displayName":"Title","name":"title","type":"string","default":""}]}]},{"displayName":"Custom Fields","name":"customFieldsUi","type":"fixedCollection","default":{},"placeholder":"Add Custom Field","typeOptions":{"multipleValues":true},"options":[{"name":"customFieldsValues","displayName":"Custom Field","values":[{"displayName":"Key","name":"key","type":"string","description":"The end user specified key of the user defined data","default":""},{"displayName":"Value","name":"value","type":"string","description":"The end user specified value of the user defined data","default":""}]}]},{"displayName":"Emails","name":"emailsUi","type":"fixedCollection","default":{},"placeholder":"Add Email","typeOptions":{"multipleValues":true},"options":[{"name":"emailsValues","displayName":"Email","values":[{"displayName":"Type","name":"type","type":"options","options":[{"name":"Home","value":"home"},{"name":"Work","value":"work"},{"name":"Other","value":"other"}],"default":"","description":"The type of the email address. The type can be custom or one of these predefined values."},{"displayName":"Value","name":"value","type":"string","default":"","description":"The email address"}]}]},{"displayName":"Events","name":"eventsUi","type":"fixedCollection","default":{},"placeholder":"Add Event","description":"An event related to the person","typeOptions":{"multipleValues":true},"options":[{"name":"eventsValues","displayName":"Event","values":[{"displayName":"Date","name":"date","type":"dateTime","default":"","description":"The date of the event"},{"displayName":"Type","name":"type","type":"options","options":[{"name":"Anniversary","value":"anniversary"},{"name":"Other","value":"other"}],"default":"","description":"The type of the event. The type can be custom or one of these predefined values."}]}]},{"displayName":"File As","name":"fileAs","type":"string","default":"","description":"The name that should be used to sort the person in a list"},{"displayName":"Group Names or IDs","name":"group","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":"getGroups"},"default":[]},{"displayName":"Honorific Prefix","name":"honorificPrefix","type":"string","default":""},{"displayName":"Honorific Suffix","name":"honorificSuffix","type":"string","default":""},{"displayName":"Middle Name","name":"middleName","type":"string","default":""},{"displayName":"Notes","name":"biographies","type":"string","default":""},{"displayName":"Phone","name":"phoneUi","type":"fixedCollection","default":{},"placeholder":"Add Phone","typeOptions":{"multipleValues":true},"options":[{"name":"phoneValues","displayName":"Phone","values":[{"displayName":"Type","name":"type","type":"options","options":[{"name":"Google Voice","value":"googleVoice"},{"name":"Home","value":"home"},{"name":"Home Fax","value":"homeFax"},{"name":"Main","value":"main"},{"name":"Mobile","value":"mobile"},{"name":"Other","value":"other"},{"name":"Other Fax","value":"otherFax"},{"name":"Pager","value":"pager"},{"name":"Work","value":"work"},{"name":"Work Fax","value":"workFax"},{"name":"Work Mobile","value":"workMobile"},{"name":"Work Pager","value":"workPager"}],"default":""},{"displayName":"Value","name":"value","type":"string","default":"","description":"The phone number"}]}]},{"displayName":"Relations","name":"relationsUi","type":"fixedCollection","default":{},"placeholder":"Add Relation","typeOptions":{"multipleValues":true},"options":[{"name":"relationsValues","displayName":"Relation","values":[{"displayName":"Person","name":"person","type":"string","default":"","description":"The name of the other person this relation refers to"},{"displayName":"Type","name":"type","type":"options","options":[{"name":"Assistant","value":"assistant"},{"name":"Brother","value":"brother"},{"name":"Child","value":"child"},{"name":"Domestic Partner","value":"domesticPartner"},{"name":"Father","value":"father"},{"name":"Friend","value":"friend"},{"name":"Manager","value":"manager"},{"name":"Mother","value":"mother"},{"name":"Parent","value":"parent"},{"name":"Referred By","value":"referredBy"},{"name":"Relative","value":"relative"},{"name":"Sister","value":"sister"},{"name":"Spouse","value":"spouse"}],"default":"","description":"The person's relation to the other person. The type can be custom or one of these predefined values."}]}]}]}],"codex":{"categories":["Miscellaneous "],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlecontacts/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Contacts/googleContacts.png"},
|
|
142
142
|
{"displayName":"Google Docs","name":"n8n-nodes-base.googleDocs","group":["input"],"version":[1,2],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Google Docs API.","defaults":{"name":"Google Docs"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDocsOAuth2Api","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":"Document","value":"document"}],"default":"document"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["document"]}},"options":[{"name":"Create","value":"create","action":"Create a document"},{"name":"Get","value":"get","action":"Get a document"},{"name":"Update","value":"update","action":"Update a document"}],"default":"create"},{"displayName":"Drive Name or ID","name":"driveId","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":"getDrives"},"default":"myDrive","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["document"]}}},{"displayName":"Folder Name or ID","name":"folderId","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":["driveId"],"loadOptionsMethod":"getFolders"},"default":"","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["document"]}}},{"displayName":"Title","name":"title","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["document"]}}},{"displayName":"Doc ID or URL","name":"documentURL","type":"string","required":true,"displayOptions":{"show":{"operation":["get"],"resource":["document"]}},"default":"","description":"The ID in the document URL (or just paste the whole URL)"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["document"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Doc ID or URL","name":"documentURL","type":"string","required":true,"displayOptions":{"show":{"operation":["update"],"resource":["document"]}},"default":"","description":"The ID in the document URL (or just paste the whole URL)"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["update"],"resource":["document"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Actions","name":"actionsUi","description":"Actions applied to update the document","type":"fixedCollection","placeholder":"Add Action","typeOptions":{"multipleValues":true},"default":{"actionFields":[{"object":"text","action":"insert","locationChoice":"endOfSegmentLocation","index":0,"text":""}]},"displayOptions":{"show":{"operation":["update"],"resource":["document"]}},"options":[{"name":"actionFields","displayName":"Action Fields","values":[{"displayName":"Object","name":"object","type":"options","options":[{"name":"Footer","value":"footer"},{"name":"Header","value":"header"},{"name":"Named Range","value":"namedRange"},{"name":"Page Break","value":"pageBreak"},{"name":"Paragraph Bullets","value":"paragraphBullets"},{"name":"Positioned Object","value":"positionedObject"},{"name":"Table","value":"table"},{"name":"Table Column","value":"tableColumn"},{"name":"Table Row","value":"tableRow"},{"name":"Text","value":"text"}],"description":"The update object","default":"text"},{"displayName":"Action","name":"action","type":"options","options":[{"name":"Find and Replace Text","value":"replaceAll"},{"name":"Insert","value":"insert"}],"displayOptions":{"show":{"object":["text"]}},"description":"The update action","default":""},{"displayName":"Action","name":"action","type":"options","options":[{"name":"Create","value":"create"},{"name":"Delete","value":"delete"}],"displayOptions":{"show":{"object":["footer","header","namedRange","paragraphBullets"]}},"description":"The update action","default":""},{"displayName":"Action","name":"action","type":"options","options":[{"name":"Delete","value":"delete"},{"name":"Insert","value":"insert"}],"displayOptions":{"show":{"object":["tableColumn","tableRow"]}},"description":"The update action","default":""},{"displayName":"Action","name":"action","type":"options","options":[{"name":"Insert","value":"insert"}],"displayOptions":{"show":{"object":["pageBreak","table"]}},"description":"The update action","default":""},{"displayName":"Action","name":"action","type":"options","options":[{"name":"Delete","value":"delete"}],"displayOptions":{"show":{"object":["positionedObject"]}},"description":"The update action","default":""},{"displayName":"Insert Segment","name":"insertSegment","type":"options","options":[{"name":"Header","value":"header"},{"name":"Body","value":"body"},{"name":"Footer","value":"footer"}],"description":"The location where to create the object","default":"body","displayOptions":{"show":{"object":["footer","header","paragraphBullets","namedRange"],"action":["create"]}}},{"displayName":"Segment ID","name":"segmentId","type":"string","description":"The ID of the header, footer or footnote. The <code>Document → Get</code> operation lists all segment IDs (make sure you disable the <code>simple</code> toggle).","default":"","displayOptions":{"show":{"object":["footer","header","paragraphBullets","namedRange"],"action":["create"]},"hide":{"insertSegment":["body"]}}},{"displayName":"Index","name":"index","type":"number","description":"The zero-based index, relative to the beginning of the specified segment","default":0,"displayOptions":{"show":{"object":["footer","header"],"action":["create"]}}},{"displayName":"Name","name":"name","type":"string","description":"The name of the Named Range. Names do not need to be unique.","default":"","displayOptions":{"show":{"object":["namedRange"],"action":["create"]}}},{"displayName":"Start Index","name":"startIndex","type":"number","description":"The zero-based start index of this range","default":0,"displayOptions":{"show":{"object":["namedRange"],"action":["create"]}}},{"displayName":"End Index","name":"endIndex","type":"number","description":"The zero-based end index of this range","default":0,"displayOptions":{"show":{"object":["namedRange"],"action":["create"]}}},{"displayName":"Style","name":"bulletPreset","type":"options","options":[{"name":"Bullet List","value":"BULLET_DISC_CIRCLE_SQUARE","description":"A bulleted list with a <code>DISC</code>, <code>CIRCLE</code> and <code>SQUARE</code> bullet glyph for the first 3 list nesting levels"},{"name":"Checkbox List","value":"BULLET_CHECKBOX","description":"A bulleted list with CHECKBOX bullet glyphs for all list nesting levels"},{"name":"Numbered List","value":"NUMBERED_DECIMAL_NESTED","description":"A numbered list with <code>DECIMAL</code> numeric glyphs separated by periods, where each nesting level uses the previous nesting level's glyph as a prefix. For example: 1., 1.1., 2., 2.2 ."}],"description":"The Preset pattern of bullet glyphs for list","default":"BULLET_DISC_CIRCLE_SQUARE","displayOptions":{"show":{"object":["paragraphBullets"],"action":["create"]}}},{"displayName":"Footer ID","name":"footerId","type":"string","description":"The ID of the footer to delete. To retrieve it, use the <code>get document</code> where you can find under <code>footers</code> attribute.","default":"","displayOptions":{"show":{"object":["footer"],"action":["delete"]}}},{"displayName":"Header ID","name":"headerId","type":"string","description":"The ID of the header to delete. To retrieve it, use the <code>get document</code> where you can find under <code>headers</code> attribute.","default":"","displayOptions":{"show":{"object":["header"],"action":["delete"]}}},{"displayName":"Specify Range By","name":"namedRangeReference","type":"options","options":[{"name":"ID","value":"namedRangeId"},{"name":"Name","value":"name"}],"description":"The value determines which range or ranges to delete","default":"namedRangeId","displayOptions":{"show":{"object":["namedRange"],"action":["delete"]}}},{"displayName":"ID","name":"value","type":"string","description":"The ID of the range","default":"","displayOptions":{"show":{"object":["namedRange"],"action":["delete"],"namedRangeReference":["namedRangeId"]}}},{"displayName":"Name","name":"value","type":"string","description":"The name of the range","default":"","displayOptions":{"show":{"object":["namedRange"],"action":["delete"],"namedRangeReference":["name"]}}},{"displayName":"Object ID","name":"objectId","type":"string","description":"The ID of the positioned object to delete (An object that is tied to a paragraph and positioned relative to its beginning), See the Google <a href=\"https://developers.google.com/docs/api/reference/rest/v1/PositionedObject\">documentation</a>","default":"","displayOptions":{"show":{"object":["positionedObject"],"action":["delete"]}}},{"displayName":"Insert Segment","name":"insertSegment","type":"options","options":[{"name":"Header","value":"header"},{"name":"Body","value":"body"},{"name":"Footer","value":"footer"}],"description":"The location where to create the object","default":"body","displayOptions":{"show":{"object":["pageBreak","table","tableColumn","tableRow","text"],"action":["insert"]}}},{"displayName":"Segment ID","name":"segmentId","type":"string","description":"The ID of the header, footer or footnote. The <code>Document → Get</code> operation lists all segment IDs (make sure you disable the <code>simple</code> toggle).","default":"","displayOptions":{"show":{"object":["pageBreak","table","tableColumn","tableRow","text"],"action":["insert"]},"hide":{"insertSegment":["body"]}}},{"displayName":"Insert Location","name":"locationChoice","type":"options","options":[{"name":"At End of Specific Position","value":"endOfSegmentLocation","description":"Inserts the text at the end of a header, footer, footnote, or document body"},{"name":"At Index","value":"location"}],"description":"The location where the text will be inserted","default":"endOfSegmentLocation","displayOptions":{"show":{"object":["pageBreak"],"action":["insert"]}}},{"displayName":"Index","name":"index","type":"number","description":"The zero-based index, relative to the beginning of the specified segment","displayOptions":{"show":{"locationChoice":["location"],"object":["pageBreak"],"action":["insert"]}},"typeOptions":{"minValue":1},"default":1},{"displayName":"Insert Location","name":"locationChoice","type":"options","options":[{"name":"At End of Specific Position","value":"endOfSegmentLocation","description":"Inserts the text at the end of a header, footer, footnote, or document body"},{"name":"At Index","value":"location"}],"description":"The location where the text will be inserted","default":"endOfSegmentLocation","displayOptions":{"show":{"object":["table"],"action":["insert"]}}},{"displayName":"Index","name":"index","type":"number","description":"The zero-based index, relative to the beginning of the specified segment (use index + 1 to refer to a table)","displayOptions":{"show":{"locationChoice":["location"],"object":["table"],"action":["insert"]}},"default":1,"typeOptions":{"minValue":1}},{"displayName":"Rows","name":"rows","type":"number","description":"The number of rows in the table","default":0,"displayOptions":{"show":{"object":["table"],"action":["insert"]}}},{"displayName":"Columns","name":"columns","type":"number","description":"The number of columns in the table","default":0,"displayOptions":{"show":{"object":["table"],"action":["insert"]}}},{"displayName":"Insert Location","name":"locationChoice","type":"options","options":[{"name":"At End of Specific Position","value":"endOfSegmentLocation","description":"Inserts the text at the end of a header, footer, footnote, or document body"},{"name":"At Index","value":"location"}],"description":"The location where the text will be inserted","default":"endOfSegmentLocation","displayOptions":{"show":{"object":["text"],"action":["insert"]}}},{"displayName":"Index","name":"index","type":"number","typeOptions":{"minValue":1},"description":"The zero-based index, relative to the beginning of the specified segment","displayOptions":{"show":{"locationChoice":["location"],"object":["text"],"action":["insert"]}},"default":1},{"displayName":"Text","name":"text","type":"string","description":"The text to insert in the document","default":"","displayOptions":{"show":{"object":["text"],"action":["insert"]}}},{"displayName":"Old Text","name":"text","type":"string","description":"The text to search for in the document","default":"","displayOptions":{"show":{"object":["text"],"action":["replaceAll"]}}},{"displayName":"New Text","name":"replaceText","type":"string","description":"The text that will replace the matched text","default":"","displayOptions":{"show":{"object":["text"],"action":["replaceAll"]}}},{"displayName":"Match Case","name":"matchCase","type":"boolean","description":"Whether the search should respect case sensitivity","default":false,"displayOptions":{"show":{"object":["text"],"action":["replaceAll"]}}},{"displayName":"Insert Segment","name":"insertSegment","type":"options","options":[{"name":"Header","value":"header"},{"name":"Body","value":"body"},{"name":"Footer","value":"footer"}],"description":"The location where to create the object","default":"body","displayOptions":{"show":{"object":["paragraphBullets","tableColumn","tableRow"],"action":["delete"]}}},{"displayName":"Segment ID","name":"segmentId","type":"string","description":"The ID of the header, footer or footnote. The <code>Document → Get</code> operation lists all segment IDs (make sure you disable the <code>simple</code> toggle).","default":"","displayOptions":{"show":{"object":["paragraphBullets","tableColumn","tableRow"],"action":["delete"]},"hide":{"insertSegment":["body"]}}},{"displayName":"Start Index","name":"startIndex","type":"number","description":"The zero-based start index of this range","default":0,"displayOptions":{"show":{"object":["paragraphBullets"]}}},{"displayName":"End Index","name":"endIndex","type":"number","description":"The zero-based end index of this range","default":0,"displayOptions":{"show":{"object":["paragraphBullets"]}}},{"displayName":"Insert Position","name":"insertPosition","type":"options","options":[{"name":"Before Content at Index","value":false},{"name":"After Content at Index","value":true}],"default":true,"displayOptions":{"show":{"object":["tableColumn","tableRow"],"action":["insert"]}}},{"displayName":"Index","name":"index","type":"number","description":"The zero-based index, relative to the beginning of the specified segment (use index + 1 to refer to a table)","default":1,"typeOptions":{"minValue":1},"displayOptions":{"show":{"object":["tableColumn","tableRow"]}}},{"displayName":"Row Index","name":"rowIndex","type":"number","description":"The zero-based row index","default":0,"displayOptions":{"show":{"object":["tableColumn","tableRow"]}}},{"displayName":"Column Index","name":"columnIndex","type":"number","description":"The zero-based column index","default":0,"displayOptions":{"show":{"object":["tableColumn","tableRow"]}}}]}]},{"displayName":"Update Fields","name":"updateFields","type":"fixedCollection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["document"]}},"options":[{"displayName":"Write Control Object","name":"writeControlObject","values":[{"displayName":"Revision Mode","name":"control","type":"options","options":[{"name":"Target","value":"targetRevisionId","description":"Apply changes to the latest revision. Otherwise changes will not be processed."},{"name":"Required","value":"requiredRevisionId","description":"Apply changes to the provided revision while incorporating other collaborators' changes. This mode is used for the recent revision, Otherwise changes will not be processed."}],"default":"requiredRevisionId","description":"Determines how the changes are applied to the revision"},{"displayName":"Revision ID","name":"value","type":"string","default":""}]}]}],"codex":{"categories":["Miscellaneous"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledocs/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Docs/googleDocs.svg"},
|
|
143
|
-
{"displayName":"Google Drive","name":"n8n-nodes-base.googleDrive","group":["input"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Access data on Google Drive","defaultVersion":3,"version":[1,2],"defaults":{"name":"Google Drive"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDriveOAuth2Api","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","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":"Drive","value":"drive"},{"name":"File","value":"file"},{"name":"Folder","value":"folder"}],"default":"file"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Copy","value":"copy","description":"Copy a file","action":"Copy a file"},{"name":"Delete","value":"delete","description":"Delete a file","action":"Delete a file"},{"name":"Download","value":"download","description":"Download a file","action":"Download a file"},{"name":"List","value":"list","description":"List files and folders","action":"List a file"},{"name":"Share","value":"share","description":"Share a file","action":"Share a file"},{"name":"Update","value":"update","description":"Update a file","action":"Update a file"},{"name":"Upload","value":"upload","description":"Upload a file","action":"Upload a file"}],"default":"upload"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["folder"]}},"options":[{"name":"Create","value":"create","description":"Create a folder","action":"Create a folder"},{"name":"Delete","value":"delete","description":"Delete a folder","action":"Delete a folder"},{"name":"Share","value":"share","description":"Share a folder","action":"Share a folder"}],"default":"create"},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"displayOptions":{"show":{"operation":["download","copy","update","delete","share"],"resource":["file"]}},"description":"The ID of the file"},{"displayName":"Folder","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com\\/\\w+\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com\\/\\w+\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"operation":["delete","share"],"resource":["folder"]}},"description":"The ID of the folder"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"options":[{"displayName":"Google File Conversion","name":"googleFileConversion","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{},"placeholder":"Add Conversion","options":[{"displayName":"Conversion","name":"conversion","values":[{"displayName":"Google Docs","name":"docsToFormat","type":"options","options":[{"name":"To HTML","value":"text/html"},{"name":"To MS Word","value":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"name":"To OpenOffice Doc","value":"application/vnd.oasis.opendocument.text"},{"name":"To PDF","value":"application/pdf"},{"name":"To Rich Text","value":"application/rtf"}],"default":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","description":"Format used to export when downloading Google Docs files"},{"displayName":"Google Drawings","name":"drawingsToFormat","type":"options","options":[{"name":"To JPEG","value":"image/jpeg"},{"name":"To PNG","value":"image/png"},{"name":"To SVG","value":"image/svg+xml"},{"name":"To PDF","value":"application/pdf"}],"default":"image/jpeg","description":"Format used to export when downloading Google Drawings files"},{"displayName":"Google Slides","name":"slidesToFormat","type":"options","options":[{"name":"To MS PowerPoint","value":"application/vnd.openxmlformats-officedocument.presentationml.presentation"},{"name":"To PDF","value":"application/pdf"},{"name":"To OpenOffice Presentation","value":"application/vnd.oasis.opendocument.presentation"},{"name":"To Plain Text","value":"text/plain"}],"default":"application/vnd.openxmlformats-officedocument.presentationml.presentation","description":"Format used to export when downloading Google Slides files"},{"displayName":"Google Sheets","name":"sheetsToFormat","type":"options","options":[{"name":"To MS Excel","value":"application/x-vnd.oasis.opendocument.spreadsheet"},{"name":"To PDF","value":"application/pdf"},{"name":"To CSV","value":"text/csv"}],"default":"application/x-vnd.oasis.opendocument.spreadsheet","description":"Format used to export when downloading Google Spreadsheets files"}]}]},{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"File name. Ex: data.pdf."}]},{"displayName":"Use Query String","name":"useQueryString","type":"boolean","default":false,"displayOptions":{"show":{"operation":["list"],"resource":["file"]}},"description":"Whether a query string should be used to filter results"},{"displayName":"Query String","name":"queryString","type":"string","default":"","displayOptions":{"show":{"operation":["list"],"useQueryString":[true],"resource":["file"]}},"placeholder":"name contains 'invoice'","description":"Query to use to return only specific files"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"resource":["file"]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return"},{"displayName":"Filters","name":"queryFilters","placeholder":"Add Filter","description":"Filters to use to return only specific files","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"displayOptions":{"show":{"operation":["list"],"useQueryString":[false],"resource":["file"]}},"options":[{"name":"name","displayName":"Name","values":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Contains","value":"contains"},{"name":"Is","value":"is"},{"name":"Is Not","value":"isNot"}],"default":"contains"},{"displayName":"Value","name":"value","type":"string","default":"","description":"The value for operation"}]},{"name":"mimeType","displayName":"Mime Type","values":[{"displayName":"Mime Type","name":"mimeType","type":"options","options":[{"name":"3rd Party Shortcut","value":"application/vnd.google-apps.drive-sdk"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Custom Mime Type","value":"custom"},{"name":"Google Apps Scripts","value":"application/vnd.google-apps.script"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawing","value":"application/vnd.google-apps.drawing"},{"name":"Google Drive File","value":"application/vnd.google-apps.file"},{"name":"Google Drive Folder","value":"application/vnd.google-apps.folder"},{"name":"Google Forms","value":"application/vnd.google-apps.form"},{"name":"Google Fusion Tables","value":"application/vnd.google-apps.fusiontable"},{"name":"Google My Maps","value":"application/vnd.google-apps.map"},{"name":"Google Sheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Google Sites","value":"application/vnd.google-apps.site"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Photo","value":"application/vnd.google-apps.photo"},{"name":"Unknown","value":"application/vnd.google-apps.unknown"},{"name":"Video","value":"application/vnd.google-apps.video"}],"default":"application/vnd.google-apps.file","description":"The Mime-Type of the files to return"},{"displayName":"Custom Mime Type","name":"customMimeType","type":"string","default":"","displayOptions":{"show":{"mimeType":["custom"]}}}]}]},{"displayName":"Permissions","name":"permissionsUi","placeholder":"Add Permission","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":false},"displayOptions":{"show":{"resource":["file","folder"],"operation":["share"]}},"options":[{"displayName":"Permission","name":"permissionsValues","values":[{"displayName":"Role","name":"role","type":"options","options":[{"name":"Commenter","value":"commenter"},{"name":"File Organizer","value":"fileOrganizer"},{"name":"Organizer","value":"organizer"},{"name":"Owner","value":"owner"},{"name":"Reader","value":"reader"},{"name":"Writer","value":"writer"}],"default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"User","value":"user"},{"name":"Group","value":"group"},{"name":"Domain","value":"domain"},{"name":"Anyone","value":"anyone"}],"default":"","description":"Information about the different types can be found <a href=\"https://developers.google.com/drive/api/v3/ref-roles\">here</a>"},{"displayName":"Email Address","name":"emailAddress","type":"string","displayOptions":{"show":{"type":["user","group"]}},"default":"","description":"The email address of the user or group to which this permission refers"},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"type":["domain"]}},"default":"","description":"The domain to which this permission refers"},{"displayName":"Allow File Discovery","name":"allowFileDiscovery","type":"boolean","displayOptions":{"show":{"type":["domain","anyone"]}},"default":false,"description":"Whether the permission allows the file to be discovered through search"}]}]},{"displayName":"Binary Data","name":"binaryData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"Whether the data to upload should be taken from binary field"},{"displayName":"File Content","name":"fileContent","type":"string","default":"","displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[false]}},"placeholder":"","description":"The text content of the file to upload"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[true]}},"placeholder":"","description":"Name of the binary property which contains the data for the file to be uploaded"},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["file"]}},"options":[{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"The name of the file"},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"Move to Trash","name":"trashed","type":"boolean","default":false,"description":"Whether to move a file to the trash. Only the owner may trash a file."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Parent ID","name":"parentId","type":"string","default":"","description":"The ID of the parent to set"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["file"]}},"options":[{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"[All]","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"}]},{"displayName":"File Name","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"placeholder":"invoice_1.pdf","description":"The name the file should be saved as"},{"displayName":"Resolve Data","name":"resolveData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"By default the response only contain the ID of the file. If this option gets activated, it will resolve the data automatically."},{"displayName":"Parents","name":"parents","type":"string","typeOptions":{"multipleValues":true},"default":[],"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"The IDs of the parent folders which contain the file"},{"displayName":"Folder","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["folder"]}},"placeholder":"invoices","description":"The name of folder to create"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"/operation":["copy","list","share","create"],"/resource":["file","folder"]}},"options":[{"displayName":"Email Message","name":"emailMessage","type":"string","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":"","description":"A plain text custom message to include in the notification email"},{"displayName":"Enforce Single Parent","name":"enforceSingleParent","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive."},{"displayName":"Fields","name":"fields","type":"multiOptions","displayOptions":{"show":{"/operation":["list","copy"]}},"options":[{"name":"*","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"},{"displayName":"Move To New Owners Root","name":"moveToNewOwnersRoot","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>"},{"displayName":"Send Notification Email","name":"sendNotificationEmail","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to send a notification email when sharing to users or groups"},{"displayName":"Supports All Drives","name":"supportsAllDrives","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether the requesting application supports both My Drives and shared drives"},{"displayName":"Transfer Ownership","name":"transferOwnership","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer"},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically."},{"displayName":"File Name","name":"name","type":"string","displayOptions":{"show":{"/operation":["copy"],"/resource":["file"]}},"default":"","placeholder":"invoice_1.pdf","description":"The name the file should be saved as"},{"displayName":"Parents","name":"parents","type":"string","displayOptions":{"show":{"/operation":["copy","create"],"/resource":["file","folder"]}},"typeOptions":{"multipleValues":true},"default":[],"description":"The IDs of the parent folders the file/folder should be saved in"},{"displayName":"Spaces","name":"spaces","type":"multiOptions","displayOptions":{"show":{"/operation":["list"],"/resource":["file"]}},"options":[{"name":"[All]","value":"*","description":"All spaces"},{"name":"appDataFolder","value":"appDataFolder"},{"name":"Drive","value":"drive"},{"name":"Photos","value":"photos"}],"default":[],"description":"The spaces to operate on"},{"displayName":"Corpora","name":"corpora","type":"options","displayOptions":{"show":{"/operation":["list"],"/resource":["file"]}},"options":[{"name":"User","value":"user","description":"All files in \"My Drive\" and \"Shared with me\""},{"name":"Domain","value":"domain","description":"All files shared to the user's domain that are searchable"},{"name":"Drive","value":"drive","description":"All files contained in a single shared drive"},{"name":"allDrives","value":"allDrives","description":"All drives"}],"default":"","description":"The corpora to operate on"},{"displayName":"Drive ID","name":"driveId","type":"string","default":"","displayOptions":{"show":{"/operation":["list"],"/resource":["file"],"corpora":["drive"]}},"description":"ID of the shared drive to search. The driveId parameter must be specified if and only if corpora is set to drive."}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["drive"]}},"options":[{"name":"Create","value":"create","description":"Create a drive","action":"Create a drive"},{"name":"Delete","value":"delete","description":"Delete a drive","action":"Delete a drive"},{"name":"Get","value":"get","description":"Get a drive","action":"Get a drive"},{"name":"List","value":"list","description":"List all drives","action":"List all drives"},{"name":"Update","value":"update","description":"Update a drive","action":"Update a drive"}],"default":"create"},{"displayName":"Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"hint":"The Google Drive drive to operate on","modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Drive","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com\\/\\w+\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com\\/\\w+\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"operation":["delete","get","update"],"resource":["drive"]}},"description":"The ID of the drive"},{"displayName":"Name","name":"name","type":"string","default":"","displayOptions":{"show":{"operation":["create"],"resource":["drive"]}},"description":"The name of this shared drive"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["create"],"resource":["drive"]}},"options":[{"displayName":"Capabilities","name":"capabilities","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Can Add Children","name":"canAddChildren","type":"boolean","default":false,"description":"Whether the current user can add children to folders in this shared drive"},{"displayName":"Can Change Copy Requires Writer Permission Restriction","name":"canChangeCopyRequiresWriterPermissionRestriction","type":"boolean","default":false,"description":"Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive"},{"displayName":"Can Change Domain Users Only Restriction","name":"canChangeDomainUsersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the domainUsersOnly restriction of this shared drive"},{"displayName":"Can Change Drive Background","name":"canChangeDriveBackground","type":"boolean","default":false,"description":"Whether the current user can change the background of this shared drive"},{"displayName":"Can Change Drive Members Only Restriction","name":"canChangeDriveMembersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the driveMembersOnly restriction of this shared drive"},{"displayName":"Can Comment","name":"canComment","type":"boolean","default":false,"description":"Whether the current user can comment on files in this shared drive"},{"displayName":"Can Copy","name":"canCopy","type":"boolean","default":false,"description":"Whether the current user can copy files in this shared drive"},{"displayName":"Can Delete Children","name":"canDeleteChildren","type":"boolean","default":false,"description":"Whether the current user can delete children from folders in this shared drive"},{"displayName":"Can Delete Drive","name":"canDeleteDrive","type":"boolean","default":false,"description":"Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive."},{"displayName":"Can Download","name":"canDownload","type":"boolean","default":false,"description":"Whether the current user can download files in this shared drive"},{"displayName":"Can Edit","name":"canEdit","type":"boolean","default":false,"description":"Whether the current user can edit files in this shared drive"},{"displayName":"Can List Children","name":"canListChildren","type":"boolean","default":false,"description":"Whether the current user can list the children of folders in this shared drive"},{"displayName":"Can Manage Members","name":"canManageMembers","type":"boolean","default":false,"description":"Whether the current user can add members to this shared drive or remove them or change their role"},{"displayName":"Can Read Revisions","name":"canReadRevisions","type":"boolean","default":false,"description":"Whether the current user can read the revisions resource of files in this shared drive"},{"displayName":"Can Rename","name":"canRename","type":"boolean","default":false,"description":"Whether the current user can rename files or folders in this shared drive"},{"displayName":"Can Rename Drive","name":"canRenameDrive","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Share","name":"canShare","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Trash Children","name":"canTrashChildren","type":"boolean","default":false,"description":"Whether the current user can trash children from folders in this shared drive"}]},{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Created Time","name":"createdTime","type":"dateTime","default":"","description":"The time at which the shared drive was created (RFC 3339 date-time)"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the shared drive is hidden from default view"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["get"],"resource":["drive"]}},"options":[{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)."}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["list"],"resource":["drive"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"resource":["drive"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":200},"default":100,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["list"],"resource":["drive"]}},"options":[{"displayName":"Query","name":"q","type":"string","default":"","description":"Query string for searching shared drives. See the <a href=\"https://developers.google.com/drive/api/v3/search-shareddrives\">\"Search for shared drives\"</a> guide for supported syntax."},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)."}]},{"displayName":"Update Fields","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["drive"]}},"options":[{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Name","name":"name","type":"string","default":"","description":"The name of this shared drive"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Drive/googleDrive.svg"},
|
|
144
|
-
{"displayName":"Google Drive","name":"n8n-nodes-base.googleDrive","group":["input"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Access data on Google Drive","defaultVersion":3,"version":[1,2],"defaults":{"name":"Google Drive"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDriveOAuth2Api","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","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":"Drive","value":"drive"},{"name":"File","value":"file"},{"name":"Folder","value":"folder"}],"default":"file"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Copy","value":"copy","description":"Copy a file","action":"Copy a file"},{"name":"Delete","value":"delete","description":"Delete a file","action":"Delete a file"},{"name":"Download","value":"download","description":"Download a file","action":"Download a file"},{"name":"List","value":"list","description":"List files and folders","action":"List a file"},{"name":"Share","value":"share","description":"Share a file","action":"Share a file"},{"name":"Update","value":"update","description":"Update a file","action":"Update a file"},{"name":"Upload","value":"upload","description":"Upload a file","action":"Upload a file"}],"default":"upload"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["folder"]}},"options":[{"name":"Create","value":"create","description":"Create a folder","action":"Create a folder"},{"name":"Delete","value":"delete","description":"Delete a folder","action":"Delete a folder"},{"name":"Share","value":"share","description":"Share a folder","action":"Share a folder"}],"default":"create"},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"displayOptions":{"show":{"operation":["download","copy","update","delete","share"],"resource":["file"]}},"description":"The ID of the file"},{"displayName":"Folder","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com\\/\\w+\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com\\/\\w+\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"operation":["delete","share"],"resource":["folder"]}},"description":"The ID of the folder"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"options":[{"displayName":"Google File Conversion","name":"googleFileConversion","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{},"placeholder":"Add Conversion","options":[{"displayName":"Conversion","name":"conversion","values":[{"displayName":"Google Docs","name":"docsToFormat","type":"options","options":[{"name":"To HTML","value":"text/html"},{"name":"To MS Word","value":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"name":"To OpenOffice Doc","value":"application/vnd.oasis.opendocument.text"},{"name":"To PDF","value":"application/pdf"},{"name":"To Rich Text","value":"application/rtf"}],"default":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","description":"Format used to export when downloading Google Docs files"},{"displayName":"Google Drawings","name":"drawingsToFormat","type":"options","options":[{"name":"To JPEG","value":"image/jpeg"},{"name":"To PNG","value":"image/png"},{"name":"To SVG","value":"image/svg+xml"},{"name":"To PDF","value":"application/pdf"}],"default":"image/jpeg","description":"Format used to export when downloading Google Drawings files"},{"displayName":"Google Slides","name":"slidesToFormat","type":"options","options":[{"name":"To MS PowerPoint","value":"application/vnd.openxmlformats-officedocument.presentationml.presentation"},{"name":"To PDF","value":"application/pdf"},{"name":"To OpenOffice Presentation","value":"application/vnd.oasis.opendocument.presentation"},{"name":"To Plain Text","value":"text/plain"}],"default":"application/vnd.openxmlformats-officedocument.presentationml.presentation","description":"Format used to export when downloading Google Slides files"},{"displayName":"Google Sheets","name":"sheetsToFormat","type":"options","options":[{"name":"To MS Excel","value":"application/x-vnd.oasis.opendocument.spreadsheet"},{"name":"To PDF","value":"application/pdf"},{"name":"To CSV","value":"text/csv"}],"default":"application/x-vnd.oasis.opendocument.spreadsheet","description":"Format used to export when downloading Google Spreadsheets files"}]}]},{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"File name. Ex: data.pdf."}]},{"displayName":"Use Query String","name":"useQueryString","type":"boolean","default":false,"displayOptions":{"show":{"operation":["list"],"resource":["file"]}},"description":"Whether a query string should be used to filter results"},{"displayName":"Query String","name":"queryString","type":"string","default":"","displayOptions":{"show":{"operation":["list"],"useQueryString":[true],"resource":["file"]}},"placeholder":"name contains 'invoice'","description":"Query to use to return only specific files"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"resource":["file"]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return"},{"displayName":"Filters","name":"queryFilters","placeholder":"Add Filter","description":"Filters to use to return only specific files","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"displayOptions":{"show":{"operation":["list"],"useQueryString":[false],"resource":["file"]}},"options":[{"name":"name","displayName":"Name","values":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Contains","value":"contains"},{"name":"Is","value":"is"},{"name":"Is Not","value":"isNot"}],"default":"contains"},{"displayName":"Value","name":"value","type":"string","default":"","description":"The value for operation"}]},{"name":"mimeType","displayName":"Mime Type","values":[{"displayName":"Mime Type","name":"mimeType","type":"options","options":[{"name":"3rd Party Shortcut","value":"application/vnd.google-apps.drive-sdk"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Custom Mime Type","value":"custom"},{"name":"Google Apps Scripts","value":"application/vnd.google-apps.script"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawing","value":"application/vnd.google-apps.drawing"},{"name":"Google Drive File","value":"application/vnd.google-apps.file"},{"name":"Google Drive Folder","value":"application/vnd.google-apps.folder"},{"name":"Google Forms","value":"application/vnd.google-apps.form"},{"name":"Google Fusion Tables","value":"application/vnd.google-apps.fusiontable"},{"name":"Google My Maps","value":"application/vnd.google-apps.map"},{"name":"Google Sheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Google Sites","value":"application/vnd.google-apps.site"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Photo","value":"application/vnd.google-apps.photo"},{"name":"Unknown","value":"application/vnd.google-apps.unknown"},{"name":"Video","value":"application/vnd.google-apps.video"}],"default":"application/vnd.google-apps.file","description":"The Mime-Type of the files to return"},{"displayName":"Custom Mime Type","name":"customMimeType","type":"string","default":"","displayOptions":{"show":{"mimeType":["custom"]}}}]}]},{"displayName":"Permissions","name":"permissionsUi","placeholder":"Add Permission","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":false},"displayOptions":{"show":{"resource":["file","folder"],"operation":["share"]}},"options":[{"displayName":"Permission","name":"permissionsValues","values":[{"displayName":"Role","name":"role","type":"options","options":[{"name":"Commenter","value":"commenter"},{"name":"File Organizer","value":"fileOrganizer"},{"name":"Organizer","value":"organizer"},{"name":"Owner","value":"owner"},{"name":"Reader","value":"reader"},{"name":"Writer","value":"writer"}],"default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"User","value":"user"},{"name":"Group","value":"group"},{"name":"Domain","value":"domain"},{"name":"Anyone","value":"anyone"}],"default":"","description":"Information about the different types can be found <a href=\"https://developers.google.com/drive/api/v3/ref-roles\">here</a>"},{"displayName":"Email Address","name":"emailAddress","type":"string","displayOptions":{"show":{"type":["user","group"]}},"default":"","description":"The email address of the user or group to which this permission refers"},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"type":["domain"]}},"default":"","description":"The domain to which this permission refers"},{"displayName":"Allow File Discovery","name":"allowFileDiscovery","type":"boolean","displayOptions":{"show":{"type":["domain","anyone"]}},"default":false,"description":"Whether the permission allows the file to be discovered through search"}]}]},{"displayName":"Binary Data","name":"binaryData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"Whether the data to upload should be taken from binary field"},{"displayName":"File Content","name":"fileContent","type":"string","default":"","displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[false]}},"placeholder":"","description":"The text content of the file to upload"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[true]}},"placeholder":"","description":"Name of the binary property which contains the data for the file to be uploaded"},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["file"]}},"options":[{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"The name of the file"},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"Move to Trash","name":"trashed","type":"boolean","default":false,"description":"Whether to move a file to the trash. Only the owner may trash a file."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Parent ID","name":"parentId","type":"string","default":"","description":"The ID of the parent to set"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["file"]}},"options":[{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"[All]","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"}]},{"displayName":"File Name","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"placeholder":"invoice_1.pdf","description":"The name the file should be saved as"},{"displayName":"Resolve Data","name":"resolveData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"By default the response only contain the ID of the file. If this option gets activated, it will resolve the data automatically."},{"displayName":"Parents","name":"parents","type":"string","typeOptions":{"multipleValues":true},"default":[],"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"The IDs of the parent folders which contain the file"},{"displayName":"Folder","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["folder"]}},"placeholder":"invoices","description":"The name of folder to create"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"/operation":["copy","list","share","create"],"/resource":["file","folder"]}},"options":[{"displayName":"Email Message","name":"emailMessage","type":"string","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":"","description":"A plain text custom message to include in the notification email"},{"displayName":"Enforce Single Parent","name":"enforceSingleParent","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive."},{"displayName":"Fields","name":"fields","type":"multiOptions","displayOptions":{"show":{"/operation":["list","copy"]}},"options":[{"name":"*","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"},{"displayName":"Move To New Owners Root","name":"moveToNewOwnersRoot","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>"},{"displayName":"Send Notification Email","name":"sendNotificationEmail","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to send a notification email when sharing to users or groups"},{"displayName":"Supports All Drives","name":"supportsAllDrives","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether the requesting application supports both My Drives and shared drives"},{"displayName":"Transfer Ownership","name":"transferOwnership","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer"},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically."},{"displayName":"File Name","name":"name","type":"string","displayOptions":{"show":{"/operation":["copy"],"/resource":["file"]}},"default":"","placeholder":"invoice_1.pdf","description":"The name the file should be saved as"},{"displayName":"Parents","name":"parents","type":"string","displayOptions":{"show":{"/operation":["copy","create"],"/resource":["file","folder"]}},"typeOptions":{"multipleValues":true},"default":[],"description":"The IDs of the parent folders the file/folder should be saved in"},{"displayName":"Spaces","name":"spaces","type":"multiOptions","displayOptions":{"show":{"/operation":["list"],"/resource":["file"]}},"options":[{"name":"[All]","value":"*","description":"All spaces"},{"name":"appDataFolder","value":"appDataFolder"},{"name":"Drive","value":"drive"},{"name":"Photos","value":"photos"}],"default":[],"description":"The spaces to operate on"},{"displayName":"Corpora","name":"corpora","type":"options","displayOptions":{"show":{"/operation":["list"],"/resource":["file"]}},"options":[{"name":"User","value":"user","description":"All files in \"My Drive\" and \"Shared with me\""},{"name":"Domain","value":"domain","description":"All files shared to the user's domain that are searchable"},{"name":"Drive","value":"drive","description":"All files contained in a single shared drive"},{"name":"allDrives","value":"allDrives","description":"All drives"}],"default":"","description":"The corpora to operate on"},{"displayName":"Drive ID","name":"driveId","type":"string","default":"","displayOptions":{"show":{"/operation":["list"],"/resource":["file"],"corpora":["drive"]}},"description":"ID of the shared drive to search. The driveId parameter must be specified if and only if corpora is set to drive."}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["drive"]}},"options":[{"name":"Create","value":"create","description":"Create a drive","action":"Create a drive"},{"name":"Delete","value":"delete","description":"Delete a drive","action":"Delete a drive"},{"name":"Get","value":"get","description":"Get a drive","action":"Get a drive"},{"name":"List","value":"list","description":"List all drives","action":"List all drives"},{"name":"Update","value":"update","description":"Update a drive","action":"Update a drive"}],"default":"create"},{"displayName":"Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"hint":"The Google Drive drive to operate on","modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Drive","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com\\/\\w+\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com\\/\\w+\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"operation":["delete","get","update"],"resource":["drive"]}},"description":"The ID of the drive"},{"displayName":"Name","name":"name","type":"string","default":"","displayOptions":{"show":{"operation":["create"],"resource":["drive"]}},"description":"The name of this shared drive"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["create"],"resource":["drive"]}},"options":[{"displayName":"Capabilities","name":"capabilities","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Can Add Children","name":"canAddChildren","type":"boolean","default":false,"description":"Whether the current user can add children to folders in this shared drive"},{"displayName":"Can Change Copy Requires Writer Permission Restriction","name":"canChangeCopyRequiresWriterPermissionRestriction","type":"boolean","default":false,"description":"Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive"},{"displayName":"Can Change Domain Users Only Restriction","name":"canChangeDomainUsersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the domainUsersOnly restriction of this shared drive"},{"displayName":"Can Change Drive Background","name":"canChangeDriveBackground","type":"boolean","default":false,"description":"Whether the current user can change the background of this shared drive"},{"displayName":"Can Change Drive Members Only Restriction","name":"canChangeDriveMembersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the driveMembersOnly restriction of this shared drive"},{"displayName":"Can Comment","name":"canComment","type":"boolean","default":false,"description":"Whether the current user can comment on files in this shared drive"},{"displayName":"Can Copy","name":"canCopy","type":"boolean","default":false,"description":"Whether the current user can copy files in this shared drive"},{"displayName":"Can Delete Children","name":"canDeleteChildren","type":"boolean","default":false,"description":"Whether the current user can delete children from folders in this shared drive"},{"displayName":"Can Delete Drive","name":"canDeleteDrive","type":"boolean","default":false,"description":"Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive."},{"displayName":"Can Download","name":"canDownload","type":"boolean","default":false,"description":"Whether the current user can download files in this shared drive"},{"displayName":"Can Edit","name":"canEdit","type":"boolean","default":false,"description":"Whether the current user can edit files in this shared drive"},{"displayName":"Can List Children","name":"canListChildren","type":"boolean","default":false,"description":"Whether the current user can list the children of folders in this shared drive"},{"displayName":"Can Manage Members","name":"canManageMembers","type":"boolean","default":false,"description":"Whether the current user can add members to this shared drive or remove them or change their role"},{"displayName":"Can Read Revisions","name":"canReadRevisions","type":"boolean","default":false,"description":"Whether the current user can read the revisions resource of files in this shared drive"},{"displayName":"Can Rename","name":"canRename","type":"boolean","default":false,"description":"Whether the current user can rename files or folders in this shared drive"},{"displayName":"Can Rename Drive","name":"canRenameDrive","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Share","name":"canShare","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Trash Children","name":"canTrashChildren","type":"boolean","default":false,"description":"Whether the current user can trash children from folders in this shared drive"}]},{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Created Time","name":"createdTime","type":"dateTime","default":"","description":"The time at which the shared drive was created (RFC 3339 date-time)"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the shared drive is hidden from default view"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["get"],"resource":["drive"]}},"options":[{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)."}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["list"],"resource":["drive"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"resource":["drive"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":200},"default":100,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["list"],"resource":["drive"]}},"options":[{"displayName":"Query","name":"q","type":"string","default":"","description":"Query string for searching shared drives. See the <a href=\"https://developers.google.com/drive/api/v3/search-shareddrives\">\"Search for shared drives\"</a> guide for supported syntax."},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)."}]},{"displayName":"Update Fields","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["drive"]}},"options":[{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Name","name":"name","type":"string","default":"","description":"The name of this shared drive"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Drive/googleDrive.svg"},
|
|
145
|
-
{"displayName":"Google Drive","name":"n8n-nodes-base.googleDrive","group":["input"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Access data on Google Drive","defaultVersion":3,"version":3,"defaults":{"name":"Google Drive"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDriveOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"File","value":"file"},{"name":"File/Folder","value":"fileFolder"},{"name":"Folder","value":"folder"},{"name":"Shared Drive","value":"drive"}],"default":"file"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Create","value":"create","description":"Create a shared drive","action":"Create shared drive"},{"name":"Delete","value":"deleteDrive","description":"Permanently delete a shared drive","action":"Delete shared drive"},{"name":"Get","value":"get","description":"Get a shared drive","action":"Get shared drive"},{"name":"Get Many","value":"list","description":"Get the list of shared drives","action":"Get many shared drives"},{"name":"Update","value":"update","description":"Update a shared drive","action":"Update shared drive"}],"default":"create","displayOptions":{"show":{"resource":["drive"]}}},{"displayName":"Name","name":"name","type":"string","default":"","placeholder":"e.g. New Shared Drive","description":"The name of the shared drive to create","displayOptions":{"show":{"resource":["drive"],"operation":["create"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Capabilities","name":"capabilities","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Can Add Children","name":"canAddChildren","type":"boolean","default":false,"description":"Whether the current user can add children to folders in this shared drive"},{"displayName":"Can Change Copy Requires Writer Permission Restriction","name":"canChangeCopyRequiresWriterPermissionRestriction","type":"boolean","default":false,"description":"Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive"},{"displayName":"Can Change Domain Users Only Restriction","name":"canChangeDomainUsersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the domainUsersOnly restriction of this shared drive"},{"displayName":"Can Change Drive Background","name":"canChangeDriveBackground","type":"boolean","default":false,"description":"Whether the current user can change the background of this shared drive"},{"displayName":"Can Change Drive Members Only Restriction","name":"canChangeDriveMembersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the driveMembersOnly restriction of this shared drive"},{"displayName":"Can Comment","name":"canComment","type":"boolean","default":false,"description":"Whether the current user can comment on files in this shared drive"},{"displayName":"Can Copy","name":"canCopy","type":"boolean","default":false,"description":"Whether the current user can copy files in this shared drive"},{"displayName":"Can Delete Children","name":"canDeleteChildren","type":"boolean","default":false,"description":"Whether the current user can delete children from folders in this shared drive"},{"displayName":"Can Delete Drive","name":"canDeleteDrive","type":"boolean","default":false,"description":"Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive."},{"displayName":"Can Download","name":"canDownload","type":"boolean","default":false,"description":"Whether the current user can download files in this shared drive"},{"displayName":"Can Edit","name":"canEdit","type":"boolean","default":false,"description":"Whether the current user can edit files in this shared drive"},{"displayName":"Can List Children","name":"canListChildren","type":"boolean","default":false,"description":"Whether the current user can list the children of folders in this shared drive"},{"displayName":"Can Manage Members","name":"canManageMembers","type":"boolean","default":false,"description":"Whether the current user can add members to this shared drive or remove them or change their role"},{"displayName":"Can Read Revisions","name":"canReadRevisions","type":"boolean","default":false,"description":"Whether the current user can read the revisions resource of files in this shared drive"},{"displayName":"Can Rename","name":"canRename","type":"boolean","default":false,"description":"Whether the current user can rename files or folders in this shared drive"},{"displayName":"Can Rename Drive","name":"canRenameDrive","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Share","name":"canShare","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Trash Children","name":"canTrashChildren","type":"boolean","default":false,"description":"Whether the current user can trash children from folders in this shared drive"}]},{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the shared drive is hidden from default view"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}],"displayOptions":{"show":{"resource":["drive"],"operation":["create"]}}},{"displayName":"Shared Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a shared drive...","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/u/1/folders/0AIjtcbwnjtcbwn9PVA","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 0AMXTKI5ZSiM7Uk9PVA","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The shared drive to delete","displayOptions":{"show":{"resource":["drive"],"operation":["deleteDrive"]}}},{"displayName":"Shared Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a shared drive...","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/u/1/folders/0AIjtcbwnjtcbwn9PVA","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 0AMXTKI5ZSiM7Uk9PVA","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The shared drive to get","displayOptions":{"show":{"resource":["drive"],"operation":["get"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs"}],"displayOptions":{"show":{"resource":["drive"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["drive"],"operation":["list"]}}},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"returnAll":[false],"resource":["drive"],"operation":["list"]}},"typeOptions":{"minValue":1,"maxValue":200},"default":100,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Query","name":"q","type":"string","default":"","description":"Query string for searching shared drives. See the <a href=\"https://developers.google.com/drive/api/v3/search-shareddrives\">\"Search for shared drives\"</a> guide for supported syntax."},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs"}],"displayOptions":{"show":{"resource":["drive"],"operation":["list"]}}},{"displayName":"Shared Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a shared drive...","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/u/1/folders/0AIjtcbwnjtcbwn9PVA","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 0AMXTKI5ZSiM7Uk9PVA","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The shared drive to update","displayOptions":{"show":{"resource":["drive"],"operation":["update"]}}},{"displayName":"Update Fields","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["drive"]}},"options":[{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Name","name":"name","type":"string","default":"","description":"The updated name of the shared drive"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Copy","value":"copy","description":"Create a copy of an existing file","action":"Copy file"},{"name":"Create From Text","value":"createFromText","description":"Create a file from a provided text","action":"Create file from text"},{"name":"Delete","value":"deleteFile","description":"Permanently delete a file","action":"Delete a file"},{"name":"Download","value":"download","description":"Download a file","action":"Download file"},{"name":"Move","value":"move","description":"Move a file to another folder","action":"Move file"},{"name":"Share","value":"share","description":"Add sharing permissions to a file","action":"Share file"},{"name":"Update","value":"update","description":"Update a file","action":"Update file"},{"name":"Upload","value":"upload","description":"Upload an existing file to Google Drive","action":"Upload file"}],"default":"upload"},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to copy","displayOptions":{"show":{"resource":["file"],"operation":["copy"]}}},{"displayName":"File Name","name":"name","type":"string","default":"","placeholder":"e.g. My File","description":"The name of the new file. If not set, “Copy of {original file name}” will be used.","displayOptions":{"show":{"resource":["file"],"operation":["copy"]}}},{"displayName":"Copy In The Same Folder","name":"sameFolder","type":"boolean","default":true,"description":"Whether to copy the file in the same folder as the original file","displayOptions":{"show":{"resource":["file"],"operation":["copy"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to save the copied file","displayOptions":{"show":{"sameFolder":[false],"resource":["file"],"operation":["copy"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder where to save the copied file","displayOptions":{"show":{"sameFolder":[false],"resource":["file"],"operation":["copy"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download this file, should be disabled for readers and commenters"},{"displayName":"Description","name":"description","type":"string","default":"","description":"A short description of the file"}],"displayOptions":{"show":{"resource":["file"],"operation":["copy"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to delete","displayOptions":{"show":{"resource":["file"],"operation":["deleteFile"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Delete Permanently","name":"deletePermanently","type":"boolean","default":false,"description":"Whether to delete the file immediately. If false, the file will be moved to the trash."}],"displayOptions":{"show":{"resource":["file"],"operation":["deleteFile"]}}},{"displayName":"File Content","name":"content","type":"string","default":"","typeOptions":{"rows":2},"description":"The text to create the file with","displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"File Name","name":"name","type":"string","default":"","placeholder":"e.g. My New File","description":"The name of the file you want to create. If not specified, 'Untitled' will be used.","displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":false,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to create the new file","displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":false,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder where to create the new file","displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","placeholder":"e.g. en","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"},{"displayName":"Convert to Google Document","name":"convertToGoogleDocument","type":"boolean","default":false,"description":"Whether to create a Google Document (instead of the .txt default format)","hint":"Google Docs API has to be enabled in the <a href=\"https://console.developers.google.com/apis/library/docs.googleapis.com\" target=\"_blank\">Google API Console</a>."}],"displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to download","displayOptions":{"show":{"resource":["file"],"operation":["download"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","placeholder":"e.g. data","default":"data","description":"Use this field name in the following nodes, to use the binary file data","hint":"The name of the output field to put the binary file data in"},{"displayName":"Google File Conversion","name":"googleFileConversion","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{},"placeholder":"Add Conversion","options":[{"displayName":"Conversion","name":"conversion","values":[{"displayName":"Google Docs","name":"docsToFormat","type":"options","options":[{"name":"HTML","value":"text/html"},{"name":"MS Word Document","value":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"name":"Open Office Document","value":"application/vnd.oasis.opendocument.text"},{"name":"PDF","value":"application/pdf"},{"name":"Rich Text (rtf)","value":"application/rtf"},{"name":"Text (txt)","value":"text/plain"}],"default":"text/html","description":"Format used to export when downloading Google Docs files"},{"displayName":"Google Drawings","name":"drawingsToFormat","type":"options","options":[{"name":"JPEG","value":"image/jpeg"},{"name":"PDF","value":"application/pdf"},{"name":"PNG","value":"image/png"},{"name":"SVG","value":"image/svg+xml"}],"default":"image/jpeg","description":"Format used to export when downloading Google Drawings files"},{"displayName":"Google Slides","name":"slidesToFormat","type":"options","options":[{"name":"MS PowerPoint","value":"application/vnd.openxmlformats-officedocument.presentationml.presentation"},{"name":"OpenOffice Presentation","value":"application/vnd.oasis.opendocument.presentation"},{"name":"PDF","value":"application/pdf"}],"default":"application/vnd.openxmlformats-officedocument.presentationml.presentation","description":"Format used to export when downloading Google Slides files"},{"displayName":"Google Sheets","name":"sheetsToFormat","type":"options","options":[{"name":"CSV","value":"text/csv"},{"name":"MS Excel","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},{"name":"Open Office Sheet","value":"application/vnd.oasis.opendocument.spreadsheet"},{"name":"PDF","value":"application/pdf"}],"default":"text/csv","description":"Format used to export when downloading Google Sheets files"}]}]},{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"File name. Ex: data.pdf."}],"displayOptions":{"show":{"resource":["file"],"operation":["download"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to move","displayOptions":{"show":{"resource":["file"],"operation":["move"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to move the file","displayOptions":{"show":{"resource":["file"],"operation":["move"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder where to move the file","displayOptions":{"show":{"resource":["file"],"operation":["move"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to share","displayOptions":{"show":{"resource":["file"],"operation":["share"]}}},{"displayName":"Permissions","name":"permissionsUi","placeholder":"Add Permission","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":false},"options":[{"displayName":"Permission","name":"permissionsValues","values":[{"displayName":"Role","name":"role","type":"options","description":"Defines what users can do with the file or folder","options":[{"name":"Commenter","value":"commenter"},{"name":"File Organizer","value":"fileOrganizer"},{"name":"Organizer","value":"organizer"},{"name":"Owner","value":"owner"},{"name":"Reader","value":"reader"},{"name":"Writer","value":"writer"}],"default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"User","value":"user"},{"name":"Group","value":"group"},{"name":"Domain","value":"domain"},{"name":"Anyone","value":"anyone"}],"default":"","description":"The scope of the permission. A permission with type=user applies to a specific user whereas a permission with type=domain applies to everyone in a specific domain."},{"displayName":"Email Address","name":"emailAddress","type":"string","displayOptions":{"show":{"type":["user","group"]}},"placeholder":"“e.g. name@mail.com","default":"","description":"The email address of the user or group to which this permission refers"},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"type":["domain"]}},"placeholder":"e.g. mycompany.com","default":"","description":"The domain to which this permission refers"},{"displayName":"Allow File Discovery","name":"allowFileDiscovery","type":"boolean","displayOptions":{"show":{"type":["domain","anyone"]}},"default":false,"description":"Whether to allow the file to be discovered through search"}]}],"displayOptions":{"show":{"resource":["file"],"operation":["share"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Email Message","name":"emailMessage","type":"string","default":"","description":"A plain text custom message to include in the notification email","typeOptions":{"rows":2}},{"displayName":"Move To New Owners Root","name":"moveToNewOwnersRoot","type":"boolean","default":false,"description":"<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>"},{"displayName":"Send Notification Email","name":"sendNotificationEmail","type":"boolean","default":false,"description":"Whether to send a notification email when sharing to users or groups"},{"displayName":"Transfer Ownership","name":"transferOwnership","type":"boolean","default":false,"description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer"},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically."}],"displayOptions":{"show":{"resource":["file"],"operation":["share"]}}},{"displayName":"File to Update","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com\\/\\w+\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to update","displayOptions":{"show":{"resource":["file"],"operation":["update"]}}},{"displayName":"Change File Content","name":"changeFileContent","type":"boolean","default":false,"description":"Whether to send a new binary data to update the file","displayOptions":{"show":{"resource":["file"],"operation":["update"]}}},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","placeholder":"e.g. data","default":"data","hint":"The name of the input field containing the binary file data to update the file","description":"Find the name of input field containing the binary data to update the file in the Input panel on the left, in the Binary tab","displayOptions":{"show":{"changeFileContent":[true],"resource":["file"],"operation":["update"]}}},{"displayName":"New Updated File Name","name":"newUpdatedFileName","type":"string","default":"","placeholder":"e.g. My New File","description":"If not specified, the file name will not be changed","displayOptions":{"show":{"resource":["file"],"operation":["update"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","placeholder":"e.g. en","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"},{"displayName":"Move to Trash","name":"trashed","type":"boolean","default":false,"description":"Whether to move a file to the trash. Only the owner may trash a file."},{"displayName":"Return Fields","name":"fields","type":"multiOptions","options":[{"name":"[All]","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"}],"displayOptions":{"show":{"resource":["file"],"operation":["update"]}}},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","placeholder":"“e.g. data","default":"data","required":true,"hint":"The name of the input field containing the binary file data to update the file","description":"Find the name of input field containing the binary data to update the file in the Input panel on the left, in the Binary tab","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"File Name","name":"name","type":"string","default":"","placeholder":"e.g. My New File","description":"If not specified, the original file name will be used","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to upload the file","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder where to upload the file","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","placeholder":"e.g. en","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"},{"displayName":"Simplify Output","name":"simplifyOutput","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of all fields"}],"displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["fileFolder"]}},"options":[{"name":"Search","value":"search","description":"Search or list files and folders","action":"Search files and folders"}],"default":"search"},{"displayName":"Search Method","name":"searchMethod","type":"options","options":[{"name":"Search File/Folder Name","value":"name"},{"name":"Advanced Search","value":"query"}],"default":"name","description":"Whether to search for the file/folder name or use a query string","displayOptions":{"show":{"resource":["fileFolder"],"operation":["search"]}}},{"displayName":"Search Query","name":"queryString","type":"string","default":"","displayOptions":{"show":{"searchMethod":["name"],"resource":["fileFolder"],"operation":["search"]}},"placeholder":"e.g. My File / My Folder","description":"The name of the file or folder to search for. Returns also files and folders whose names partially match this search term."},{"displayName":"Query String","name":"queryString","type":"string","default":"","displayOptions":{"show":{"searchMethod":["query"],"resource":["fileFolder"],"operation":["search"]}},"placeholder":"e.g. not name contains 'hello'","description":"Use the Google query strings syntax to search for a specific set of files or folders. <a href=\"https://developers.google.com/drive/api/v3/search-files\" target=\"_blank\">Learn more</a>."},{"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":["fileFolder"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["fileFolder"],"operation":["search"]}}},{"displayName":"Filter","name":"filter","type":"collection","placeholder":"Add Filter","default":{},"options":[{"displayName":"Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":false,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive you want to search in. By default, the personal \"My Drive\" is used."},{"displayName":"Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":false,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder you want to search in. By default, the root folder of the drive is used. If you select a folder other than the root folder, only the direct children will be included."},{"displayName":"What to Search","name":"whatToSearch","type":"options","default":"all","options":[{"name":"Files and Folders","value":"all"},{"name":"Files","value":"files"},{"name":"Folders","value":"folders"}]},{"displayName":"File Types","name":"fileTypes","type":"multiOptions","default":[],"description":"Return only items corresponding to the selected MIME types","options":[{"name":"All","value":"*","description":"Return all file types"},{"name":"3rd Party Shortcut","value":"application/vnd.google-apps.drive-sdk"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Folder","value":"application/vnd.google-apps.folder"},{"name":"Google Apps Scripts","value":"application/vnd.google-apps.script"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawing","value":"application/vnd.google-apps.drawing"},{"name":"Google Forms","value":"application/vnd.google-apps.form"},{"name":"Google Fusion Tables","value":"application/vnd.google-apps.fusiontable"},{"name":"Google My Maps","value":"application/vnd.google-apps.map"},{"name":"Google Sheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Google Sites","value":"application/vnd.google-apps.sites"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Photo","value":"application/vnd.google-apps.photo"},{"name":"Unknown","value":"application/vnd.google-apps.unknown"},{"name":"Video","value":"application/vnd.google-apps.video"}],"displayOptions":{"show":{"whatToSearch":["all"]}}},{"displayName":"File Types","name":"fileTypes","type":"multiOptions","default":[],"description":"Return only items corresponding to the selected MIME types","options":[{"name":"All","value":"*","description":"Return all file types"},{"name":"3rd Party Shortcut","value":"application/vnd.google-apps.drive-sdk"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Google Apps Scripts","value":"application/vnd.google-apps.script"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawing","value":"application/vnd.google-apps.drawing"},{"name":"Google Forms","value":"application/vnd.google-apps.form"},{"name":"Google Fusion Tables","value":"application/vnd.google-apps.fusiontable"},{"name":"Google My Maps","value":"application/vnd.google-apps.map"},{"name":"Google Sheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Google Sites","value":"application/vnd.google-apps.sites"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Photo","value":"application/vnd.google-apps.photo"},{"name":"Unknown","value":"application/vnd.google-apps.unknown"},{"name":"Video","value":"application/vnd.google-apps.video"}],"displayOptions":{"show":{"whatToSearch":["files"]}}},{"displayName":"Include Trashed Items","name":"includeTrashed","type":"boolean","default":false,"description":"Whether to return also items in the Drive's bin"}],"displayOptions":{"show":{"resource":["fileFolder"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"*","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"}],"displayOptions":{"show":{"resource":["fileFolder"],"operation":["search"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["folder"]}},"options":[{"name":"Create","value":"create","description":"Create a folder","action":"Create folder"},{"name":"Delete","value":"deleteFolder","description":"Permanently delete a folder","action":"Delete folder"},{"name":"Share","value":"share","description":"Add sharing permissions to a folder","action":"Share folder"}],"default":"create"},{"displayName":"Folder Name","name":"name","type":"string","default":"","placeholder":"e.g. New Folder","description":"The name of the new folder. If not set, 'Untitled' will be used.","displayOptions":{"show":{"resource":["folder"],"operation":["create"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to create the new folder","displayOptions":{"show":{"resource":["folder"],"operation":["create"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The parent folder where to create the new folder","displayOptions":{"show":{"resource":["folder"],"operation":["create"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Simplify Output","name":"simplifyOutput","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of all fields"},{"displayName":"Folder Color","name":"folderColorRgb","type":"color","default":"","description":"The color of the folder as an RGB hex string. If an unsupported color is specified, the closest color in the palette will be used instead."}],"displayOptions":{"show":{"resource":["folder"],"operation":["create"]}}},{"displayName":"Folder","name":"folderNoRootId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder to delete","displayOptions":{"show":{"resource":["folder"],"operation":["deleteFolder"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Delete Permanently","name":"deletePermanently","type":"boolean","default":false,"description":"Whether to delete the folder immediately. If false, the folder will be moved to the trash."}],"displayOptions":{"show":{"resource":["folder"],"operation":["deleteFolder"]}}},{"displayName":"Folder","name":"folderNoRootId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder to share","displayOptions":{"show":{"resource":["folder"],"operation":["share"]}}},{"displayName":"Permissions","name":"permissionsUi","placeholder":"Add Permission","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":false},"options":[{"displayName":"Permission","name":"permissionsValues","values":[{"displayName":"Role","name":"role","type":"options","description":"Defines what users can do with the file or folder","options":[{"name":"Commenter","value":"commenter"},{"name":"File Organizer","value":"fileOrganizer"},{"name":"Organizer","value":"organizer"},{"name":"Owner","value":"owner"},{"name":"Reader","value":"reader"},{"name":"Writer","value":"writer"}],"default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"User","value":"user"},{"name":"Group","value":"group"},{"name":"Domain","value":"domain"},{"name":"Anyone","value":"anyone"}],"default":"","description":"The scope of the permission. A permission with type=user applies to a specific user whereas a permission with type=domain applies to everyone in a specific domain."},{"displayName":"Email Address","name":"emailAddress","type":"string","displayOptions":{"show":{"type":["user","group"]}},"placeholder":"“e.g. name@mail.com","default":"","description":"The email address of the user or group to which this permission refers"},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"type":["domain"]}},"placeholder":"e.g. mycompany.com","default":"","description":"The domain to which this permission refers"},{"displayName":"Allow File Discovery","name":"allowFileDiscovery","type":"boolean","displayOptions":{"show":{"type":["domain","anyone"]}},"default":false,"description":"Whether to allow the file to be discovered through search"}]}],"displayOptions":{"show":{"resource":["folder"],"operation":["share"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Email Message","name":"emailMessage","type":"string","default":"","description":"A plain text custom message to include in the notification email","typeOptions":{"rows":2}},{"displayName":"Move To New Owners Root","name":"moveToNewOwnersRoot","type":"boolean","default":false,"description":"<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>"},{"displayName":"Send Notification Email","name":"sendNotificationEmail","type":"boolean","default":false,"description":"Whether to send a notification email when sharing to users or groups"},{"displayName":"Transfer Ownership","name":"transferOwnership","type":"boolean","default":false,"description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer"},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically."}],"displayOptions":{"show":{"resource":["folder"],"operation":["share"]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Drive/googleDrive.svg","codex":{"categories":["Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}}},
|
|
146
|
-
{"displayName":"Google Drive Trigger","name":"n8n-nodes-base.googleDriveTrigger","group":["trigger"],"version":1,"description":"Starts the workflow when Google Drive events occur","subtitle":"={{$parameter[\"event\"]}}","defaults":{"name":"Google Drive Trigger"},"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDriveOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"polling":true,"inputs":[],"outputs":["main"],"properties":[{"displayName":"Poll Times","name":"pollTimes","type":"fixedCollection","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Poll Time"},"default":{"item":[{"mode":"everyMinute"}]},"description":"Time at which polling should occur","placeholder":"Add Poll Time","options":[{"name":"item","displayName":"Item","values":[{"displayName":"Mode","name":"mode","type":"options","options":[{"name":"Every Minute","value":"everyMinute"},{"name":"Every Hour","value":"everyHour"},{"name":"Every Day","value":"everyDay"},{"name":"Every Week","value":"everyWeek"},{"name":"Every Month","value":"everyMonth"},{"name":"Every X","value":"everyX"},{"name":"Custom","value":"custom"}],"default":"everyDay","description":"How often to trigger."},{"displayName":"Hour","name":"hour","type":"number","typeOptions":{"minValue":0,"maxValue":23},"displayOptions":{"hide":{"mode":["custom","everyHour","everyMinute","everyX"]}},"default":14,"description":"The hour of the day to trigger (24h format)"},{"displayName":"Minute","name":"minute","type":"number","typeOptions":{"minValue":0,"maxValue":59},"displayOptions":{"hide":{"mode":["custom","everyMinute","everyX"]}},"default":0,"description":"The minute of the day to trigger"},{"displayName":"Day of Month","name":"dayOfMonth","type":"number","displayOptions":{"show":{"mode":["everyMonth"]}},"typeOptions":{"minValue":1,"maxValue":31},"default":1,"description":"The day of the month to trigger"},{"displayName":"Weekday","name":"weekday","type":"options","displayOptions":{"show":{"mode":["everyWeek"]}},"options":[{"name":"Monday","value":"1"},{"name":"Tuesday","value":"2"},{"name":"Wednesday","value":"3"},{"name":"Thursday","value":"4"},{"name":"Friday","value":"5"},{"name":"Saturday","value":"6"},{"name":"Sunday","value":"0"}],"default":"1","description":"The weekday to trigger"},{"displayName":"Cron Expression","name":"cronExpression","type":"string","displayOptions":{"show":{"mode":["custom"]}},"default":"* * * * * *","description":"Use custom cron expression. Values and ranges as follows:<ul><li>Seconds: 0-59</li><li>Minutes: 0 - 59</li><li>Hours: 0 - 23</li><li>Day of Month: 1 - 31</li><li>Months: 0 - 11 (Jan - Dec)</li><li>Day of Week: 0 - 6 (Sun - Sat)</li></ul>"},{"displayName":"Value","name":"value","type":"number","typeOptions":{"minValue":0,"maxValue":1000},"displayOptions":{"show":{"mode":["everyX"]}},"default":2,"description":"All how many X minutes/hours it should trigger"},{"displayName":"Unit","name":"unit","type":"options","displayOptions":{"show":{"mode":["everyX"]}},"options":[{"name":"Minutes","value":"minutes"},{"name":"Hours","value":"hours"}],"default":"hours","description":"If it should trigger all X minutes or hours"}]}]},{"displayName":"Credential Type","name":"authentication","type":"options","options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2"},{"displayName":"Trigger On","name":"triggerOn","type":"options","required":true,"default":"","options":[{"name":"Changes to a Specific File","value":"specificFile"},{"name":"Changes Involving a Specific Folder","value":"specificFolder"}]},{"displayName":"File","name":"fileToWatch","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/file/d/1wroCSfK-hupQIYf_xzeoUEzOhvfTFH2P/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google
|
|
143
|
+
{"displayName":"Google Drive","name":"n8n-nodes-base.googleDrive","group":["input"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Access data on Google Drive","defaultVersion":3,"version":[1,2],"defaults":{"name":"Google Drive"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDriveOAuth2Api","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","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":"Drive","value":"drive"},{"name":"File","value":"file"},{"name":"Folder","value":"folder"}],"default":"file"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Copy","value":"copy","description":"Copy a file","action":"Copy a file"},{"name":"Delete","value":"delete","description":"Delete a file","action":"Delete a file"},{"name":"Download","value":"download","description":"Download a file","action":"Download a file"},{"name":"List","value":"list","description":"List files and folders","action":"List a file"},{"name":"Share","value":"share","description":"Share a file","action":"Share a file"},{"name":"Update","value":"update","description":"Update a file","action":"Update a file"},{"name":"Upload","value":"upload","description":"Upload a file","action":"Upload a file"}],"default":"upload"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["folder"]}},"options":[{"name":"Create","value":"create","description":"Create a folder","action":"Create a folder"},{"name":"Delete","value":"delete","description":"Delete a folder","action":"Delete a folder"},{"name":"Share","value":"share","description":"Share a folder","action":"Share a folder"}],"default":"create"},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"displayOptions":{"show":{"operation":["download","copy","update","delete","share"],"resource":["file"]}},"description":"The ID of the file"},{"displayName":"Folder","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"operation":["delete","share"],"resource":["folder"]}},"description":"The ID of the folder"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"options":[{"displayName":"Google File Conversion","name":"googleFileConversion","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{},"placeholder":"Add Conversion","options":[{"displayName":"Conversion","name":"conversion","values":[{"displayName":"Google Docs","name":"docsToFormat","type":"options","options":[{"name":"To HTML","value":"text/html"},{"name":"To MS Word","value":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"name":"To OpenOffice Doc","value":"application/vnd.oasis.opendocument.text"},{"name":"To PDF","value":"application/pdf"},{"name":"To Rich Text","value":"application/rtf"}],"default":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","description":"Format used to export when downloading Google Docs files"},{"displayName":"Google Drawings","name":"drawingsToFormat","type":"options","options":[{"name":"To JPEG","value":"image/jpeg"},{"name":"To PNG","value":"image/png"},{"name":"To SVG","value":"image/svg+xml"},{"name":"To PDF","value":"application/pdf"}],"default":"image/jpeg","description":"Format used to export when downloading Google Drawings files"},{"displayName":"Google Slides","name":"slidesToFormat","type":"options","options":[{"name":"To MS PowerPoint","value":"application/vnd.openxmlformats-officedocument.presentationml.presentation"},{"name":"To PDF","value":"application/pdf"},{"name":"To OpenOffice Presentation","value":"application/vnd.oasis.opendocument.presentation"},{"name":"To Plain Text","value":"text/plain"}],"default":"application/vnd.openxmlformats-officedocument.presentationml.presentation","description":"Format used to export when downloading Google Slides files"},{"displayName":"Google Sheets","name":"sheetsToFormat","type":"options","options":[{"name":"To MS Excel","value":"application/x-vnd.oasis.opendocument.spreadsheet"},{"name":"To PDF","value":"application/pdf"},{"name":"To CSV","value":"text/csv"}],"default":"application/x-vnd.oasis.opendocument.spreadsheet","description":"Format used to export when downloading Google Spreadsheets files"}]}]},{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"File name. Ex: data.pdf."}]},{"displayName":"Use Query String","name":"useQueryString","type":"boolean","default":false,"displayOptions":{"show":{"operation":["list"],"resource":["file"]}},"description":"Whether a query string should be used to filter results"},{"displayName":"Query String","name":"queryString","type":"string","default":"","displayOptions":{"show":{"operation":["list"],"useQueryString":[true],"resource":["file"]}},"placeholder":"name contains 'invoice'","description":"Query to use to return only specific files"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"resource":["file"]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return"},{"displayName":"Filters","name":"queryFilters","placeholder":"Add Filter","description":"Filters to use to return only specific files","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"displayOptions":{"show":{"operation":["list"],"useQueryString":[false],"resource":["file"]}},"options":[{"name":"name","displayName":"Name","values":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Contains","value":"contains"},{"name":"Is","value":"is"},{"name":"Is Not","value":"isNot"}],"default":"contains"},{"displayName":"Value","name":"value","type":"string","default":"","description":"The value for operation"}]},{"name":"mimeType","displayName":"Mime Type","values":[{"displayName":"Mime Type","name":"mimeType","type":"options","options":[{"name":"3rd Party Shortcut","value":"application/vnd.google-apps.drive-sdk"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Custom Mime Type","value":"custom"},{"name":"Google Apps Scripts","value":"application/vnd.google-apps.script"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawing","value":"application/vnd.google-apps.drawing"},{"name":"Google Drive File","value":"application/vnd.google-apps.file"},{"name":"Google Drive Folder","value":"application/vnd.google-apps.folder"},{"name":"Google Forms","value":"application/vnd.google-apps.form"},{"name":"Google Fusion Tables","value":"application/vnd.google-apps.fusiontable"},{"name":"Google My Maps","value":"application/vnd.google-apps.map"},{"name":"Google Sheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Google Sites","value":"application/vnd.google-apps.site"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Photo","value":"application/vnd.google-apps.photo"},{"name":"Unknown","value":"application/vnd.google-apps.unknown"},{"name":"Video","value":"application/vnd.google-apps.video"}],"default":"application/vnd.google-apps.file","description":"The Mime-Type of the files to return"},{"displayName":"Custom Mime Type","name":"customMimeType","type":"string","default":"","displayOptions":{"show":{"mimeType":["custom"]}}}]}]},{"displayName":"Permissions","name":"permissionsUi","placeholder":"Add Permission","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":false},"displayOptions":{"show":{"resource":["file","folder"],"operation":["share"]}},"options":[{"displayName":"Permission","name":"permissionsValues","values":[{"displayName":"Role","name":"role","type":"options","options":[{"name":"Commenter","value":"commenter"},{"name":"File Organizer","value":"fileOrganizer"},{"name":"Organizer","value":"organizer"},{"name":"Owner","value":"owner"},{"name":"Reader","value":"reader"},{"name":"Writer","value":"writer"}],"default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"User","value":"user"},{"name":"Group","value":"group"},{"name":"Domain","value":"domain"},{"name":"Anyone","value":"anyone"}],"default":"","description":"Information about the different types can be found <a href=\"https://developers.google.com/drive/api/v3/ref-roles\">here</a>"},{"displayName":"Email Address","name":"emailAddress","type":"string","displayOptions":{"show":{"type":["user","group"]}},"default":"","description":"The email address of the user or group to which this permission refers"},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"type":["domain"]}},"default":"","description":"The domain to which this permission refers"},{"displayName":"Allow File Discovery","name":"allowFileDiscovery","type":"boolean","displayOptions":{"show":{"type":["domain","anyone"]}},"default":false,"description":"Whether the permission allows the file to be discovered through search"}]}]},{"displayName":"Binary Data","name":"binaryData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"Whether the data to upload should be taken from binary field"},{"displayName":"File Content","name":"fileContent","type":"string","default":"","displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[false]}},"placeholder":"","description":"The text content of the file to upload"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[true]}},"placeholder":"","description":"Name of the binary property which contains the data for the file to be uploaded"},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["file"]}},"options":[{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"The name of the file"},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"Move to Trash","name":"trashed","type":"boolean","default":false,"description":"Whether to move a file to the trash. Only the owner may trash a file."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Parent ID","name":"parentId","type":"string","default":"","description":"The ID of the parent to set"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["file"]}},"options":[{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"[All]","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"}]},{"displayName":"File Name","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"placeholder":"invoice_1.pdf","description":"The name the file should be saved as"},{"displayName":"Resolve Data","name":"resolveData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"By default the response only contain the ID of the file. If this option gets activated, it will resolve the data automatically."},{"displayName":"Parents","name":"parents","type":"string","typeOptions":{"multipleValues":true},"default":[],"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"The IDs of the parent folders which contain the file"},{"displayName":"Folder","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["folder"]}},"placeholder":"invoices","description":"The name of folder to create"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"/operation":["copy","list","share","create"],"/resource":["file","folder"]}},"options":[{"displayName":"Email Message","name":"emailMessage","type":"string","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":"","description":"A plain text custom message to include in the notification email"},{"displayName":"Enforce Single Parent","name":"enforceSingleParent","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive."},{"displayName":"Fields","name":"fields","type":"multiOptions","displayOptions":{"show":{"/operation":["list","copy"]}},"options":[{"name":"*","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"},{"displayName":"Move To New Owners Root","name":"moveToNewOwnersRoot","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>"},{"displayName":"Send Notification Email","name":"sendNotificationEmail","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to send a notification email when sharing to users or groups"},{"displayName":"Supports All Drives","name":"supportsAllDrives","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether the requesting application supports both My Drives and shared drives"},{"displayName":"Transfer Ownership","name":"transferOwnership","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer"},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically."},{"displayName":"File Name","name":"name","type":"string","displayOptions":{"show":{"/operation":["copy"],"/resource":["file"]}},"default":"","placeholder":"invoice_1.pdf","description":"The name the file should be saved as"},{"displayName":"Parents","name":"parents","type":"string","displayOptions":{"show":{"/operation":["copy","create"],"/resource":["file","folder"]}},"typeOptions":{"multipleValues":true},"default":[],"description":"The IDs of the parent folders the file/folder should be saved in"},{"displayName":"Spaces","name":"spaces","type":"multiOptions","displayOptions":{"show":{"/operation":["list"],"/resource":["file"]}},"options":[{"name":"[All]","value":"*","description":"All spaces"},{"name":"appDataFolder","value":"appDataFolder"},{"name":"Drive","value":"drive"},{"name":"Photos","value":"photos"}],"default":[],"description":"The spaces to operate on"},{"displayName":"Corpora","name":"corpora","type":"options","displayOptions":{"show":{"/operation":["list"],"/resource":["file"]}},"options":[{"name":"User","value":"user","description":"All files in \"My Drive\" and \"Shared with me\""},{"name":"Domain","value":"domain","description":"All files shared to the user's domain that are searchable"},{"name":"Drive","value":"drive","description":"All files contained in a single shared drive"},{"name":"allDrives","value":"allDrives","description":"All drives"}],"default":"","description":"The corpora to operate on"},{"displayName":"Drive ID","name":"driveId","type":"string","default":"","displayOptions":{"show":{"/operation":["list"],"/resource":["file"],"corpora":["drive"]}},"description":"ID of the shared drive to search. The driveId parameter must be specified if and only if corpora is set to drive."}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["drive"]}},"options":[{"name":"Create","value":"create","description":"Create a drive","action":"Create a drive"},{"name":"Delete","value":"delete","description":"Delete a drive","action":"Delete a drive"},{"name":"Get","value":"get","description":"Get a drive","action":"Get a drive"},{"name":"List","value":"list","description":"List all drives","action":"List all drives"},{"name":"Update","value":"update","description":"Update a drive","action":"Update a drive"}],"default":"create"},{"displayName":"Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"hint":"The Google Drive drive to operate on","modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Drive","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"operation":["delete","get","update"],"resource":["drive"]}},"description":"The ID of the drive"},{"displayName":"Name","name":"name","type":"string","default":"","displayOptions":{"show":{"operation":["create"],"resource":["drive"]}},"description":"The name of this shared drive"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["create"],"resource":["drive"]}},"options":[{"displayName":"Capabilities","name":"capabilities","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Can Add Children","name":"canAddChildren","type":"boolean","default":false,"description":"Whether the current user can add children to folders in this shared drive"},{"displayName":"Can Change Copy Requires Writer Permission Restriction","name":"canChangeCopyRequiresWriterPermissionRestriction","type":"boolean","default":false,"description":"Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive"},{"displayName":"Can Change Domain Users Only Restriction","name":"canChangeDomainUsersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the domainUsersOnly restriction of this shared drive"},{"displayName":"Can Change Drive Background","name":"canChangeDriveBackground","type":"boolean","default":false,"description":"Whether the current user can change the background of this shared drive"},{"displayName":"Can Change Drive Members Only Restriction","name":"canChangeDriveMembersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the driveMembersOnly restriction of this shared drive"},{"displayName":"Can Comment","name":"canComment","type":"boolean","default":false,"description":"Whether the current user can comment on files in this shared drive"},{"displayName":"Can Copy","name":"canCopy","type":"boolean","default":false,"description":"Whether the current user can copy files in this shared drive"},{"displayName":"Can Delete Children","name":"canDeleteChildren","type":"boolean","default":false,"description":"Whether the current user can delete children from folders in this shared drive"},{"displayName":"Can Delete Drive","name":"canDeleteDrive","type":"boolean","default":false,"description":"Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive."},{"displayName":"Can Download","name":"canDownload","type":"boolean","default":false,"description":"Whether the current user can download files in this shared drive"},{"displayName":"Can Edit","name":"canEdit","type":"boolean","default":false,"description":"Whether the current user can edit files in this shared drive"},{"displayName":"Can List Children","name":"canListChildren","type":"boolean","default":false,"description":"Whether the current user can list the children of folders in this shared drive"},{"displayName":"Can Manage Members","name":"canManageMembers","type":"boolean","default":false,"description":"Whether the current user can add members to this shared drive or remove them or change their role"},{"displayName":"Can Read Revisions","name":"canReadRevisions","type":"boolean","default":false,"description":"Whether the current user can read the revisions resource of files in this shared drive"},{"displayName":"Can Rename","name":"canRename","type":"boolean","default":false,"description":"Whether the current user can rename files or folders in this shared drive"},{"displayName":"Can Rename Drive","name":"canRenameDrive","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Share","name":"canShare","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Trash Children","name":"canTrashChildren","type":"boolean","default":false,"description":"Whether the current user can trash children from folders in this shared drive"}]},{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Created Time","name":"createdTime","type":"dateTime","default":"","description":"The time at which the shared drive was created (RFC 3339 date-time)"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the shared drive is hidden from default view"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["get"],"resource":["drive"]}},"options":[{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)."}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["list"],"resource":["drive"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"resource":["drive"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":200},"default":100,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["list"],"resource":["drive"]}},"options":[{"displayName":"Query","name":"q","type":"string","default":"","description":"Query string for searching shared drives. See the <a href=\"https://developers.google.com/drive/api/v3/search-shareddrives\">\"Search for shared drives\"</a> guide for supported syntax."},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)."}]},{"displayName":"Update Fields","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["drive"]}},"options":[{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Name","name":"name","type":"string","default":"","description":"The name of this shared drive"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Drive/googleDrive.svg"},
|
|
144
|
+
{"displayName":"Google Drive","name":"n8n-nodes-base.googleDrive","group":["input"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Access data on Google Drive","defaultVersion":3,"version":[1,2],"defaults":{"name":"Google Drive"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDriveOAuth2Api","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","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":"Drive","value":"drive"},{"name":"File","value":"file"},{"name":"Folder","value":"folder"}],"default":"file"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Copy","value":"copy","description":"Copy a file","action":"Copy a file"},{"name":"Delete","value":"delete","description":"Delete a file","action":"Delete a file"},{"name":"Download","value":"download","description":"Download a file","action":"Download a file"},{"name":"List","value":"list","description":"List files and folders","action":"List a file"},{"name":"Share","value":"share","description":"Share a file","action":"Share a file"},{"name":"Update","value":"update","description":"Update a file","action":"Update a file"},{"name":"Upload","value":"upload","description":"Upload a file","action":"Upload a file"}],"default":"upload"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["folder"]}},"options":[{"name":"Create","value":"create","description":"Create a folder","action":"Create a folder"},{"name":"Delete","value":"delete","description":"Delete a folder","action":"Delete a folder"},{"name":"Share","value":"share","description":"Share a folder","action":"Share a folder"}],"default":"create"},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"displayOptions":{"show":{"operation":["download","copy","update","delete","share"],"resource":["file"]}},"description":"The ID of the file"},{"displayName":"Folder","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"operation":["delete","share"],"resource":["folder"]}},"description":"The ID of the folder"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","required":true,"default":"data","displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"description":"Name of the binary property to which to write the data of the read file"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["download"],"resource":["file"]}},"options":[{"displayName":"Google File Conversion","name":"googleFileConversion","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{},"placeholder":"Add Conversion","options":[{"displayName":"Conversion","name":"conversion","values":[{"displayName":"Google Docs","name":"docsToFormat","type":"options","options":[{"name":"To HTML","value":"text/html"},{"name":"To MS Word","value":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"name":"To OpenOffice Doc","value":"application/vnd.oasis.opendocument.text"},{"name":"To PDF","value":"application/pdf"},{"name":"To Rich Text","value":"application/rtf"}],"default":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","description":"Format used to export when downloading Google Docs files"},{"displayName":"Google Drawings","name":"drawingsToFormat","type":"options","options":[{"name":"To JPEG","value":"image/jpeg"},{"name":"To PNG","value":"image/png"},{"name":"To SVG","value":"image/svg+xml"},{"name":"To PDF","value":"application/pdf"}],"default":"image/jpeg","description":"Format used to export when downloading Google Drawings files"},{"displayName":"Google Slides","name":"slidesToFormat","type":"options","options":[{"name":"To MS PowerPoint","value":"application/vnd.openxmlformats-officedocument.presentationml.presentation"},{"name":"To PDF","value":"application/pdf"},{"name":"To OpenOffice Presentation","value":"application/vnd.oasis.opendocument.presentation"},{"name":"To Plain Text","value":"text/plain"}],"default":"application/vnd.openxmlformats-officedocument.presentationml.presentation","description":"Format used to export when downloading Google Slides files"},{"displayName":"Google Sheets","name":"sheetsToFormat","type":"options","options":[{"name":"To MS Excel","value":"application/x-vnd.oasis.opendocument.spreadsheet"},{"name":"To PDF","value":"application/pdf"},{"name":"To CSV","value":"text/csv"}],"default":"application/x-vnd.oasis.opendocument.spreadsheet","description":"Format used to export when downloading Google Spreadsheets files"}]}]},{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"File name. Ex: data.pdf."}]},{"displayName":"Use Query String","name":"useQueryString","type":"boolean","default":false,"displayOptions":{"show":{"operation":["list"],"resource":["file"]}},"description":"Whether a query string should be used to filter results"},{"displayName":"Query String","name":"queryString","type":"string","default":"","displayOptions":{"show":{"operation":["list"],"useQueryString":[true],"resource":["file"]}},"placeholder":"name contains 'invoice'","description":"Query to use to return only specific files"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"resource":["file"]}},"typeOptions":{"minValue":1,"maxValue":1000},"default":50,"description":"Max number of results to return"},{"displayName":"Filters","name":"queryFilters","placeholder":"Add Filter","description":"Filters to use to return only specific files","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"displayOptions":{"show":{"operation":["list"],"useQueryString":[false],"resource":["file"]}},"options":[{"name":"name","displayName":"Name","values":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Contains","value":"contains"},{"name":"Is","value":"is"},{"name":"Is Not","value":"isNot"}],"default":"contains"},{"displayName":"Value","name":"value","type":"string","default":"","description":"The value for operation"}]},{"name":"mimeType","displayName":"Mime Type","values":[{"displayName":"Mime Type","name":"mimeType","type":"options","options":[{"name":"3rd Party Shortcut","value":"application/vnd.google-apps.drive-sdk"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Custom Mime Type","value":"custom"},{"name":"Google Apps Scripts","value":"application/vnd.google-apps.script"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawing","value":"application/vnd.google-apps.drawing"},{"name":"Google Drive File","value":"application/vnd.google-apps.file"},{"name":"Google Drive Folder","value":"application/vnd.google-apps.folder"},{"name":"Google Forms","value":"application/vnd.google-apps.form"},{"name":"Google Fusion Tables","value":"application/vnd.google-apps.fusiontable"},{"name":"Google My Maps","value":"application/vnd.google-apps.map"},{"name":"Google Sheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Google Sites","value":"application/vnd.google-apps.site"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Photo","value":"application/vnd.google-apps.photo"},{"name":"Unknown","value":"application/vnd.google-apps.unknown"},{"name":"Video","value":"application/vnd.google-apps.video"}],"default":"application/vnd.google-apps.file","description":"The Mime-Type of the files to return"},{"displayName":"Custom Mime Type","name":"customMimeType","type":"string","default":"","displayOptions":{"show":{"mimeType":["custom"]}}}]}]},{"displayName":"Permissions","name":"permissionsUi","placeholder":"Add Permission","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":false},"displayOptions":{"show":{"resource":["file","folder"],"operation":["share"]}},"options":[{"displayName":"Permission","name":"permissionsValues","values":[{"displayName":"Role","name":"role","type":"options","options":[{"name":"Commenter","value":"commenter"},{"name":"File Organizer","value":"fileOrganizer"},{"name":"Organizer","value":"organizer"},{"name":"Owner","value":"owner"},{"name":"Reader","value":"reader"},{"name":"Writer","value":"writer"}],"default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"User","value":"user"},{"name":"Group","value":"group"},{"name":"Domain","value":"domain"},{"name":"Anyone","value":"anyone"}],"default":"","description":"Information about the different types can be found <a href=\"https://developers.google.com/drive/api/v3/ref-roles\">here</a>"},{"displayName":"Email Address","name":"emailAddress","type":"string","displayOptions":{"show":{"type":["user","group"]}},"default":"","description":"The email address of the user or group to which this permission refers"},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"type":["domain"]}},"default":"","description":"The domain to which this permission refers"},{"displayName":"Allow File Discovery","name":"allowFileDiscovery","type":"boolean","displayOptions":{"show":{"type":["domain","anyone"]}},"default":false,"description":"Whether the permission allows the file to be discovered through search"}]}]},{"displayName":"Binary Data","name":"binaryData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"Whether the data to upload should be taken from binary field"},{"displayName":"File Content","name":"fileContent","type":"string","default":"","displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[false]}},"placeholder":"","description":"The text content of the file to upload"},{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","default":"data","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"],"binaryData":[true]}},"placeholder":"","description":"Name of the binary property which contains the data for the file to be uploaded"},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["file"]}},"options":[{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"The name of the file"},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"Move to Trash","name":"trashed","type":"boolean","default":false,"description":"Whether to move a file to the trash. Only the owner may trash a file."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Parent ID","name":"parentId","type":"string","default":"","description":"The ID of the parent to set"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["file"]}},"options":[{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"[All]","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"}]},{"displayName":"File Name","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"placeholder":"invoice_1.pdf","description":"The name the file should be saved as"},{"displayName":"Resolve Data","name":"resolveData","type":"boolean","default":false,"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"By default the response only contain the ID of the file. If this option gets activated, it will resolve the data automatically."},{"displayName":"Parents","name":"parents","type":"string","typeOptions":{"multipleValues":true},"default":[],"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"description":"The IDs of the parent folders which contain the file"},{"displayName":"Folder","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["create"],"resource":["folder"]}},"placeholder":"invoices","description":"The name of folder to create"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"/operation":["copy","list","share","create"],"/resource":["file","folder"]}},"options":[{"displayName":"Email Message","name":"emailMessage","type":"string","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":"","description":"A plain text custom message to include in the notification email"},{"displayName":"Enforce Single Parent","name":"enforceSingleParent","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to opt in to API behavior that aims for all items to have exactly one parent. This parameter only takes effect if the item is not in a shared drive."},{"displayName":"Fields","name":"fields","type":"multiOptions","displayOptions":{"show":{"/operation":["list","copy"]}},"options":[{"name":"*","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"},{"displayName":"Move To New Owners Root","name":"moveToNewOwnersRoot","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>"},{"displayName":"Send Notification Email","name":"sendNotificationEmail","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to send a notification email when sharing to users or groups"},{"displayName":"Supports All Drives","name":"supportsAllDrives","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether the requesting application supports both My Drives and shared drives"},{"displayName":"Transfer Ownership","name":"transferOwnership","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer"},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","displayOptions":{"show":{"/operation":["share"],"/resource":["file","folder"]}},"default":false,"description":"Whether to perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically."},{"displayName":"File Name","name":"name","type":"string","displayOptions":{"show":{"/operation":["copy"],"/resource":["file"]}},"default":"","placeholder":"invoice_1.pdf","description":"The name the file should be saved as"},{"displayName":"Parents","name":"parents","type":"string","displayOptions":{"show":{"/operation":["copy","create"],"/resource":["file","folder"]}},"typeOptions":{"multipleValues":true},"default":[],"description":"The IDs of the parent folders the file/folder should be saved in"},{"displayName":"Spaces","name":"spaces","type":"multiOptions","displayOptions":{"show":{"/operation":["list"],"/resource":["file"]}},"options":[{"name":"[All]","value":"*","description":"All spaces"},{"name":"appDataFolder","value":"appDataFolder"},{"name":"Drive","value":"drive"},{"name":"Photos","value":"photos"}],"default":[],"description":"The spaces to operate on"},{"displayName":"Corpora","name":"corpora","type":"options","displayOptions":{"show":{"/operation":["list"],"/resource":["file"]}},"options":[{"name":"User","value":"user","description":"All files in \"My Drive\" and \"Shared with me\""},{"name":"Domain","value":"domain","description":"All files shared to the user's domain that are searchable"},{"name":"Drive","value":"drive","description":"All files contained in a single shared drive"},{"name":"allDrives","value":"allDrives","description":"All drives"}],"default":"","description":"The corpora to operate on"},{"displayName":"Drive ID","name":"driveId","type":"string","default":"","displayOptions":{"show":{"/operation":["list"],"/resource":["file"],"corpora":["drive"]}},"description":"ID of the shared drive to search. The driveId parameter must be specified if and only if corpora is set to drive."}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["drive"]}},"options":[{"name":"Create","value":"create","description":"Create a drive","action":"Create a drive"},{"name":"Delete","value":"delete","description":"Delete a drive","action":"Delete a drive"},{"name":"Get","value":"get","description":"Get a drive","action":"Get a drive"},{"name":"List","value":"list","description":"List all drives","action":"List all drives"},{"name":"Update","value":"update","description":"Update a drive","action":"Update a drive"}],"default":"create"},{"displayName":"Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"hint":"The Google Drive drive to operate on","modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Drive","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"operation":["delete","get","update"],"resource":["drive"]}},"description":"The ID of the drive"},{"displayName":"Name","name":"name","type":"string","default":"","displayOptions":{"show":{"operation":["create"],"resource":["drive"]}},"description":"The name of this shared drive"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["create"],"resource":["drive"]}},"options":[{"displayName":"Capabilities","name":"capabilities","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Can Add Children","name":"canAddChildren","type":"boolean","default":false,"description":"Whether the current user can add children to folders in this shared drive"},{"displayName":"Can Change Copy Requires Writer Permission Restriction","name":"canChangeCopyRequiresWriterPermissionRestriction","type":"boolean","default":false,"description":"Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive"},{"displayName":"Can Change Domain Users Only Restriction","name":"canChangeDomainUsersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the domainUsersOnly restriction of this shared drive"},{"displayName":"Can Change Drive Background","name":"canChangeDriveBackground","type":"boolean","default":false,"description":"Whether the current user can change the background of this shared drive"},{"displayName":"Can Change Drive Members Only Restriction","name":"canChangeDriveMembersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the driveMembersOnly restriction of this shared drive"},{"displayName":"Can Comment","name":"canComment","type":"boolean","default":false,"description":"Whether the current user can comment on files in this shared drive"},{"displayName":"Can Copy","name":"canCopy","type":"boolean","default":false,"description":"Whether the current user can copy files in this shared drive"},{"displayName":"Can Delete Children","name":"canDeleteChildren","type":"boolean","default":false,"description":"Whether the current user can delete children from folders in this shared drive"},{"displayName":"Can Delete Drive","name":"canDeleteDrive","type":"boolean","default":false,"description":"Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive."},{"displayName":"Can Download","name":"canDownload","type":"boolean","default":false,"description":"Whether the current user can download files in this shared drive"},{"displayName":"Can Edit","name":"canEdit","type":"boolean","default":false,"description":"Whether the current user can edit files in this shared drive"},{"displayName":"Can List Children","name":"canListChildren","type":"boolean","default":false,"description":"Whether the current user can list the children of folders in this shared drive"},{"displayName":"Can Manage Members","name":"canManageMembers","type":"boolean","default":false,"description":"Whether the current user can add members to this shared drive or remove them or change their role"},{"displayName":"Can Read Revisions","name":"canReadRevisions","type":"boolean","default":false,"description":"Whether the current user can read the revisions resource of files in this shared drive"},{"displayName":"Can Rename","name":"canRename","type":"boolean","default":false,"description":"Whether the current user can rename files or folders in this shared drive"},{"displayName":"Can Rename Drive","name":"canRenameDrive","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Share","name":"canShare","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Trash Children","name":"canTrashChildren","type":"boolean","default":false,"description":"Whether the current user can trash children from folders in this shared drive"}]},{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Created Time","name":"createdTime","type":"dateTime","default":"","description":"The time at which the shared drive was created (RFC 3339 date-time)"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the shared drive is hidden from default view"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["get"],"resource":["drive"]}},"options":[{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)."}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["list"],"resource":["drive"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["list"],"resource":["drive"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":200},"default":100,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["list"],"resource":["drive"]}},"options":[{"displayName":"Query","name":"q","type":"string","default":"","description":"Query string for searching shared drives. See the <a href=\"https://developers.google.com/drive/api/v3/search-shareddrives\">\"Search for shared drives\"</a> guide for supported syntax."},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs. (Default: false)."}]},{"displayName":"Update Fields","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["drive"]}},"options":[{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Name","name":"name","type":"string","default":"","description":"The name of this shared drive"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["upload"],"resource":["file"]}},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Drive/googleDrive.svg"},
|
|
145
|
+
{"displayName":"Google Drive","name":"n8n-nodes-base.googleDrive","group":["input"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Access data on Google Drive","defaultVersion":3,"version":3,"defaults":{"name":"Google Drive"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDriveOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"File","value":"file"},{"name":"File/Folder","value":"fileFolder"},{"name":"Folder","value":"folder"},{"name":"Shared Drive","value":"drive"}],"default":"file"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Create","value":"create","description":"Create a shared drive","action":"Create shared drive"},{"name":"Delete","value":"deleteDrive","description":"Permanently delete a shared drive","action":"Delete shared drive"},{"name":"Get","value":"get","description":"Get a shared drive","action":"Get shared drive"},{"name":"Get Many","value":"list","description":"Get the list of shared drives","action":"Get many shared drives"},{"name":"Update","value":"update","description":"Update a shared drive","action":"Update shared drive"}],"default":"create","displayOptions":{"show":{"resource":["drive"]}}},{"displayName":"Name","name":"name","type":"string","default":"","placeholder":"e.g. New Shared Drive","description":"The name of the shared drive to create","displayOptions":{"show":{"resource":["drive"],"operation":["create"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Capabilities","name":"capabilities","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Can Add Children","name":"canAddChildren","type":"boolean","default":false,"description":"Whether the current user can add children to folders in this shared drive"},{"displayName":"Can Change Copy Requires Writer Permission Restriction","name":"canChangeCopyRequiresWriterPermissionRestriction","type":"boolean","default":false,"description":"Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive"},{"displayName":"Can Change Domain Users Only Restriction","name":"canChangeDomainUsersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the domainUsersOnly restriction of this shared drive"},{"displayName":"Can Change Drive Background","name":"canChangeDriveBackground","type":"boolean","default":false,"description":"Whether the current user can change the background of this shared drive"},{"displayName":"Can Change Drive Members Only Restriction","name":"canChangeDriveMembersOnlyRestriction","type":"boolean","default":false,"description":"Whether the current user can change the driveMembersOnly restriction of this shared drive"},{"displayName":"Can Comment","name":"canComment","type":"boolean","default":false,"description":"Whether the current user can comment on files in this shared drive"},{"displayName":"Can Copy","name":"canCopy","type":"boolean","default":false,"description":"Whether the current user can copy files in this shared drive"},{"displayName":"Can Delete Children","name":"canDeleteChildren","type":"boolean","default":false,"description":"Whether the current user can delete children from folders in this shared drive"},{"displayName":"Can Delete Drive","name":"canDeleteDrive","type":"boolean","default":false,"description":"Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive."},{"displayName":"Can Download","name":"canDownload","type":"boolean","default":false,"description":"Whether the current user can download files in this shared drive"},{"displayName":"Can Edit","name":"canEdit","type":"boolean","default":false,"description":"Whether the current user can edit files in this shared drive"},{"displayName":"Can List Children","name":"canListChildren","type":"boolean","default":false,"description":"Whether the current user can list the children of folders in this shared drive"},{"displayName":"Can Manage Members","name":"canManageMembers","type":"boolean","default":false,"description":"Whether the current user can add members to this shared drive or remove them or change their role"},{"displayName":"Can Read Revisions","name":"canReadRevisions","type":"boolean","default":false,"description":"Whether the current user can read the revisions resource of files in this shared drive"},{"displayName":"Can Rename","name":"canRename","type":"boolean","default":false,"description":"Whether the current user can rename files or folders in this shared drive"},{"displayName":"Can Rename Drive","name":"canRenameDrive","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Share","name":"canShare","type":"boolean","default":false,"description":"Whether the current user can rename this shared drive"},{"displayName":"Can Trash Children","name":"canTrashChildren","type":"boolean","default":false,"description":"Whether the current user can trash children from folders in this shared drive"}]},{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the shared drive is hidden from default view"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}],"displayOptions":{"show":{"resource":["drive"],"operation":["create"]}}},{"displayName":"Shared Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a shared drive...","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/u/1/folders/0AIjtcbwnjtcbwn9PVA","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 0AMXTKI5ZSiM7Uk9PVA","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The shared drive to delete","displayOptions":{"show":{"resource":["drive"],"operation":["deleteDrive"]}}},{"displayName":"Shared Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a shared drive...","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/u/1/folders/0AIjtcbwnjtcbwn9PVA","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 0AMXTKI5ZSiM7Uk9PVA","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The shared drive to get","displayOptions":{"show":{"resource":["drive"],"operation":["get"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs"}],"displayOptions":{"show":{"resource":["drive"],"operation":["get"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["drive"],"operation":["list"]}}},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"returnAll":[false],"resource":["drive"],"operation":["list"]}},"typeOptions":{"minValue":1,"maxValue":200},"default":100,"description":"Max number of results to return"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Query","name":"q","type":"string","default":"","description":"Query string for searching shared drives. See the <a href=\"https://developers.google.com/drive/api/v3/search-shareddrives\">\"Search for shared drives\"</a> guide for supported syntax."},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs"}],"displayOptions":{"show":{"resource":["drive"],"operation":["list"]}}},{"displayName":"Shared Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a shared drive...","typeOptions":{"searchListMethod":"driveSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/u/1/folders/0AIjtcbwnjtcbwn9PVA","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 0AMXTKI5ZSiM7Uk9PVA","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The shared drive to update","displayOptions":{"show":{"resource":["drive"],"operation":["update"]}}},{"displayName":"Update Fields","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["drive"]}},"options":[{"displayName":"Color RGB","name":"colorRgb","type":"color","default":"","description":"The color of this shared drive as an RGB hex string"},{"displayName":"Name","name":"name","type":"string","default":"","description":"The updated name of the shared drive"},{"displayName":"Restrictions","name":"restrictions","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Admin Managed Restrictions","name":"adminManagedRestrictions","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive."},{"displayName":"Domain Users Only","name":"domainUsersOnly","type":"boolean","default":false,"description":"Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive."},{"displayName":"Drive Members Only","name":"driveMembersOnly","type":"boolean","default":false,"description":"Whether access to items inside this shared drive is restricted to its members"}]}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["file"]}},"options":[{"name":"Copy","value":"copy","description":"Create a copy of an existing file","action":"Copy file"},{"name":"Create From Text","value":"createFromText","description":"Create a file from a provided text","action":"Create file from text"},{"name":"Delete","value":"deleteFile","description":"Permanently delete a file","action":"Delete a file"},{"name":"Download","value":"download","description":"Download a file","action":"Download file"},{"name":"Move","value":"move","description":"Move a file to another folder","action":"Move file"},{"name":"Share","value":"share","description":"Add sharing permissions to a file","action":"Share file"},{"name":"Update","value":"update","description":"Update a file","action":"Update file"},{"name":"Upload","value":"upload","description":"Upload an existing file to Google Drive","action":"Upload file"}],"default":"upload"},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to copy","displayOptions":{"show":{"resource":["file"],"operation":["copy"]}}},{"displayName":"File Name","name":"name","type":"string","default":"","placeholder":"e.g. My File","description":"The name of the new file. If not set, “Copy of {original file name}” will be used.","displayOptions":{"show":{"resource":["file"],"operation":["copy"]}}},{"displayName":"Copy In The Same Folder","name":"sameFolder","type":"boolean","default":true,"description":"Whether to copy the file in the same folder as the original file","displayOptions":{"show":{"resource":["file"],"operation":["copy"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to save the copied file","displayOptions":{"show":{"sameFolder":[false],"resource":["file"],"operation":["copy"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder where to save the copied file","displayOptions":{"show":{"sameFolder":[false],"resource":["file"],"operation":["copy"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Copy Requires Writer Permission","name":"copyRequiresWriterPermission","type":"boolean","default":false,"description":"Whether the options to copy, print, or download this file, should be disabled for readers and commenters"},{"displayName":"Description","name":"description","type":"string","default":"","description":"A short description of the file"}],"displayOptions":{"show":{"resource":["file"],"operation":["copy"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to delete","displayOptions":{"show":{"resource":["file"],"operation":["deleteFile"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Delete Permanently","name":"deletePermanently","type":"boolean","default":false,"description":"Whether to delete the file immediately. If false, the file will be moved to the trash."}],"displayOptions":{"show":{"resource":["file"],"operation":["deleteFile"]}}},{"displayName":"File Content","name":"content","type":"string","default":"","typeOptions":{"rows":2},"description":"The text to create the file with","displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"File Name","name":"name","type":"string","default":"","placeholder":"e.g. My New File","description":"The name of the file you want to create. If not specified, 'Untitled' will be used.","displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":false,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to create the new file","displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":false,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder where to create the new file","displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","placeholder":"e.g. en","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"},{"displayName":"Convert to Google Document","name":"convertToGoogleDocument","type":"boolean","default":false,"description":"Whether to create a Google Document (instead of the .txt default format)","hint":"Google Docs API has to be enabled in the <a href=\"https://console.developers.google.com/apis/library/docs.googleapis.com\" target=\"_blank\">Google API Console</a>."}],"displayOptions":{"show":{"resource":["file"],"operation":["createFromText"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to download","displayOptions":{"show":{"resource":["file"],"operation":["download"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Binary Property","name":"binaryPropertyName","type":"string","placeholder":"e.g. data","default":"data","description":"Use this field name in the following nodes, to use the binary file data","hint":"The name of the output field to put the binary file data in"},{"displayName":"Google File Conversion","name":"googleFileConversion","type":"fixedCollection","typeOptions":{"multipleValues":false},"default":{},"placeholder":"Add Conversion","options":[{"displayName":"Conversion","name":"conversion","values":[{"displayName":"Google Docs","name":"docsToFormat","type":"options","options":[{"name":"HTML","value":"text/html"},{"name":"MS Word Document","value":"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},{"name":"Open Office Document","value":"application/vnd.oasis.opendocument.text"},{"name":"PDF","value":"application/pdf"},{"name":"Rich Text (rtf)","value":"application/rtf"},{"name":"Text (txt)","value":"text/plain"}],"default":"text/html","description":"Format used to export when downloading Google Docs files"},{"displayName":"Google Drawings","name":"drawingsToFormat","type":"options","options":[{"name":"JPEG","value":"image/jpeg"},{"name":"PDF","value":"application/pdf"},{"name":"PNG","value":"image/png"},{"name":"SVG","value":"image/svg+xml"}],"default":"image/jpeg","description":"Format used to export when downloading Google Drawings files"},{"displayName":"Google Slides","name":"slidesToFormat","type":"options","options":[{"name":"MS PowerPoint","value":"application/vnd.openxmlformats-officedocument.presentationml.presentation"},{"name":"OpenOffice Presentation","value":"application/vnd.oasis.opendocument.presentation"},{"name":"PDF","value":"application/pdf"}],"default":"application/vnd.openxmlformats-officedocument.presentationml.presentation","description":"Format used to export when downloading Google Slides files"},{"displayName":"Google Sheets","name":"sheetsToFormat","type":"options","options":[{"name":"CSV","value":"text/csv"},{"name":"MS Excel","value":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},{"name":"Open Office Sheet","value":"application/vnd.oasis.opendocument.spreadsheet"},{"name":"PDF","value":"application/pdf"}],"default":"text/csv","description":"Format used to export when downloading Google Sheets files"}]}]},{"displayName":"File Name","name":"fileName","type":"string","default":"","description":"File name. Ex: data.pdf."}],"displayOptions":{"show":{"resource":["file"],"operation":["download"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to move","displayOptions":{"show":{"resource":["file"],"operation":["move"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to move the file","displayOptions":{"show":{"resource":["file"],"operation":["move"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder where to move the file","displayOptions":{"show":{"resource":["file"],"operation":["move"]}}},{"displayName":"File","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to share","displayOptions":{"show":{"resource":["file"],"operation":["share"]}}},{"displayName":"Permissions","name":"permissionsUi","placeholder":"Add Permission","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":false},"options":[{"displayName":"Permission","name":"permissionsValues","values":[{"displayName":"Role","name":"role","type":"options","description":"Defines what users can do with the file or folder","options":[{"name":"Commenter","value":"commenter"},{"name":"File Organizer","value":"fileOrganizer"},{"name":"Organizer","value":"organizer"},{"name":"Owner","value":"owner"},{"name":"Reader","value":"reader"},{"name":"Writer","value":"writer"}],"default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"User","value":"user"},{"name":"Group","value":"group"},{"name":"Domain","value":"domain"},{"name":"Anyone","value":"anyone"}],"default":"","description":"The scope of the permission. A permission with type=user applies to a specific user whereas a permission with type=domain applies to everyone in a specific domain."},{"displayName":"Email Address","name":"emailAddress","type":"string","displayOptions":{"show":{"type":["user","group"]}},"placeholder":"“e.g. name@mail.com","default":"","description":"The email address of the user or group to which this permission refers"},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"type":["domain"]}},"placeholder":"e.g. mycompany.com","default":"","description":"The domain to which this permission refers"},{"displayName":"Allow File Discovery","name":"allowFileDiscovery","type":"boolean","displayOptions":{"show":{"type":["domain","anyone"]}},"default":false,"description":"Whether to allow the file to be discovered through search"}]}],"displayOptions":{"show":{"resource":["file"],"operation":["share"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Email Message","name":"emailMessage","type":"string","default":"","description":"A plain text custom message to include in the notification email","typeOptions":{"rows":2}},{"displayName":"Move To New Owners Root","name":"moveToNewOwnersRoot","type":"boolean","default":false,"description":"<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>"},{"displayName":"Send Notification Email","name":"sendNotificationEmail","type":"boolean","default":false,"description":"Whether to send a notification email when sharing to users or groups"},{"displayName":"Transfer Ownership","name":"transferOwnership","type":"boolean","default":false,"description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer"},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically."}],"displayOptions":{"show":{"resource":["file"],"operation":["share"]}}},{"displayName":"File to Update","name":"fileId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/file/d/1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"description":"The file to update","displayOptions":{"show":{"resource":["file"],"operation":["update"]}}},{"displayName":"Change File Content","name":"changeFileContent","type":"boolean","default":false,"description":"Whether to send a new binary data to update the file","displayOptions":{"show":{"resource":["file"],"operation":["update"]}}},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","placeholder":"e.g. data","default":"data","hint":"The name of the input field containing the binary file data to update the file","description":"Find the name of input field containing the binary data to update the file in the Input panel on the left, in the Binary tab","displayOptions":{"show":{"changeFileContent":[true],"resource":["file"],"operation":["update"]}}},{"displayName":"New Updated File Name","name":"newUpdatedFileName","type":"string","default":"","placeholder":"e.g. My New File","description":"If not specified, the file name will not be changed","displayOptions":{"show":{"resource":["file"],"operation":["update"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","placeholder":"e.g. en","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"},{"displayName":"Move to Trash","name":"trashed","type":"boolean","default":false,"description":"Whether to move a file to the trash. Only the owner may trash a file."},{"displayName":"Return Fields","name":"fields","type":"multiOptions","options":[{"name":"[All]","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"}],"displayOptions":{"show":{"resource":["file"],"operation":["update"]}}},{"displayName":"Input Data Field Name","name":"inputDataFieldName","type":"string","placeholder":"“e.g. data","default":"data","required":true,"hint":"The name of the input field containing the binary file data to update the file","description":"Find the name of input field containing the binary data to update the file in the Input panel on the left, in the Binary tab","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"File Name","name":"name","type":"string","default":"","placeholder":"e.g. My New File","description":"If not specified, the original file name will be used","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to upload the file","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder where to upload the file","displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"APP Properties","name":"appPropertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are private to the requesting app","options":[{"name":"appPropertyValues","displayName":"APP Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Properties","name":"propertiesUi","placeholder":"Add Property","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"description":"A collection of arbitrary key-value pairs which are visible to all apps","options":[{"name":"propertyValues","displayName":"Property","values":[{"displayName":"Key","name":"key","type":"string","default":"","description":"Name of the key to add"},{"displayName":"Value","name":"value","type":"string","default":"","description":"Value to set for the key"}]}]},{"displayName":"Keep Revision Forever","name":"keepRevisionForever","type":"boolean","default":false,"description":"Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions."},{"displayName":"OCR Language","name":"ocrLanguage","type":"string","default":"","placeholder":"e.g. en","description":"A language hint for OCR processing during image import (ISO 639-1 code)"},{"displayName":"Use Content As Indexable Text","name":"useContentAsIndexableText","type":"boolean","default":false,"description":"Whether to use the uploaded content as indexable text"},{"displayName":"Simplify Output","name":"simplifyOutput","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of all fields"}],"displayOptions":{"show":{"resource":["file"],"operation":["upload"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["fileFolder"]}},"options":[{"name":"Search","value":"search","description":"Search or list files and folders","action":"Search files and folders"}],"default":"search"},{"displayName":"Search Method","name":"searchMethod","type":"options","options":[{"name":"Search File/Folder Name","value":"name"},{"name":"Advanced Search","value":"query"}],"default":"name","description":"Whether to search for the file/folder name or use a query string","displayOptions":{"show":{"resource":["fileFolder"],"operation":["search"]}}},{"displayName":"Search Query","name":"queryString","type":"string","default":"","displayOptions":{"show":{"searchMethod":["name"],"resource":["fileFolder"],"operation":["search"]}},"placeholder":"e.g. My File / My Folder","description":"The name of the file or folder to search for. Returns also files and folders whose names partially match this search term."},{"displayName":"Query String","name":"queryString","type":"string","default":"","displayOptions":{"show":{"searchMethod":["query"],"resource":["fileFolder"],"operation":["search"]}},"placeholder":"e.g. not name contains 'hello'","description":"Use the Google query strings syntax to search for a specific set of files or folders. <a href=\"https://developers.google.com/drive/api/v3/search-files\" target=\"_blank\">Learn more</a>."},{"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":["fileFolder"],"operation":["search"]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["fileFolder"],"operation":["search"]}}},{"displayName":"Filter","name":"filter","type":"collection","placeholder":"Add Filter","default":{},"options":[{"displayName":"Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":false,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive you want to search in. By default, the personal \"My Drive\" is used."},{"displayName":"Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":false,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder you want to search in. By default, the root folder of the drive is used. If you select a folder other than the root folder, only the direct children will be included."},{"displayName":"What to Search","name":"whatToSearch","type":"options","default":"all","options":[{"name":"Files and Folders","value":"all"},{"name":"Files","value":"files"},{"name":"Folders","value":"folders"}]},{"displayName":"File Types","name":"fileTypes","type":"multiOptions","default":[],"description":"Return only items corresponding to the selected MIME types","options":[{"name":"All","value":"*","description":"Return all file types"},{"name":"3rd Party Shortcut","value":"application/vnd.google-apps.drive-sdk"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Folder","value":"application/vnd.google-apps.folder"},{"name":"Google Apps Scripts","value":"application/vnd.google-apps.script"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawing","value":"application/vnd.google-apps.drawing"},{"name":"Google Forms","value":"application/vnd.google-apps.form"},{"name":"Google Fusion Tables","value":"application/vnd.google-apps.fusiontable"},{"name":"Google My Maps","value":"application/vnd.google-apps.map"},{"name":"Google Sheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Google Sites","value":"application/vnd.google-apps.sites"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Photo","value":"application/vnd.google-apps.photo"},{"name":"Unknown","value":"application/vnd.google-apps.unknown"},{"name":"Video","value":"application/vnd.google-apps.video"}],"displayOptions":{"show":{"whatToSearch":["all"]}}},{"displayName":"File Types","name":"fileTypes","type":"multiOptions","default":[],"description":"Return only items corresponding to the selected MIME types","options":[{"name":"All","value":"*","description":"Return all file types"},{"name":"3rd Party Shortcut","value":"application/vnd.google-apps.drive-sdk"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Google Apps Scripts","value":"application/vnd.google-apps.script"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawing","value":"application/vnd.google-apps.drawing"},{"name":"Google Forms","value":"application/vnd.google-apps.form"},{"name":"Google Fusion Tables","value":"application/vnd.google-apps.fusiontable"},{"name":"Google My Maps","value":"application/vnd.google-apps.map"},{"name":"Google Sheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Google Sites","value":"application/vnd.google-apps.sites"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Photo","value":"application/vnd.google-apps.photo"},{"name":"Unknown","value":"application/vnd.google-apps.unknown"},{"name":"Video","value":"application/vnd.google-apps.video"}],"displayOptions":{"show":{"whatToSearch":["files"]}}},{"displayName":"Include Trashed Items","name":"includeTrashed","type":"boolean","default":false,"description":"Whether to return also items in the Drive's bin"}],"displayOptions":{"show":{"resource":["fileFolder"],"operation":["search"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Fields","name":"fields","type":"multiOptions","options":[{"name":"*","value":"*","description":"All fields"},{"name":"explicitlyTrashed","value":"explicitlyTrashed"},{"name":"exportLinks","value":"exportLinks"},{"name":"hasThumbnail","value":"hasThumbnail"},{"name":"iconLink","value":"iconLink"},{"name":"ID","value":"id"},{"name":"Kind","value":"kind"},{"name":"mimeType","value":"mimeType"},{"name":"Name","value":"name"},{"name":"Permissions","value":"permissions"},{"name":"Shared","value":"shared"},{"name":"Spaces","value":"spaces"},{"name":"Starred","value":"starred"},{"name":"thumbnailLink","value":"thumbnailLink"},{"name":"Trashed","value":"trashed"},{"name":"Version","value":"version"},{"name":"webViewLink","value":"webViewLink"}],"default":[],"description":"The fields to return"}],"displayOptions":{"show":{"resource":["fileFolder"],"operation":["search"]}}},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["folder"]}},"options":[{"name":"Create","value":"create","description":"Create a folder","action":"Create folder"},{"name":"Delete","value":"deleteFolder","description":"Permanently delete a folder","action":"Delete folder"},{"name":"Share","value":"share","description":"Add sharing permissions to a folder","action":"Share folder"}],"default":"create"},{"displayName":"Folder Name","name":"name","type":"string","default":"","placeholder":"e.g. New Folder","description":"The name of the new folder. If not set, 'Untitled' will be used.","displayOptions":{"show":{"resource":["folder"],"operation":["create"]}}},{"displayName":"Parent Drive","name":"driveId","type":"resourceLocator","default":{"mode":"list","value":"My Drive"},"required":true,"modes":[{"displayName":"Drive","name":"list","type":"list","placeholder":"Select a drive...","typeOptions":{"searchListMethod":"driveSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/0AaaaaAAAAAAAaa","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Drive URL"}}]},{"displayName":"ID","name":"id","type":"string","hint":"The ID of the shared drive","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Drive ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The drive where to create the new folder","displayOptions":{"show":{"resource":["folder"],"operation":["create"]}}},{"displayName":"Parent Folder","name":"folderId","type":"resourceLocator","default":{"mode":"list","value":"root","cachedResultName":"/ (Root folder)"},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearchWithDefault","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The parent folder where to create the new folder","displayOptions":{"show":{"resource":["folder"],"operation":["create"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Simplify Output","name":"simplifyOutput","type":"boolean","default":true,"description":"Whether to return a simplified version of the response instead of all fields"},{"displayName":"Folder Color","name":"folderColorRgb","type":"color","default":"","description":"The color of the folder as an RGB hex string. If an unsupported color is specified, the closest color in the palette will be used instead."}],"displayOptions":{"show":{"resource":["folder"],"operation":["create"]}}},{"displayName":"Folder","name":"folderNoRootId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder to delete","displayOptions":{"show":{"resource":["folder"],"operation":["deleteFolder"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Delete Permanently","name":"deletePermanently","type":"boolean","default":false,"description":"Whether to delete the folder immediately. If false, the folder will be moved to the trash."}],"displayOptions":{"show":{"resource":["folder"],"operation":["deleteFolder"]}}},{"displayName":"Folder","name":"folderNoRootId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"e.g. https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"e.g. 1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"description":"The folder to share","displayOptions":{"show":{"resource":["folder"],"operation":["share"]}}},{"displayName":"Permissions","name":"permissionsUi","placeholder":"Add Permission","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":false},"options":[{"displayName":"Permission","name":"permissionsValues","values":[{"displayName":"Role","name":"role","type":"options","description":"Defines what users can do with the file or folder","options":[{"name":"Commenter","value":"commenter"},{"name":"File Organizer","value":"fileOrganizer"},{"name":"Organizer","value":"organizer"},{"name":"Owner","value":"owner"},{"name":"Reader","value":"reader"},{"name":"Writer","value":"writer"}],"default":""},{"displayName":"Type","name":"type","type":"options","options":[{"name":"User","value":"user"},{"name":"Group","value":"group"},{"name":"Domain","value":"domain"},{"name":"Anyone","value":"anyone"}],"default":"","description":"The scope of the permission. A permission with type=user applies to a specific user whereas a permission with type=domain applies to everyone in a specific domain."},{"displayName":"Email Address","name":"emailAddress","type":"string","displayOptions":{"show":{"type":["user","group"]}},"placeholder":"“e.g. name@mail.com","default":"","description":"The email address of the user or group to which this permission refers"},{"displayName":"Domain","name":"domain","type":"string","displayOptions":{"show":{"type":["domain"]}},"placeholder":"e.g. mycompany.com","default":"","description":"The domain to which this permission refers"},{"displayName":"Allow File Discovery","name":"allowFileDiscovery","type":"boolean","displayOptions":{"show":{"type":["domain","anyone"]}},"default":false,"description":"Whether to allow the file to be discovered through search"}]}],"displayOptions":{"show":{"resource":["folder"],"operation":["share"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Email Message","name":"emailMessage","type":"string","default":"","description":"A plain text custom message to include in the notification email","typeOptions":{"rows":2}},{"displayName":"Move To New Owners Root","name":"moveToNewOwnersRoot","type":"boolean","default":false,"description":"<p>This parameter only takes effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item.</p><p>When set to true, the item is moved to the new owner's My Drive root folder and all prior parents removed.</p>"},{"displayName":"Send Notification Email","name":"sendNotificationEmail","type":"boolean","default":false,"description":"Whether to send a notification email when sharing to users or groups"},{"displayName":"Transfer Ownership","name":"transferOwnership","type":"boolean","default":false,"description":"Whether to transfer ownership to the specified user and downgrade the current owner to a writer"},{"displayName":"Use Domain Admin Access","name":"useDomainAdminAccess","type":"boolean","default":false,"description":"Whether to perform the operation as domain administrator, i.e. if you are an administrator of the domain to which the shared drive belongs, you will be granted access automatically."}],"displayOptions":{"show":{"resource":["folder"],"operation":["share"]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Drive/googleDrive.svg","codex":{"categories":["Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}}},
|
|
146
|
+
{"displayName":"Google Drive Trigger","name":"n8n-nodes-base.googleDriveTrigger","group":["trigger"],"version":1,"description":"Starts the workflow when Google Drive events occur","subtitle":"={{$parameter[\"event\"]}}","defaults":{"name":"Google Drive Trigger"},"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleDriveOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"polling":true,"inputs":[],"outputs":["main"],"properties":[{"displayName":"Poll Times","name":"pollTimes","type":"fixedCollection","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Poll Time"},"default":{"item":[{"mode":"everyMinute"}]},"description":"Time at which polling should occur","placeholder":"Add Poll Time","options":[{"name":"item","displayName":"Item","values":[{"displayName":"Mode","name":"mode","type":"options","options":[{"name":"Every Minute","value":"everyMinute"},{"name":"Every Hour","value":"everyHour"},{"name":"Every Day","value":"everyDay"},{"name":"Every Week","value":"everyWeek"},{"name":"Every Month","value":"everyMonth"},{"name":"Every X","value":"everyX"},{"name":"Custom","value":"custom"}],"default":"everyDay","description":"How often to trigger."},{"displayName":"Hour","name":"hour","type":"number","typeOptions":{"minValue":0,"maxValue":23},"displayOptions":{"hide":{"mode":["custom","everyHour","everyMinute","everyX"]}},"default":14,"description":"The hour of the day to trigger (24h format)"},{"displayName":"Minute","name":"minute","type":"number","typeOptions":{"minValue":0,"maxValue":59},"displayOptions":{"hide":{"mode":["custom","everyMinute","everyX"]}},"default":0,"description":"The minute of the day to trigger"},{"displayName":"Day of Month","name":"dayOfMonth","type":"number","displayOptions":{"show":{"mode":["everyMonth"]}},"typeOptions":{"minValue":1,"maxValue":31},"default":1,"description":"The day of the month to trigger"},{"displayName":"Weekday","name":"weekday","type":"options","displayOptions":{"show":{"mode":["everyWeek"]}},"options":[{"name":"Monday","value":"1"},{"name":"Tuesday","value":"2"},{"name":"Wednesday","value":"3"},{"name":"Thursday","value":"4"},{"name":"Friday","value":"5"},{"name":"Saturday","value":"6"},{"name":"Sunday","value":"0"}],"default":"1","description":"The weekday to trigger"},{"displayName":"Cron Expression","name":"cronExpression","type":"string","displayOptions":{"show":{"mode":["custom"]}},"default":"* * * * * *","description":"Use custom cron expression. Values and ranges as follows:<ul><li>Seconds: 0-59</li><li>Minutes: 0 - 59</li><li>Hours: 0 - 23</li><li>Day of Month: 1 - 31</li><li>Months: 0 - 11 (Jan - Dec)</li><li>Day of Week: 0 - 6 (Sun - Sat)</li></ul>"},{"displayName":"Value","name":"value","type":"number","typeOptions":{"minValue":0,"maxValue":1000},"displayOptions":{"show":{"mode":["everyX"]}},"default":2,"description":"All how many X minutes/hours it should trigger"},{"displayName":"Unit","name":"unit","type":"options","displayOptions":{"show":{"mode":["everyX"]}},"options":[{"name":"Minutes","value":"minutes"},{"name":"Hours","value":"hours"}],"default":"hours","description":"If it should trigger all X minutes or hours"}]}]},{"displayName":"Credential Type","name":"authentication","type":"options","options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2"},{"displayName":"Trigger On","name":"triggerOn","type":"options","required":true,"default":"","options":[{"name":"Changes to a Specific File","value":"specificFile"},{"name":"Changes Involving a Specific Folder","value":"specificFolder"}]},{"displayName":"File","name":"fileToWatch","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"File","name":"list","type":"list","placeholder":"Select a file...","typeOptions":{"searchListMethod":"fileSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/file/d/1wroCSfK-hupQIYf_xzeoUEzOhvfTFH2P/edit","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://drive.google.com/file/d/{{$value}}/view"}],"displayOptions":{"show":{"triggerOn":["specificFile"]}}},{"displayName":"Watch For","name":"event","type":"options","displayOptions":{"show":{"triggerOn":["specificFile"]}},"required":true,"default":"fileUpdated","options":[{"name":"File Updated","value":"fileUpdated"}],"description":"When to trigger this node"},{"displayName":"Folder","name":"folderToWatch","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"Folder","name":"list","type":"list","placeholder":"Select a folder...","typeOptions":{"searchListMethod":"folderSearch","searchable":true}},{"displayName":"Link","name":"url","type":"string","placeholder":"https://drive.google.com/drive/folders/1Tx9WHbA3wBpPB4C_HcoZDH9WZFWYxAMU","extractValue":{"type":"regex","regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/drive\\.google\\.com(?:\\/.*|)\\/folders\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive Folder URL"}}]},{"displayName":"ID","name":"id","type":"string","placeholder":"1anGBg0b5re2VtF2bKu201_a-Vnz5BHq9Y4r-yBDAj5A","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive Folder ID"}}],"url":"=https://drive.google.com/drive/folders/{{$value}}"}],"displayOptions":{"show":{"triggerOn":["specificFolder"]}}},{"displayName":"Watch For","name":"event","type":"options","displayOptions":{"show":{"triggerOn":["specificFolder"]}},"required":true,"default":"","options":[{"name":"File Created","value":"fileCreated","description":"When a file is created in the watched folder"},{"name":"File Updated","value":"fileUpdated","description":"When a file is updated in the watched folder"},{"name":"Folder Created","value":"folderCreated","description":"When a folder is created in the watched folder"},{"name":"Folder Updated","value":"folderUpdated","description":"When a folder is updated in the watched folder"},{"name":"Watch Folder Updated","value":"watchFolderUpdated","description":"When the watched folder itself is modified"}]},{"displayName":"Changes within subfolders won't trigger this node","name":"asas","type":"notice","displayOptions":{"show":{"triggerOn":["specificFolder"]},"hide":{"event":["watchFolderUpdated"]}},"default":""},{"displayName":"Drive To Watch","name":"driveToWatch","type":"options","displayOptions":{"show":{"triggerOn":["anyFileFolder"]}},"typeOptions":{"loadOptionsMethod":"getDrives"},"default":"root","required":true,"description":"The drive to monitor. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Watch For","name":"event","type":"options","displayOptions":{"show":{"triggerOn":["anyFileFolder"]}},"required":true,"default":"fileCreated","options":[{"name":"File Created","value":"fileCreated","description":"When a file is created in the watched drive"},{"name":"File Updated","value":"fileUpdated","description":"When a file is updated in the watched drive"},{"name":"Folder Created","value":"folderCreated","description":"When a folder is created in the watched drive"},{"name":"Folder Updated","value":"folderUpdated","description":"When a folder is updated in the watched drive"}],"description":"When to trigger this node"},{"displayName":"Options","name":"options","type":"collection","displayOptions":{"show":{"event":["fileCreated","fileUpdated"]},"hide":{"triggerOn":["specificFile"]}},"placeholder":"Add Option","default":{},"options":[{"displayName":"File Type","name":"fileType","type":"options","options":[{"name":"[All]","value":"all"},{"name":"Audio","value":"application/vnd.google-apps.audio"},{"name":"Google Docs","value":"application/vnd.google-apps.document"},{"name":"Google Drawings","value":"application/vnd.google-apps.drawing"},{"name":"Google Slides","value":"application/vnd.google-apps.presentation"},{"name":"Google Spreadsheets","value":"application/vnd.google-apps.spreadsheet"},{"name":"Photos and Images","value":"application/vnd.google-apps.photo"},{"name":"Videos","value":"application/vnd.google-apps.video"}],"default":"all","description":"Triggers only when the file is this type"}]}],"codex":{"categories":["Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.googledrivetrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Drive/googleDrive.svg"},
|
|
147
147
|
{"displayName":"Google Cloud Firestore","name":"n8n-nodes-base.googleFirebaseCloudFirestore","group":["input"],"version":1,"subtitle":"={{$parameter[\"resource\"] + \": \" + $parameter[\"operation\"]}}","description":"Interact with Google Firebase - Cloud Firestore API","defaults":{"name":"Google Cloud Firestore"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleFirebaseCloudFirestoreOAuth2Api","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Document","value":"document"},{"name":"Collection","value":"collection"}],"default":"document"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["document"]}},"options":[{"name":"Create","value":"create","description":"Create a document","action":"Create a document"},{"name":"Create or Update","value":"upsert","description":"Create a new document, or update the current one if it already exists (upsert)","action":"Create or update a document"},{"name":"Delete","value":"delete","description":"Delete a document","action":"Delete a document"},{"name":"Get","value":"get","description":"Get a document","action":"Get a document"},{"name":"Get Many","value":"getAll","description":"Get many documents from a collection","action":"Get many documents"},{"name":"Query","value":"query","description":"Runs a query against your documents","action":"Query a document"}],"default":"get"},{"displayName":"Project Name or ID","name":"projectId","type":"options","default":"","typeOptions":{"loadOptionsMethod":"getProjects"},"displayOptions":{"show":{"resource":["document"],"operation":["create"]}},"description":"As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true},{"displayName":"Database","name":"database","type":"string","default":"(default)","displayOptions":{"show":{"resource":["document"],"operation":["create"]}},"description":"Usually the provided default value will work","required":true},{"displayName":"Collection","name":"collection","type":"string","default":"","displayOptions":{"show":{"resource":["document"],"operation":["create"]}},"description":"Collection name","required":true},{"displayName":"Columns / Attributes","name":"columns","type":"string","default":"","displayOptions":{"show":{"resource":["document"],"operation":["create"]}},"description":"List of attributes to save","required":true,"placeholder":"productId, modelName, description"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["create"],"resource":["document"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Project Name or ID","name":"projectId","type":"options","default":"","typeOptions":{"loadOptionsMethod":"getProjects"},"displayOptions":{"show":{"resource":["document"],"operation":["get"]}},"description":"As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true},{"displayName":"Database","name":"database","type":"string","default":"(default)","displayOptions":{"show":{"resource":["document"],"operation":["get"]}},"description":"Usually the provided default value will work","required":true},{"displayName":"Collection","name":"collection","type":"string","default":"","displayOptions":{"show":{"resource":["document"],"operation":["get"]}},"description":"Collection name","required":true},{"displayName":"Document ID","name":"documentId","type":"string","displayOptions":{"show":{"operation":["get"],"resource":["document"]}},"default":"","required":true},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["get"],"resource":["document"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Project Name or ID","name":"projectId","type":"options","default":"","typeOptions":{"loadOptionsMethod":"getProjects"},"displayOptions":{"show":{"resource":["document"],"operation":["getAll"]}},"description":"As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true},{"displayName":"Database","name":"database","type":"string","default":"(default)","displayOptions":{"show":{"resource":["document"],"operation":["getAll"]}},"description":"Usually the provided default value will work","required":true},{"displayName":"Collection","name":"collection","type":"string","default":"","displayOptions":{"show":{"resource":["document"],"operation":["getAll"]}},"description":"Collection name","required":true},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"displayOptions":{"show":{"resource":["document"],"operation":["getAll"]}},"description":"Whether to return all results or only up to a given limit","required":true},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["document"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["document"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Project Name or ID","name":"projectId","type":"options","default":"","typeOptions":{"loadOptionsMethod":"getProjects"},"displayOptions":{"show":{"resource":["document"],"operation":["delete"]}},"description":"As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true},{"displayName":"Database","name":"database","type":"string","default":"(default)","displayOptions":{"show":{"resource":["document"],"operation":["delete"]}},"description":"Usually the provided default value will work","required":true},{"displayName":"Collection","name":"collection","type":"string","default":"","displayOptions":{"show":{"resource":["document"],"operation":["delete"]}},"description":"Collection name","required":true},{"displayName":"Document ID","name":"documentId","type":"string","displayOptions":{"show":{"operation":["delete"],"resource":["document"]}},"default":"","required":true},{"displayName":"Project Name or ID","name":"projectId","type":"options","default":"","typeOptions":{"loadOptionsMethod":"getProjects"},"displayOptions":{"show":{"resource":["document"],"operation":["upsert"]}},"description":"As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true},{"displayName":"Database","name":"database","type":"string","default":"(default)","displayOptions":{"show":{"resource":["document"],"operation":["upsert"]}},"description":"Usually the provided default value will work","required":true},{"displayName":"Collection","name":"collection","type":"string","default":"","displayOptions":{"show":{"resource":["document"],"operation":["upsert"]}},"description":"Collection name","required":true},{"displayName":"Update Key","name":"updateKey","type":"string","displayOptions":{"show":{"resource":["document"],"operation":["upsert"]}},"default":"","description":"Must correspond to a document ID","required":true,"placeholder":"documentId"},{"displayName":"Columns /Attributes","name":"columns","type":"string","default":"","displayOptions":{"show":{"resource":["document"],"operation":["upsert"]}},"description":"Columns to insert","required":true,"placeholder":"age, city, location"},{"displayName":"Project Name or ID","name":"projectId","type":"options","default":"","typeOptions":{"loadOptionsMethod":"getProjects"},"displayOptions":{"show":{"resource":["document"],"operation":["query"]}},"description":"As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true},{"displayName":"Database","name":"database","type":"string","default":"(default)","displayOptions":{"show":{"resource":["document"],"operation":["query"]}},"description":"Usually the provided default value will work","required":true},{"displayName":"Query JSON","name":"query","type":"string","default":"","displayOptions":{"show":{"resource":["document"],"operation":["query"]}},"description":"JSON query to execute","required":true,"placeholder":"{\"structuredQuery\": {\"where\": {\"fieldFilter\": {\"field\": {\"fieldPath\": \"age\"},\"op\": \"EQUAL\", \"value\": {\"integerValue\": 28}}}, \"from\": [{\"collectionId\": \"users-collection\"}]}}"},{"displayName":"Simplify","name":"simple","type":"boolean","displayOptions":{"show":{"operation":["query"],"resource":["document"]}},"default":true,"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["collection"]}},"options":[{"name":"Get Many","value":"getAll","description":"Get many root collections","action":"Get many collections"}],"default":"getAll"},{"displayName":"Project Name or ID","name":"projectId","type":"options","default":"","typeOptions":{"loadOptionsMethod":"getProjects"},"displayOptions":{"show":{"resource":["collection"],"operation":["getAll"]}},"description":"As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true},{"displayName":"Database","name":"database","type":"string","default":"(default)","displayOptions":{"show":{"resource":["collection"],"operation":["getAll"]}},"description":"Usually the provided default value will work","required":true},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"displayOptions":{"show":{"resource":["collection"],"operation":["getAll"]}},"description":"Whether to return all results or only up to a given limit","required":true},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"resource":["collection"],"operation":["getAll"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"}],"codex":{"categories":["Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlecloudfirestore/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Firebase/CloudFirestore/googleFirebaseCloudFirestore.png"},
|
|
148
148
|
{"displayName":"Google Cloud Realtime Database","name":"n8n-nodes-base.googleFirebaseRealtimeDatabase","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"]}}","description":"Interact with Google Firebase - Realtime Database API","defaults":{"name":"Google Cloud Realtime Database"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleFirebaseRealtimeDatabaseOAuth2Api"}],"properties":[{"displayName":"Project Name or ID","name":"projectId","type":"options","default":"","typeOptions":{"loadOptionsMethod":"getProjects"},"description":"As displayed in firebase console URL. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Create","value":"create","description":"Write data to a database","action":"Write data to a database"},{"name":"Delete","value":"delete","description":"Delete data from a database","action":"Delete data from a database"},{"name":"Get","value":"get","description":"Get a record from a database","action":"Get a record from a database"},{"name":"Push","value":"push","description":"Append to a list of data","action":"Append to a list of data"},{"name":"Update","value":"update","description":"Update item on a database","action":"Update item in a database"}],"default":"create","required":true},{"displayName":"Object Path","name":"path","type":"string","default":"","placeholder":"e.g. /app/users","description":"Object path on database. Do not append .json.","required":true,"displayOptions":{"hide":{"operation":["get"]}}},{"displayName":"Object Path","name":"path","type":"string","default":"","placeholder":"e.g. /app/users","description":"Object path on database. Do not append .json.","hint":"Leave blank to get a whole database object","displayOptions":{"show":{"operation":["get"]}}},{"displayName":"Columns / Attributes","name":"attributes","type":"string","default":"","displayOptions":{"show":{"operation":["create","push","update"]}},"description":"Attributes to save","required":true,"placeholder":"age, name, city"}],"codex":{"categories":["Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlecloudrealtimedatabase/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Firebase/RealtimeDatabase/googleFirebaseRealtimeDatabase.svg"},
|
|
149
149
|
{"displayName":"Gmail","name":"n8n-nodes-base.gmail","group":["transform"],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume the Gmail API","defaultVersion":2,"version":1,"defaults":{"name":"Gmail"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"gmailOAuth2","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","options":[{"name":"OAuth2 (recommended)","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Draft","value":"draft"},{"name":"Label","value":"label"},{"name":"Message","value":"message"},{"name":"Message Label","value":"messageLabel"}],"default":"draft"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["draft"]}},"options":[{"name":"Create","value":"create","action":"Create a draft"},{"name":"Delete","value":"delete","action":"Delete a draft"},{"name":"Get","value":"get","action":"Get a draft"},{"name":"Get Many","value":"getAll","action":"Get many drafts"}],"default":"create"},{"displayName":"Draft ID","name":"messageId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["draft"],"operation":["delete","get"]}},"placeholder":"r-3254521568507167962"},{"displayName":"Subject","name":"subject","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["draft"],"operation":["create"]}},"placeholder":"Hello World!"},{"displayName":"HTML","name":"includeHtml","type":"boolean","displayOptions":{"show":{"resource":["draft"],"operation":["create"]}},"default":false,"description":"Whether the message should also be included as HTML"},{"displayName":"HTML Message","name":"htmlMessage","type":"string","default":"","required":true,"displayOptions":{"show":{"includeHtml":[true],"resource":["draft"],"operation":["create"]}},"description":"The HTML message body"},{"displayName":"Message","name":"message","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["draft"],"operation":["create"]}},"placeholder":"Hello World!","description":"The message body. If HTML formatted, then you have to add and activate the option \"HTML content\" in the \"Additional Options\" section."},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"resource":["draft"],"operation":["create"]}},"default":{},"options":[{"displayName":"To Email","name":"toList","type":"string","default":[],"typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add To Email"},"placeholder":"info@example.com","description":"The email addresses of the recipients"},{"displayName":"CC Email","name":"ccList","type":"string","description":"The email addresses of the copy recipients","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add CC Email"},"placeholder":"info@example.com","default":[]},{"displayName":"BCC Email","name":"bccList","type":"string","description":"The email addresses of the blind copy recipients","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add BCC Email"},"placeholder":"info@example.com","default":[]},{"displayName":"Attachment","name":"attachmentsUi","placeholder":"Add Attachment","type":"fixedCollection","typeOptions":{"multipleValues":true},"options":[{"name":"attachmentsBinary","displayName":"Attachment Binary","values":[{"displayName":"Attachment Field Name (in Input)","name":"property","type":"string","default":"","description":"Name of the binary property containing the data to be added to the email as an attachment. Multiple properties can be set separated by comma."}]}],"default":{},"description":"Array of supported attachments to add to the message"}]},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"resource":["draft"],"operation":["get"]}},"default":{},"options":[{"displayName":"Attachment Prefix","name":"dataPropertyAttachmentsPrefixName","type":"string","default":"attachment_","displayOptions":{"hide":{"format":["full","metadata","minimal","raw"]}},"description":"Prefix for name of the binary property to which to write the attachments. An index starting with 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\""},{"displayName":"Format","name":"format","type":"options","options":[{"name":"Full","value":"full","description":"Returns the full email message data with body content parsed in the payload field"},{"name":"Metadata","value":"metadata","description":"Returns only email message ID, labels, and email headers"},{"name":"Minimal","value":"minimal","description":"Returns only email message ID and labels; does not return the email headers, body, or payload"},{"name":"RAW","value":"raw","description":"Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used"},{"name":"Resolved","value":"resolved","description":"Returns the full email with all data resolved and attachments saved as binary data"}],"default":"resolved","description":"The format to return the message in"}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["draft"]}},"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":["draft"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":10,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["getAll"],"resource":["draft"]}},"options":[{"displayName":"Attachment Prefix","name":"dataPropertyAttachmentsPrefixName","type":"string","default":"attachment_","displayOptions":{"hide":{"format":["full","ids","metadata","minimal","raw"]}},"description":"Prefix for name of the binary property to which to write the attachments. An index starting with 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\""},{"displayName":"Format","name":"format","type":"options","options":[{"name":"Full","value":"full","description":"Returns the full email message data with body content parsed in the payload field"},{"name":"IDs","value":"ids","description":"Returns only the IDs of the emails"},{"name":"Metadata","value":"metadata","description":"Returns only email message ID, labels, and email headers"},{"name":"Minimal","value":"minimal","description":"Returns only email message ID and labels; does not return the email headers, body, or payload"},{"name":"RAW","value":"raw","description":"Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used"},{"name":"Resolved","value":"resolved","description":"Returns the full email with all data resolved and attachments saved as binary data"}],"default":"resolved","description":"The format to return the message in"},{"displayName":"Include Spam and Trash","name":"includeSpamTrash","type":"boolean","default":false,"description":"Whether to include messages from SPAM and TRASH in the results"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["label"]}},"options":[{"name":"Create","value":"create","action":"Create a label"},{"name":"Delete","value":"delete","action":"Delete a label"},{"name":"Get","value":"get","action":"Get a label"},{"name":"Get Many","value":"getAll","action":"Get many labels"}],"default":"create"},{"displayName":"Name","name":"name","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["label"],"operation":["create"]}},"placeholder":"invoices","description":"Label Name"},{"displayName":"Label ID","name":"labelId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["label"],"operation":["get","delete"]}},"description":"The ID of the label"},{"displayName":"Label List Visibility","name":"labelListVisibility","type":"options","options":[{"name":"Hide","value":"labelHide"},{"name":"Show","value":"labelShow"},{"name":"Show If Unread","value":"labelShowIfUnread"}],"default":"labelShow","required":true,"displayOptions":{"show":{"resource":["label"],"operation":["create"]}},"description":"The visibility of the label in the label list in the Gmail web interface"},{"displayName":"Message List Visibility","name":"messageListVisibility","type":"options","options":[{"name":"Hide","value":"hide"},{"name":"Show","value":"show"}],"default":"show","required":true,"displayOptions":{"show":{"resource":["label"],"operation":["create"]}},"description":"The visibility of messages with this label in the message list in the Gmail web interface"},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["label"]}},"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":["label"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":50,"description":"Max number of results to return"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["message"]}},"options":[{"name":"Delete","value":"delete","action":"Delete a message"},{"name":"Get","value":"get","action":"Get a message"},{"name":"Get Many","value":"getAll","action":"Get many messages"},{"name":"Reply","value":"reply","action":"Reply to a message"},{"name":"Send","value":"send","action":"Send a message"}],"default":"send"},{"displayName":"Message ID","name":"messageId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["message"],"operation":["get","delete"]}},"placeholder":"172ce2c4a72cc243"},{"displayName":"Thread ID","name":"threadId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["message"],"operation":["reply"]}},"placeholder":"172ce2c4a72cc243"},{"displayName":"Message ID","name":"messageId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["message"],"operation":["reply"]}},"placeholder":"CAHNQoFsC6JMMbOBJgtjsqN0eEc+gDg2a=SQj-tWUebQeHMDgqQ@mail.gmail.com"},{"displayName":"Subject","name":"subject","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["message"],"operation":["reply","send"]}},"placeholder":"Hello World!"},{"displayName":"HTML","name":"includeHtml","type":"boolean","displayOptions":{"show":{"resource":["message"],"operation":["send","reply"]}},"default":false,"description":"Whether the message should also be included as HTML"},{"displayName":"HTML Message","name":"htmlMessage","type":"string","default":"","required":true,"displayOptions":{"show":{"includeHtml":[true],"resource":["message"],"operation":["reply","send"]}},"description":"The HTML message body"},{"displayName":"Message","name":"message","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["message"],"operation":["reply","send"]}},"description":"Plain text message body"},{"displayName":"To Email","name":"toList","type":"string","default":[],"required":true,"typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add To Email"},"displayOptions":{"show":{"resource":["message"],"operation":["reply","send"]}},"placeholder":"info@example.com","description":"The email addresses of the recipients"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"resource":["message"],"operation":["send","reply"]}},"default":{},"options":[{"displayName":"Attachment","name":"attachmentsUi","placeholder":"Add Attachment","type":"fixedCollection","typeOptions":{"multipleValues":true},"options":[{"name":"attachmentsBinary","displayName":"Attachment Binary","values":[{"displayName":"Attachment Field Name (in Input)","name":"property","type":"string","default":"","description":"Add the field name from the input node. Multiple properties can be set separated by comma."}]}],"default":{},"description":"Array of supported attachments to add to the message"},{"displayName":"BCC Email","name":"bccList","type":"string","description":"The email addresses of the blind copy recipients","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add BCC Email"},"placeholder":"info@example.com","default":[]},{"displayName":"CC Email","name":"ccList","type":"string","description":"The email addresses of the copy recipients","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add CC Email"},"placeholder":"info@example.com","default":[]},{"displayName":"Override Sender Name","name":"senderName","type":"string","placeholder":"Name <test@gmail.com>","default":"","description":"The name displayed in your contacts inboxes. It has to be in the format: \"Display-Name <name@gmail.com>\". The email address has to match the email address of the logged in user for the API."}]},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","displayOptions":{"show":{"resource":["message"],"operation":["get"]}},"default":{},"options":[{"displayName":"Format","name":"format","type":"options","options":[{"name":"Full","value":"full","description":"Returns the full email message data with body content parsed in the payload field"},{"name":"Metadata","value":"metadata","description":"Returns only email message ID, labels, and email headers"},{"name":"Minimal","value":"minimal","description":"Returns only email message ID and labels; does not return the email headers, body, or payload"},{"name":"RAW","value":"raw","description":"Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used"},{"name":"Resolved","value":"resolved","description":"Returns the full email with all data resolved and attachments saved as binary data"}],"default":"resolved","description":"The format to return the message in"},{"displayName":"Attachment Prefix","name":"dataPropertyAttachmentsPrefixName","type":"string","default":"attachment_","displayOptions":{"hide":{"format":["full","metadata","minimal","raw"]}},"description":"Prefix for name of the binary property to which to write the attachments. An index starting with 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\""}]},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["message"]}},"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":["message"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":10,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["getAll"],"resource":["message"]}},"options":[{"displayName":"Attachment Prefix","name":"dataPropertyAttachmentsPrefixName","type":"string","default":"attachment_","displayOptions":{"hide":{"format":["full","ids","metadata","minimal","raw"]}},"description":"Prefix for name of the binary property to which to write the attachment. An index starting with 0 will be added. So if name is \"attachment_\" the first attachment is saved to \"attachment_0\"."},{"displayName":"Format","name":"format","type":"options","options":[{"name":"Full","value":"full","description":"Returns the full email message data with body content parsed in the payload field"},{"name":"IDs","value":"ids","description":"Returns only the IDs of the emails"},{"name":"Metadata","value":"metadata","description":"Returns only email message ID, labels, and email headers"},{"name":"Minimal","value":"minimal","description":"Returns only email message ID and labels; does not return the email headers, body, or payload"},{"name":"RAW","value":"raw","description":"Returns the full email message data with body content in the raw field as a base64url encoded string; the payload field is not used"},{"name":"Resolved","value":"resolved","description":"Returns the full email with all data resolved and attachments saved as binary data"}],"default":"resolved","description":"The format to return the message in"},{"displayName":"Include Spam and Trash","name":"includeSpamTrash","type":"boolean","default":false,"description":"Whether to include messages from SPAM and TRASH in the results"},{"displayName":"Label Names or IDs","name":"labelIds","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getLabels"},"default":[],"description":"Only return messages with labels that match all of the specified label IDs. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Query","name":"q","type":"string","default":"","description":"Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid:<somemsgid@example.com> is:unread\". Parameter cannot be used when accessing the api using the gmail.metadata scope."}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["messageLabel"]}},"options":[{"name":"Add","value":"add","action":"Add a label to a message"},{"name":"Remove","value":"remove","action":"Remove a label from a message"}],"default":"add"},{"displayName":"Message ID","name":"messageId","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["messageLabel"],"operation":["add","remove"]}},"placeholder":"172ce2c4a72cc243"},{"displayName":"Label Names or IDs","name":"labelIds","type":"multiOptions","typeOptions":{"loadOptionsMethod":"getLabels"},"default":[],"required":true,"displayOptions":{"show":{"resource":["messageLabel"],"operation":["add","remove"]}},"description":"The ID of the label. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Gmail/gmail.svg"},
|
|
@@ -153,9 +153,9 @@
|
|
|
153
153
|
{"displayName":"Google Perspective","name":"n8n-nodes-base.googlePerspective","group":["transform"],"version":1,"description":"Consume Google Perspective API","subtitle":"={{$parameter[\"operation\"]}}","defaults":{"name":"Google Perspective"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googlePerspectiveOAuth2Api","required":true}],"properties":[{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Analyze Comment","value":"analyzeComment"}],"default":"analyzeComment"},{"displayName":"Text","name":"text","type":"string","default":"","required":true,"displayOptions":{"show":{"operation":["analyzeComment"]}}},{"displayName":"Attributes to Analyze","name":"requestedAttributesUi","type":"fixedCollection","default":{},"typeOptions":{"multipleValues":true},"placeholder":"Add Atrribute","required":true,"displayOptions":{"show":{"operation":["analyzeComment"]}},"options":[{"displayName":"Properties","name":"requestedAttributesValues","values":[{"displayName":"Attribute Name","name":"attributeName","type":"options","options":[{"name":"Flirtation","value":"flirtation"},{"name":"Identity Attack","value":"identity_attack"},{"name":"Insult","value":"insult"},{"name":"Profanity","value":"profanity"},{"name":"Severe Toxicity","value":"severe_toxicity"},{"name":"Sexually Explicit","value":"sexually_explicit"},{"name":"Threat","value":"threat"},{"name":"Toxicity","value":"toxicity"}],"description":"Attribute to analyze in the text. Details <a href=\"https://developers.perspectiveapi.com/s/about-the-api-attributes-and-languages\">here</a>.","default":"flirtation"},{"displayName":"Score Threshold","name":"scoreThreshold","type":"number","typeOptions":{"numberPrecision":2,"minValue":0,"maxValue":1},"description":"Score above which to return results. At zero, all scores are returned.","default":0}]}]},{"displayName":"Options","name":"options","type":"collection","displayOptions":{"show":{"operation":["analyzeComment"]}},"default":{},"placeholder":"Add Option","options":[{"displayName":"Language Name or ID","name":"languages","type":"options","typeOptions":{"loadOptionsMethod":"getLanguages"},"default":"","description":"Languages of the text input. If unspecified, the API will auto-detect the comment language. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."}]}],"codex":{"categories":["Analytics","Utility"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googleperspective/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]},"alias":["Moderation"]},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Perspective/perspective.svg"},
|
|
154
154
|
{"displayName":"Google Sheets ","name":"n8n-nodes-base.googleSheets","group":["input","output"],"defaultVersion":4,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Read, update and write data to Google Sheets","version":[1,2],"defaults":{"name":"Google Sheets"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}},"testedBy":"googleApiCredentialTest"},{"name":"googleSheetsOAuth2Api","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","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":"Spreadsheet","value":"spreadsheet"},{"name":"Sheet","value":"sheet"}],"default":"sheet"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["sheet"]}},"options":[{"name":"Append","value":"append","description":"Append data to a sheet","action":"Append data to a sheet"},{"name":"Clear","value":"clear","description":"Clear data from a sheet","action":"Clear a sheet"},{"name":"Create","value":"create","description":"Create a new sheet","action":"Create a sheet"},{"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 sheet"},{"name":"Delete","value":"delete","description":"Delete columns and rows from a sheet","action":"Delete a sheet"},{"name":"Lookup","value":"lookup","description":"Look up a specific column value and return the matching row","action":"Look up a column value in a sheet"},{"name":"Read","value":"read","description":"Read data from a sheet","action":"Read a sheet"},{"name":"Remove","value":"remove","description":"Remove a sheet","action":"Remove a sheet"},{"name":"Update","value":"update","description":"Update rows in a sheet","action":"Update a sheet"}],"default":"read"},{"displayName":"Spreadsheet ID","name":"sheetId","type":"string","displayOptions":{"show":{"resource":["sheet"]}},"default":"","required":true,"description":"The ID of the Google Spreadsheet. Found as part of the sheet URL https://docs.google.com/spreadsheets/d/{ID}/."},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"resource":["sheet"]},"hide":{"operation":["create","delete","remove"]}},"default":"A:F","required":true,"description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details. If it contains multiple sheets it can also be added like this: \"MySheet!A:F\""},{"displayName":"To Delete","name":"toDelete","placeholder":"Add Columns/Rows to delete","description":"Deletes columns and rows from a sheet","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"]}},"default":{},"options":[{"displayName":"Columns","name":"columns","values":[{"displayName":"Sheet Name or ID","name":"sheetId","type":"options","typeOptions":{"loadOptionsMethod":"getSheets"},"options":[],"default":"","required":true,"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Start Index","name":"startIndex","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The start index (0 based and inclusive) of column to delete"},{"displayName":"Amount","name":"amount","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Number of columns to delete"}]},{"displayName":"Rows","name":"rows","values":[{"displayName":"Sheet Name or ID","name":"sheetId","type":"options","typeOptions":{"loadOptionsMethod":"getSheets"},"options":[],"default":"","required":true,"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Start Index","name":"startIndex","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The start index (0 based and inclusive) of row to delete"},{"displayName":"Amount","name":"amount","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Number of rows to delete"}]}]},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"resource":["sheet"],"operation":["read"]}},"default":false,"description":"Whether the data should be returned RAW instead of parsed into keys according to their header"},{"displayName":"Data Property","name":"dataProperty","type":"string","default":"data","displayOptions":{"show":{"resource":["sheet"],"operation":["read"],"rawData":[true]}},"description":"The name of the property into which to write the RAW data"},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"resource":["sheet"],"operation":["update","upsert"]}},"default":false,"description":"Whether the data supplied is RAW instead of parsed into keys"},{"displayName":"Data Property","name":"dataProperty","type":"string","default":"data","displayOptions":{"show":{"resource":["sheet"],"operation":["update","upsert"],"rawData":[true]}},"description":"The name of the property from which to read the RAW data"},{"displayName":"Data Start Row","name":"dataStartRow","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"]},"hide":{"operation":["append","create","clear","delete","remove"],"rawData":[true]}},"description":"Index of the first row which contains the actual data and not the keys. Starts with 0."},{"displayName":"Key Row","name":"keyRow","type":"number","typeOptions":{"minValue":0},"displayOptions":{"show":{"resource":["sheet"]},"hide":{"operation":["clear","create","delete","remove"],"rawData":[true]}},"default":0,"description":"Index of the row which contains the keys. Starts at 0. The incoming node data is matched to the keys for assignment. The matching is case sensitive."},{"displayName":"Lookup Column","name":"lookupColumn","type":"string","default":"","placeholder":"Email","required":true,"displayOptions":{"show":{"resource":["sheet"],"operation":["lookup"]}},"description":"The name of the column in which to look for value"},{"displayName":"Lookup Value","name":"lookupValue","type":"string","default":"","placeholder":"frank@example.com","displayOptions":{"show":{"resource":["sheet"],"operation":["lookup"]}},"description":"The value to look for in column"},{"displayName":"Key","name":"key","type":"string","default":"id","displayOptions":{"show":{"resource":["sheet"],"operation":["update","upsert"],"rawData":[false]}},"description":"The name of the key to identify which data should be updated in the sheet"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["append","lookup","read","update","upsert"]}},"options":[{"displayName":"Continue If Empty","name":"continue","type":"boolean","default":false,"displayOptions":{"show":{"/operation":["lookup","read"]}},"description":"By default, the workflow stops executing if the lookup/read does not return values"},{"displayName":"Return All Matches","name":"returnAllMatches","type":"boolean","default":false,"displayOptions":{"show":{"/operation":["lookup"]}},"description":"By default only the first result gets returned. If options gets set all found matches get returned."},{"displayName":"Use Header Names as JSON Paths","name":"usePathForKeyRow","type":"boolean","default":false,"displayOptions":{"show":{"/operation":["append"]}},"description":"Whether you want to match the headers as path, for example, the row header \"category.name\" will match the \"category\" object and get the field \"name\" from it. By default \"category.name\" will match with the field with exact name, not nested object."},{"displayName":"Value Input Mode","name":"valueInputMode","type":"options","displayOptions":{"show":{"/operation":["append","update","upsert"]}},"options":[{"name":"RAW","value":"RAW","description":"The values will not be parsed and will be stored as-is"},{"name":"User Entered","value":"USER_ENTERED","description":"The values will be parsed as if the user typed them into the UI. Numbers will stay as numbers, but strings may be converted to numbers, dates, etc. following the same rules that are applied when entering text into a cell via the Google Sheets UI."}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Value Render Mode","name":"valueRenderMode","type":"options","displayOptions":{"show":{"/operation":["lookup","read"]}},"options":[{"name":"Formatted Value","value":"FORMATTED_VALUE","description":"Values will be calculated & formatted in the reply according to the cell's formatting.Formatting is based on the spreadsheet's locale, not the requesting user's locale.For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return \"$1.23\""},{"name":"Formula","value":"FORMULA","description":"Values will not be calculated. The reply will include the formulas. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return \"=A1\"."},{"name":"Unformatted Value","value":"UNFORMATTED_VALUE","description":"Values will be calculated, but not formatted in the reply. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return the number 1.23."}],"default":"UNFORMATTED_VALUE","description":"Determines how values should be rendered in the output"},{"displayName":"Value Render Mode","name":"valueRenderMode","type":"options","displayOptions":{"show":{"/operation":["update","upsert"],"/rawData":[false]}},"options":[{"name":"Formatted Value","value":"FORMATTED_VALUE","description":"Values will be calculated & formatted in the reply according to the cell's formatting.Formatting is based on the spreadsheet's locale, not the requesting user's locale. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return \"$1.23\"."},{"name":"Formula","value":"FORMULA","description":"Values will not be calculated. The reply will include the formulas. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return \"=A1\"."},{"name":"Unformatted Value","value":"UNFORMATTED_VALUE","description":"Values will be calculated, but not formatted in the reply. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return the number 1.23."}],"default":"UNFORMATTED_VALUE","description":"Determines how values should be rendered in the output"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["spreadsheet"]}},"options":[{"name":"Create","value":"create","description":"Create a spreadsheet","action":"Create a spreadsheet"}],"default":"create"},{"displayName":"Title","name":"title","type":"string","default":"","displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"description":"The title of the spreadsheet"},{"displayName":"Sheets","name":"sheetsUi","placeholder":"Add Sheet","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"options":[{"name":"sheetValues","displayName":"Sheet","values":[{"displayName":"Sheet Properties","name":"propertiesUi","placeholder":"Add Property","type":"collection","default":{},"options":[{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the Sheet should be hidden in the UI"},{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the property to create"}]}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"options":[{"displayName":"Locale","name":"locale","type":"string","default":"","placeholder":"en_US","description":"The locale of the spreadsheet in one of the following formats:\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li>en (639-1)</li>\n\t\t\t\t\t\t<li>fil (639-2 if no 639-1 format exists)</li>\n\t\t\t\t\t\t<li>en_US (combination of ISO language an country)</li>\n\t\t\t\t\t<ul>"},{"displayName":"Recalculation Interval","name":"autoRecalc","type":"options","options":[{"name":"Default","value":"","description":"Default value"},{"name":"On Change","value":"ON_CHANGE","description":"Volatile functions are updated on every change"},{"name":"Minute","value":"MINUTE","description":"Volatile functions are updated on every change and every minute"},{"name":"Hour","value":"HOUR","description":"Volatile functions are updated on every change and hourly"}],"default":"","description":"Cell recalculation interval options"}]},{"displayName":"Simplify","name":"simple","type":"boolean","default":true,"displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"options":[{"displayName":"Grid Properties","name":"gridProperties","type":"collection","placeholder":"Add Property","default":{},"options":[{"displayName":"Column Count","name":"columnCount","type":"number","default":0,"description":"The number of columns in the grid"},{"displayName":"Column Group Control After","name":"columnGroupControlAfter","type":"boolean","default":false,"description":"Whether the column grouping control toggle is shown after the group"},{"displayName":"Frozen Column Count","name":"frozenColumnCount","type":"number","default":0,"description":"The number of columns that are frozen in the grid"},{"displayName":"Frozen Row Count","name":"frozenRowCount","type":"number","default":0,"description":"The number of rows that are frozen in the grid"},{"displayName":"Hide Gridlines","name":"hideGridlines","type":"boolean","default":false,"description":"Whether the grid isn't showing gridlines in the UI"},{"displayName":"Row Count","name":"rowCount","type":"number","default":0,"description":"The number of rows in the grid"},{"displayName":"Row Group Control After","name":"rowGroupControlAfter","type":"boolean","default":false,"description":"Whether the row grouping control toggle is shown after the group"}],"description":"The type of the sheet"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the sheet is hidden in the UI, false if it's visible"},{"displayName":"Right To Left","name":"rightToLeft","type":"boolean","default":false,"description":"Whether the sheet is an RTL sheet instead of an LTR sheet"},{"displayName":"Sheet ID","name":"sheetId","type":"number","default":0,"description":"The ID of the sheet. Must be non-negative. This field cannot be changed once set."},{"displayName":"Sheet Index","name":"index","type":"number","default":0,"description":"The index of the sheet within the spreadsheet"},{"displayName":"Tab Color","name":"tabColor","type":"color","default":"0aa55c","description":"The color of the tab in the UI"},{"displayName":"Title","name":"title","type":"string","default":"","description":"The Sheet name"}]},{"displayName":"Sheet ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["sheet"],"operation":["remove"]}},"description":"The ID of the sheet to delete"}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Sheet/googleSheets.svg"},
|
|
155
155
|
{"displayName":"Google Sheets ","name":"n8n-nodes-base.googleSheets","group":["input","output"],"defaultVersion":4,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Read, update and write data to Google Sheets","version":[1,2],"defaults":{"name":"Google Sheets"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}},"testedBy":"googleApiCredentialTest"},{"name":"googleSheetsOAuth2Api","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","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":"Spreadsheet","value":"spreadsheet"},{"name":"Sheet","value":"sheet"}],"default":"sheet"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["sheet"]}},"options":[{"name":"Append","value":"append","description":"Append data to a sheet","action":"Append data to a sheet"},{"name":"Clear","value":"clear","description":"Clear data from a sheet","action":"Clear a sheet"},{"name":"Create","value":"create","description":"Create a new sheet","action":"Create a sheet"},{"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 sheet"},{"name":"Delete","value":"delete","description":"Delete columns and rows from a sheet","action":"Delete a sheet"},{"name":"Lookup","value":"lookup","description":"Look up a specific column value and return the matching row","action":"Look up a column value in a sheet"},{"name":"Read","value":"read","description":"Read data from a sheet","action":"Read a sheet"},{"name":"Remove","value":"remove","description":"Remove a sheet","action":"Remove a sheet"},{"name":"Update","value":"update","description":"Update rows in a sheet","action":"Update a sheet"}],"default":"read"},{"displayName":"Spreadsheet ID","name":"sheetId","type":"string","displayOptions":{"show":{"resource":["sheet"]}},"default":"","required":true,"description":"The ID of the Google Spreadsheet. Found as part of the sheet URL https://docs.google.com/spreadsheets/d/{ID}/."},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"resource":["sheet"]},"hide":{"operation":["create","delete","remove"]}},"default":"A:F","required":true,"description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details. If it contains multiple sheets it can also be added like this: \"MySheet!A:F\""},{"displayName":"To Delete","name":"toDelete","placeholder":"Add Columns/Rows to delete","description":"Deletes columns and rows from a sheet","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"]}},"default":{},"options":[{"displayName":"Columns","name":"columns","values":[{"displayName":"Sheet Name or ID","name":"sheetId","type":"options","typeOptions":{"loadOptionsMethod":"getSheets"},"options":[],"default":"","required":true,"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Start Index","name":"startIndex","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The start index (0 based and inclusive) of column to delete"},{"displayName":"Amount","name":"amount","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Number of columns to delete"}]},{"displayName":"Rows","name":"rows","values":[{"displayName":"Sheet Name or ID","name":"sheetId","type":"options","typeOptions":{"loadOptionsMethod":"getSheets"},"options":[],"default":"","required":true,"description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Start Index","name":"startIndex","type":"number","typeOptions":{"minValue":0},"default":0,"description":"The start index (0 based and inclusive) of row to delete"},{"displayName":"Amount","name":"amount","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Number of rows to delete"}]}]},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"resource":["sheet"],"operation":["read"]}},"default":false,"description":"Whether the data should be returned RAW instead of parsed into keys according to their header"},{"displayName":"Data Property","name":"dataProperty","type":"string","default":"data","displayOptions":{"show":{"resource":["sheet"],"operation":["read"],"rawData":[true]}},"description":"The name of the property into which to write the RAW data"},{"displayName":"RAW Data","name":"rawData","type":"boolean","displayOptions":{"show":{"resource":["sheet"],"operation":["update","upsert"]}},"default":false,"description":"Whether the data supplied is RAW instead of parsed into keys"},{"displayName":"Data Property","name":"dataProperty","type":"string","default":"data","displayOptions":{"show":{"resource":["sheet"],"operation":["update","upsert"],"rawData":[true]}},"description":"The name of the property from which to read the RAW data"},{"displayName":"Data Start Row","name":"dataStartRow","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"]},"hide":{"operation":["append","create","clear","delete","remove"],"rawData":[true]}},"description":"Index of the first row which contains the actual data and not the keys. Starts with 0."},{"displayName":"Key Row","name":"keyRow","type":"number","typeOptions":{"minValue":0},"displayOptions":{"show":{"resource":["sheet"]},"hide":{"operation":["clear","create","delete","remove"],"rawData":[true]}},"default":0,"description":"Index of the row which contains the keys. Starts at 0. The incoming node data is matched to the keys for assignment. The matching is case sensitive."},{"displayName":"Lookup Column","name":"lookupColumn","type":"string","default":"","placeholder":"Email","required":true,"displayOptions":{"show":{"resource":["sheet"],"operation":["lookup"]}},"description":"The name of the column in which to look for value"},{"displayName":"Lookup Value","name":"lookupValue","type":"string","default":"","placeholder":"frank@example.com","displayOptions":{"show":{"resource":["sheet"],"operation":["lookup"]}},"description":"The value to look for in column"},{"displayName":"Key","name":"key","type":"string","default":"id","displayOptions":{"show":{"resource":["sheet"],"operation":["update","upsert"],"rawData":[false]}},"description":"The name of the key to identify which data should be updated in the sheet"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["append","lookup","read","update","upsert"]}},"options":[{"displayName":"Continue If Empty","name":"continue","type":"boolean","default":false,"displayOptions":{"show":{"/operation":["lookup","read"]}},"description":"By default, the workflow stops executing if the lookup/read does not return values"},{"displayName":"Return All Matches","name":"returnAllMatches","type":"boolean","default":false,"displayOptions":{"show":{"/operation":["lookup"]}},"description":"By default only the first result gets returned. If options gets set all found matches get returned."},{"displayName":"Use Header Names as JSON Paths","name":"usePathForKeyRow","type":"boolean","default":false,"displayOptions":{"show":{"/operation":["append"]}},"description":"Whether you want to match the headers as path, for example, the row header \"category.name\" will match the \"category\" object and get the field \"name\" from it. By default \"category.name\" will match with the field with exact name, not nested object."},{"displayName":"Value Input Mode","name":"valueInputMode","type":"options","displayOptions":{"show":{"/operation":["append","update","upsert"]}},"options":[{"name":"RAW","value":"RAW","description":"The values will not be parsed and will be stored as-is"},{"name":"User Entered","value":"USER_ENTERED","description":"The values will be parsed as if the user typed them into the UI. Numbers will stay as numbers, but strings may be converted to numbers, dates, etc. following the same rules that are applied when entering text into a cell via the Google Sheets UI."}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Value Render Mode","name":"valueRenderMode","type":"options","displayOptions":{"show":{"/operation":["lookup","read"]}},"options":[{"name":"Formatted Value","value":"FORMATTED_VALUE","description":"Values will be calculated & formatted in the reply according to the cell's formatting.Formatting is based on the spreadsheet's locale, not the requesting user's locale.For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return \"$1.23\""},{"name":"Formula","value":"FORMULA","description":"Values will not be calculated. The reply will include the formulas. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return \"=A1\"."},{"name":"Unformatted Value","value":"UNFORMATTED_VALUE","description":"Values will be calculated, but not formatted in the reply. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return the number 1.23."}],"default":"UNFORMATTED_VALUE","description":"Determines how values should be rendered in the output"},{"displayName":"Value Render Mode","name":"valueRenderMode","type":"options","displayOptions":{"show":{"/operation":["update","upsert"],"/rawData":[false]}},"options":[{"name":"Formatted Value","value":"FORMATTED_VALUE","description":"Values will be calculated & formatted in the reply according to the cell's formatting.Formatting is based on the spreadsheet's locale, not the requesting user's locale. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return \"$1.23\"."},{"name":"Formula","value":"FORMULA","description":"Values will not be calculated. The reply will include the formulas. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return \"=A1\"."},{"name":"Unformatted Value","value":"UNFORMATTED_VALUE","description":"Values will be calculated, but not formatted in the reply. For example, if A1 is 1.23 and A2 is =A1 and formatted as currency, then A2 would return the number 1.23."}],"default":"UNFORMATTED_VALUE","description":"Determines how values should be rendered in the output"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["spreadsheet"]}},"options":[{"name":"Create","value":"create","description":"Create a spreadsheet","action":"Create a spreadsheet"}],"default":"create"},{"displayName":"Title","name":"title","type":"string","default":"","displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"description":"The title of the spreadsheet"},{"displayName":"Sheets","name":"sheetsUi","placeholder":"Add Sheet","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"options":[{"name":"sheetValues","displayName":"Sheet","values":[{"displayName":"Sheet Properties","name":"propertiesUi","placeholder":"Add Property","type":"collection","default":{},"options":[{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the Sheet should be hidden in the UI"},{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the property to create"}]}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"options":[{"displayName":"Locale","name":"locale","type":"string","default":"","placeholder":"en_US","description":"The locale of the spreadsheet in one of the following formats:\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li>en (639-1)</li>\n\t\t\t\t\t\t<li>fil (639-2 if no 639-1 format exists)</li>\n\t\t\t\t\t\t<li>en_US (combination of ISO language an country)</li>\n\t\t\t\t\t<ul>"},{"displayName":"Recalculation Interval","name":"autoRecalc","type":"options","options":[{"name":"Default","value":"","description":"Default value"},{"name":"On Change","value":"ON_CHANGE","description":"Volatile functions are updated on every change"},{"name":"Minute","value":"MINUTE","description":"Volatile functions are updated on every change and every minute"},{"name":"Hour","value":"HOUR","description":"Volatile functions are updated on every change and hourly"}],"default":"","description":"Cell recalculation interval options"}]},{"displayName":"Simplify","name":"simple","type":"boolean","default":true,"displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"description":"Whether to return a simplified version of the response instead of the raw data"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"options":[{"displayName":"Grid Properties","name":"gridProperties","type":"collection","placeholder":"Add Property","default":{},"options":[{"displayName":"Column Count","name":"columnCount","type":"number","default":0,"description":"The number of columns in the grid"},{"displayName":"Column Group Control After","name":"columnGroupControlAfter","type":"boolean","default":false,"description":"Whether the column grouping control toggle is shown after the group"},{"displayName":"Frozen Column Count","name":"frozenColumnCount","type":"number","default":0,"description":"The number of columns that are frozen in the grid"},{"displayName":"Frozen Row Count","name":"frozenRowCount","type":"number","default":0,"description":"The number of rows that are frozen in the grid"},{"displayName":"Hide Gridlines","name":"hideGridlines","type":"boolean","default":false,"description":"Whether the grid isn't showing gridlines in the UI"},{"displayName":"Row Count","name":"rowCount","type":"number","default":0,"description":"The number of rows in the grid"},{"displayName":"Row Group Control After","name":"rowGroupControlAfter","type":"boolean","default":false,"description":"Whether the row grouping control toggle is shown after the group"}],"description":"The type of the sheet"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the sheet is hidden in the UI, false if it's visible"},{"displayName":"Right To Left","name":"rightToLeft","type":"boolean","default":false,"description":"Whether the sheet is an RTL sheet instead of an LTR sheet"},{"displayName":"Sheet ID","name":"sheetId","type":"number","default":0,"description":"The ID of the sheet. Must be non-negative. This field cannot be changed once set."},{"displayName":"Sheet Index","name":"index","type":"number","default":0,"description":"The index of the sheet within the spreadsheet"},{"displayName":"Tab Color","name":"tabColor","type":"color","default":"0aa55c","description":"The color of the tab in the UI"},{"displayName":"Title","name":"title","type":"string","default":"","description":"The Sheet name"}]},{"displayName":"Sheet ID","name":"id","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["sheet"],"operation":["remove"]}},"description":"The ID of the sheet to delete"}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Sheet/googleSheets.svg"},
|
|
156
|
-
{"displayName":"Google Sheets","name":"n8n-nodes-base.googleSheets","group":["input","output"],"defaultVersion":4,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Read, update and write data to Google Sheets","version":[3,4],"defaults":{"name":"Google Sheets"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}},"testedBy":"googleApiCredentialTest"},{"name":"googleSheetsOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Service Account","value":"serviceAccount"},{"name":"OAuth2 (recommended)","value":"oAuth2"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Document","value":"spreadsheet"},{"name":"Sheet Within Document","value":"sheet"}],"default":"sheet"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["sheet"]}},"options":[{"name":"Append","value":"append","description":"Append data to a sheet","action":"Append data to a sheet"},{"name":"Append or Update","value":"appendOrUpdate","description":"Append a new row or update the current one if it already exists (upsert)","action":"Append or update a sheet"},{"name":"Clear","value":"clear","description":"Clear data from a sheet","action":"Clear a sheet"},{"name":"Create","value":"create","description":"Create a new sheet","action":"Create a sheet"},{"name":"Delete","value":"delete","description":"Delete columns and rows from a sheet","action":"Delete a sheet"},{"name":"Read Rows","value":"read","description":"Read all rows in a sheet","action":"Read all rows"},{"name":"Remove","value":"remove","description":"Remove a sheet","action":"Remove a sheet"},{"name":"Update","value":"update","description":"Update rows in a sheet","action":"Update a sheet"}],"default":"read"},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}],"displayOptions":{"show":{"resource":["sheet"]}}},{"displayName":"Sheet","name":"sheetName","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"typeOptions":{"loadOptionsDependsOn":["documentId.value"]},"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"sheetsSearch","searchable":false}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)","errorMessage":"Not a valid Sheet URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"((gid=)?[0-9]{1,})","errorMessage":"Not a valid Sheet ID"}}]}],"displayOptions":{"show":{"resource":["sheet"],"operation":["append","appendOrUpdate","clear","delete","read","remove","update"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"In this mode, make sure the incoming data is named the same as the columns in your Sheet. (Use a 'set' node before this node to change it if required.)","name":"autoMapNotice","type":"notice","default":"","displayOptions":{"show":{"operation":["append"],"dataMode":["autoMapInputData"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Fields to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Field to Send","multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","name":"fieldValues","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":""},{"displayName":"Field Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index of the row which contains the keys. Starts at 1. The incoming node data is matched to the keys for assignment. The matching is case sensitive."}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Clear","name":"clear","type":"options","options":[{"name":"Whole Sheet","value":"wholeSheet"},{"name":"Specific Rows","value":"specificRows"},{"name":"Specific Columns","value":"specificColumns"},{"name":"Specific Range","value":"specificRange"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"]},"hide":{"sheetName":[""]}},"default":"wholeSheet","description":"What to clear"},{"displayName":"Keep First Row","name":"keepFirstRow","type":"boolean","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["wholeSheet"]},"hide":{"sheetName":[""]}},"default":false},{"displayName":"Start Row Number","name":"startIndex","type":"number","typeOptions":{"minValue":1},"default":1,"description":"The row number to delete from, The first row is 1","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRows"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Rows to Delete","name":"rowsToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRows"]},"hide":{"sheetName":[""]}}},{"displayName":"Start Column","name":"startIndex","type":"string","default":"A","description":"The column to delete","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificColumns"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Columns to Delete","name":"columnsToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificColumns"]},"hide":{"sheetName":[""]}}},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRange"]},"hide":{"sheetName":[""]}},"default":"A:F","required":true,"description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details. If it contains multiple sheets it can also be added like this: \"MySheet!A:F\""},{"displayName":"Title","name":"title","type":"string","required":true,"default":"n8n-sheet","displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"description":"The name of the sheet"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"options":[{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the sheet is hidden in the UI, false if it's visible"},{"displayName":"Right To Left","name":"rightToLeft","type":"boolean","default":false,"description":"Whether the sheet is an RTL sheet instead of an LTR sheet"},{"displayName":"Sheet ID","name":"sheetId","type":"number","default":0,"description":"The ID of the sheet. Must be non-negative. This field cannot be changed once set."},{"displayName":"Sheet Index","name":"index","type":"number","default":0,"description":"The index of the sheet within the spreadsheet"},{"displayName":"Tab Color","name":"tabColor","type":"color","default":"0aa55c","description":"The color of the tab in the UI"}]},{"displayName":"To Delete","name":"toDelete","type":"options","options":[{"name":"Rows","value":"rows","description":"Rows to delete"},{"name":"Columns","value":"columns","description":"Columns to delete"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"]},"hide":{"sheetName":[""]}},"default":"rows","description":"What to delete"},{"displayName":"Start Row Number","name":"startIndex","type":"number","typeOptions":{"minValue":1},"default":2,"description":"The row number to delete from, The first row is 2","displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["rows"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Rows to Delete","name":"numberToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["rows"]},"hide":{"sheetName":[""]}}},{"displayName":"Start Column","name":"startIndex","type":"string","default":"A","description":"The column to delete","displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["columns"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Columns to Delete","name":"numberToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["columns"]},"hide":{"sheetName":[""]}}},{"displayName":"Filters","name":"filtersUI","placeholder":"Add Filter","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Filter","multipleValues":true},"default":{},"options":[{"displayName":"Filter","name":"values","values":[{"displayName":"Column","name":"lookupColumn","type":"options","typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowWithGeneratedColumnNames"},"default":"","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Value","name":"lookupValue","type":"string","default":"","hint":"The column must have this value to be matched"}]}],"displayOptions":{"show":{"resource":["sheet"],"operation":["read"]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["read"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Data Location on Sheet","name":"dataLocationOnSheet","type":"fixedCollection","placeholder":"Select Range","default":{"values":{"rangeDefinition":"detectAutomatically"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Range Definition","name":"rangeDefinition","type":"options","options":[{"name":"Detect Automatically","value":"detectAutomatically","description":"Automatically detect the data range"},{"name":"Specify Range (A1 Notation)","value":"specifyRangeA1","description":"Manually specify the data range"},{"name":"Specify Range (Rows)","value":"specifyRange","description":"Manually specify the data range"}],"default":""},{"displayName":"Read Rows Until","name":"readRowsUntil","type":"options","default":"lastRowInSheet","options":[{"name":"First Empty Row","value":"firstEmptyRow"},{"name":"Last Row In Sheet","value":"lastRowInSheet"}],"displayOptions":{"show":{"rangeDefinition":["detectAutomatically"]}}},{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"Range","name":"range","type":"string","default":"","placeholder":"A:Z","description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details.","hint":"You can specify both the rows and the columns, e.g. C4:E7","displayOptions":{"show":{"rangeDefinition":["specifyRangeA1"]}}}]}]},{"displayName":"Output Formatting","name":"outputFormatting","type":"fixedCollection","placeholder":"Add Formatting","default":{"values":{"general":"UNFORMATTED_VALUE","date":"FORMATTED_STRING"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"General Formatting","name":"general","type":"options","options":[{"name":"Values (unformatted)","value":"UNFORMATTED_VALUE","description":"Numbers stay as numbers, but any currency signs or special formatting is lost"},{"name":"Values (formatted)","value":"FORMATTED_VALUE","description":"Numbers are turned to text, and displayed as in Google Sheets (e.g. with commas or currency signs)"},{"name":"Formulas","value":"FORMULA"}],"default":"","description":"Determines how values should be rendered in the output"},{"displayName":"Date Formatting","name":"date","type":"options","default":"","options":[{"name":"Formatted Text","value":"FORMATTED_STRING","description":"As displayed in Google Sheets, e.g. '01/01/2022'"},{"name":"Serial Number","value":"SERIAL_NUMBER","description":"A number representing the number of days since Dec 30, 1899"}]}]}]},{"displayName":"When Filter Has Multiple Matches","name":"returnAllMatches","type":"options","default":"returnFirstMatch","options":[{"name":"Return First Match","value":"returnFirstMatch","description":"Return only the first match"},{"name":"Return All Matches","value":"returnAllMatches","description":"Return all values that match"}],"description":"By default only the first result gets returned, Set to \"Return All Matches\" to get multiple matches"}]},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Column to match on","name":"columnToMatchOn","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Values to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","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":{"loadOptionsDependsOn":["sheetName.value","columnToMatchOn"],"loadOptionsMethod":"getSheetHeaderRowAndAddColumn"},"default":""},{"displayName":"Column Name","name":"columnName","type":"string","default":"","displayOptions":{"show":{"column":["newColumn"]}}},{"displayName":"Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names"},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data"}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Column to match on","name":"columnToMatchOn","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Values to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","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":{"loadOptionsDependsOn":["sheetName.value","columnToMatchOn"],"loadOptionsMethod":"getSheetHeaderRowAndAddColumn"},"default":""},{"displayName":"Column Name","name":"columnName","type":"string","default":"","displayOptions":{"show":{"column":["newColumn"]}}},{"displayName":"Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names"},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data"}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["spreadsheet"]}},"options":[{"name":"Create","value":"create","description":"Create a spreadsheet","action":"Create a spreadsheet"},{"name":"Delete","value":"deleteSpreadsheet","description":"Delete a spreadsheet","action":"Delete a spreadsheet"}],"default":"create"},{"displayName":"Title","name":"title","type":"string","default":"","displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"description":"The title of the spreadsheet"},{"displayName":"Sheets","name":"sheetsUi","placeholder":"Add Sheet","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"sheetValues","displayName":"Sheet","values":[{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the property to create"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the Sheet should be hidden in the UI"}]}],"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"options":[{"displayName":"Locale","name":"locale","type":"string","default":"","placeholder":"en_US","description":"The locale of the spreadsheet in one of the following formats:\n\t\t\t\t<ul>\n\t\t\t\t\t<li>en (639-1)</li>\n\t\t\t\t\t<li>fil (639-2 if no 639-1 format exists)</li>\n\t\t\t\t\t<li>en_US (combination of ISO language an country)</li>\n\t\t\t\t<ul>"},{"displayName":"Recalculation Interval","name":"autoRecalc","type":"options","options":[{"name":"Default","value":"","description":"Default value"},{"name":"On Change","value":"ON_CHANGE","description":"Volatile functions are updated on every change"},{"name":"Minute","value":"MINUTE","description":"Volatile functions are updated on every change and every minute"},{"name":"Hour","value":"HOUR","description":"Volatile functions are updated on every change and hourly"}],"default":"","description":"Cell recalculation interval options"}]},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}],"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["deleteSpreadsheet"]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Sheet/googleSheets.svg"},
|
|
157
|
-
{"displayName":"Google Sheets","name":"n8n-nodes-base.googleSheets","group":["input","output"],"defaultVersion":4,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Read, update and write data to Google Sheets","version":[3,4],"defaults":{"name":"Google Sheets"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}},"testedBy":"googleApiCredentialTest"},{"name":"googleSheetsOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Service Account","value":"serviceAccount"},{"name":"OAuth2 (recommended)","value":"oAuth2"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Document","value":"spreadsheet"},{"name":"Sheet Within Document","value":"sheet"}],"default":"sheet"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["sheet"]}},"options":[{"name":"Append","value":"append","description":"Append data to a sheet","action":"Append data to a sheet"},{"name":"Append or Update","value":"appendOrUpdate","description":"Append a new row or update the current one if it already exists (upsert)","action":"Append or update a sheet"},{"name":"Clear","value":"clear","description":"Clear data from a sheet","action":"Clear a sheet"},{"name":"Create","value":"create","description":"Create a new sheet","action":"Create a sheet"},{"name":"Delete","value":"delete","description":"Delete columns and rows from a sheet","action":"Delete a sheet"},{"name":"Read Rows","value":"read","description":"Read all rows in a sheet","action":"Read all rows"},{"name":"Remove","value":"remove","description":"Remove a sheet","action":"Remove a sheet"},{"name":"Update","value":"update","description":"Update rows in a sheet","action":"Update a sheet"}],"default":"read"},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}],"displayOptions":{"show":{"resource":["sheet"]}}},{"displayName":"Sheet","name":"sheetName","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"typeOptions":{"loadOptionsDependsOn":["documentId.value"]},"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"sheetsSearch","searchable":false}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)","errorMessage":"Not a valid Sheet URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"((gid=)?[0-9]{1,})","errorMessage":"Not a valid Sheet ID"}}]}],"displayOptions":{"show":{"resource":["sheet"],"operation":["append","appendOrUpdate","clear","delete","read","remove","update"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"In this mode, make sure the incoming data is named the same as the columns in your Sheet. (Use a 'set' node before this node to change it if required.)","name":"autoMapNotice","type":"notice","default":"","displayOptions":{"show":{"operation":["append"],"dataMode":["autoMapInputData"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Fields to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Field to Send","multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","name":"fieldValues","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":""},{"displayName":"Field Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index of the row which contains the keys. Starts at 1. The incoming node data is matched to the keys for assignment. The matching is case sensitive."}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Clear","name":"clear","type":"options","options":[{"name":"Whole Sheet","value":"wholeSheet"},{"name":"Specific Rows","value":"specificRows"},{"name":"Specific Columns","value":"specificColumns"},{"name":"Specific Range","value":"specificRange"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"]},"hide":{"sheetName":[""]}},"default":"wholeSheet","description":"What to clear"},{"displayName":"Keep First Row","name":"keepFirstRow","type":"boolean","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["wholeSheet"]},"hide":{"sheetName":[""]}},"default":false},{"displayName":"Start Row Number","name":"startIndex","type":"number","typeOptions":{"minValue":1},"default":1,"description":"The row number to delete from, The first row is 1","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRows"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Rows to Delete","name":"rowsToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRows"]},"hide":{"sheetName":[""]}}},{"displayName":"Start Column","name":"startIndex","type":"string","default":"A","description":"The column to delete","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificColumns"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Columns to Delete","name":"columnsToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificColumns"]},"hide":{"sheetName":[""]}}},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRange"]},"hide":{"sheetName":[""]}},"default":"A:F","required":true,"description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details. If it contains multiple sheets it can also be added like this: \"MySheet!A:F\""},{"displayName":"Title","name":"title","type":"string","required":true,"default":"n8n-sheet","displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"description":"The name of the sheet"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"options":[{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the sheet is hidden in the UI, false if it's visible"},{"displayName":"Right To Left","name":"rightToLeft","type":"boolean","default":false,"description":"Whether the sheet is an RTL sheet instead of an LTR sheet"},{"displayName":"Sheet ID","name":"sheetId","type":"number","default":0,"description":"The ID of the sheet. Must be non-negative. This field cannot be changed once set."},{"displayName":"Sheet Index","name":"index","type":"number","default":0,"description":"The index of the sheet within the spreadsheet"},{"displayName":"Tab Color","name":"tabColor","type":"color","default":"0aa55c","description":"The color of the tab in the UI"}]},{"displayName":"To Delete","name":"toDelete","type":"options","options":[{"name":"Rows","value":"rows","description":"Rows to delete"},{"name":"Columns","value":"columns","description":"Columns to delete"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"]},"hide":{"sheetName":[""]}},"default":"rows","description":"What to delete"},{"displayName":"Start Row Number","name":"startIndex","type":"number","typeOptions":{"minValue":1},"default":2,"description":"The row number to delete from, The first row is 2","displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["rows"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Rows to Delete","name":"numberToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["rows"]},"hide":{"sheetName":[""]}}},{"displayName":"Start Column","name":"startIndex","type":"string","default":"A","description":"The column to delete","displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["columns"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Columns to Delete","name":"numberToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["columns"]},"hide":{"sheetName":[""]}}},{"displayName":"Filters","name":"filtersUI","placeholder":"Add Filter","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Filter","multipleValues":true},"default":{},"options":[{"displayName":"Filter","name":"values","values":[{"displayName":"Column","name":"lookupColumn","type":"options","typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowWithGeneratedColumnNames"},"default":"","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Value","name":"lookupValue","type":"string","default":"","hint":"The column must have this value to be matched"}]}],"displayOptions":{"show":{"resource":["sheet"],"operation":["read"]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["read"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Data Location on Sheet","name":"dataLocationOnSheet","type":"fixedCollection","placeholder":"Select Range","default":{"values":{"rangeDefinition":"detectAutomatically"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Range Definition","name":"rangeDefinition","type":"options","options":[{"name":"Detect Automatically","value":"detectAutomatically","description":"Automatically detect the data range"},{"name":"Specify Range (A1 Notation)","value":"specifyRangeA1","description":"Manually specify the data range"},{"name":"Specify Range (Rows)","value":"specifyRange","description":"Manually specify the data range"}],"default":""},{"displayName":"Read Rows Until","name":"readRowsUntil","type":"options","default":"lastRowInSheet","options":[{"name":"First Empty Row","value":"firstEmptyRow"},{"name":"Last Row In Sheet","value":"lastRowInSheet"}],"displayOptions":{"show":{"rangeDefinition":["detectAutomatically"]}}},{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"Range","name":"range","type":"string","default":"","placeholder":"A:Z","description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details.","hint":"You can specify both the rows and the columns, e.g. C4:E7","displayOptions":{"show":{"rangeDefinition":["specifyRangeA1"]}}}]}]},{"displayName":"Output Formatting","name":"outputFormatting","type":"fixedCollection","placeholder":"Add Formatting","default":{"values":{"general":"UNFORMATTED_VALUE","date":"FORMATTED_STRING"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"General Formatting","name":"general","type":"options","options":[{"name":"Values (unformatted)","value":"UNFORMATTED_VALUE","description":"Numbers stay as numbers, but any currency signs or special formatting is lost"},{"name":"Values (formatted)","value":"FORMATTED_VALUE","description":"Numbers are turned to text, and displayed as in Google Sheets (e.g. with commas or currency signs)"},{"name":"Formulas","value":"FORMULA"}],"default":"","description":"Determines how values should be rendered in the output"},{"displayName":"Date Formatting","name":"date","type":"options","default":"","options":[{"name":"Formatted Text","value":"FORMATTED_STRING","description":"As displayed in Google Sheets, e.g. '01/01/2022'"},{"name":"Serial Number","value":"SERIAL_NUMBER","description":"A number representing the number of days since Dec 30, 1899"}]}]}]},{"displayName":"When Filter Has Multiple Matches","name":"returnAllMatches","type":"options","default":"returnFirstMatch","options":[{"name":"Return First Match","value":"returnFirstMatch","description":"Return only the first match"},{"name":"Return All Matches","value":"returnAllMatches","description":"Return all values that match"}],"description":"By default only the first result gets returned, Set to \"Return All Matches\" to get multiple matches"}]},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Column to match on","name":"columnToMatchOn","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Values to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","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":{"loadOptionsDependsOn":["sheetName.value","columnToMatchOn"],"loadOptionsMethod":"getSheetHeaderRowAndAddColumn"},"default":""},{"displayName":"Column Name","name":"columnName","type":"string","default":"","displayOptions":{"show":{"column":["newColumn"]}}},{"displayName":"Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names"},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data"}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Column to match on","name":"columnToMatchOn","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Values to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","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":{"loadOptionsDependsOn":["sheetName.value","columnToMatchOn"],"loadOptionsMethod":"getSheetHeaderRowAndAddColumn"},"default":""},{"displayName":"Column Name","name":"columnName","type":"string","default":"","displayOptions":{"show":{"column":["newColumn"]}}},{"displayName":"Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names"},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data"}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["spreadsheet"]}},"options":[{"name":"Create","value":"create","description":"Create a spreadsheet","action":"Create a spreadsheet"},{"name":"Delete","value":"deleteSpreadsheet","description":"Delete a spreadsheet","action":"Delete a spreadsheet"}],"default":"create"},{"displayName":"Title","name":"title","type":"string","default":"","displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"description":"The title of the spreadsheet"},{"displayName":"Sheets","name":"sheetsUi","placeholder":"Add Sheet","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"sheetValues","displayName":"Sheet","values":[{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the property to create"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the Sheet should be hidden in the UI"}]}],"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"options":[{"displayName":"Locale","name":"locale","type":"string","default":"","placeholder":"en_US","description":"The locale of the spreadsheet in one of the following formats:\n\t\t\t\t<ul>\n\t\t\t\t\t<li>en (639-1)</li>\n\t\t\t\t\t<li>fil (639-2 if no 639-1 format exists)</li>\n\t\t\t\t\t<li>en_US (combination of ISO language an country)</li>\n\t\t\t\t<ul>"},{"displayName":"Recalculation Interval","name":"autoRecalc","type":"options","options":[{"name":"Default","value":"","description":"Default value"},{"name":"On Change","value":"ON_CHANGE","description":"Volatile functions are updated on every change"},{"name":"Minute","value":"MINUTE","description":"Volatile functions are updated on every change and every minute"},{"name":"Hour","value":"HOUR","description":"Volatile functions are updated on every change and hourly"}],"default":"","description":"Cell recalculation interval options"}]},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}],"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["deleteSpreadsheet"]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Sheet/googleSheets.svg","codex":{"categories":["Data & Storage","Productivity"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlesheets/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]},"alias":["CSV","Spreadsheet","GS"]}},
|
|
158
|
-
{"displayName":"Google Sheets Trigger","name":"n8n-nodes-base.googleSheetsTrigger","group":["trigger"],"version":1,"subtitle":"={{($parameter[\"event\"])}}","description":"Starts the workflow when Google Sheets events occur","defaults":{"name":"Google Sheets Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"googleSheetsTriggerOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["triggerOAuth2"]}}}],"polling":true,"properties":[{"displayName":"Poll Times","name":"pollTimes","type":"fixedCollection","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Poll Time"},"default":{"item":[{"mode":"everyMinute"}]},"description":"Time at which polling should occur","placeholder":"Add Poll Time","options":[{"name":"item","displayName":"Item","values":[{"displayName":"Mode","name":"mode","type":"options","options":[{"name":"Every Minute","value":"everyMinute"},{"name":"Every Hour","value":"everyHour"},{"name":"Every Day","value":"everyDay"},{"name":"Every Week","value":"everyWeek"},{"name":"Every Month","value":"everyMonth"},{"name":"Every X","value":"everyX"},{"name":"Custom","value":"custom"}],"default":"everyDay","description":"How often to trigger."},{"displayName":"Hour","name":"hour","type":"number","typeOptions":{"minValue":0,"maxValue":23},"displayOptions":{"hide":{"mode":["custom","everyHour","everyMinute","everyX"]}},"default":14,"description":"The hour of the day to trigger (24h format)"},{"displayName":"Minute","name":"minute","type":"number","typeOptions":{"minValue":0,"maxValue":59},"displayOptions":{"hide":{"mode":["custom","everyMinute","everyX"]}},"default":0,"description":"The minute of the day to trigger"},{"displayName":"Day of Month","name":"dayOfMonth","type":"number","displayOptions":{"show":{"mode":["everyMonth"]}},"typeOptions":{"minValue":1,"maxValue":31},"default":1,"description":"The day of the month to trigger"},{"displayName":"Weekday","name":"weekday","type":"options","displayOptions":{"show":{"mode":["everyWeek"]}},"options":[{"name":"Monday","value":"1"},{"name":"Tuesday","value":"2"},{"name":"Wednesday","value":"3"},{"name":"Thursday","value":"4"},{"name":"Friday","value":"5"},{"name":"Saturday","value":"6"},{"name":"Sunday","value":"0"}],"default":"1","description":"The weekday to trigger"},{"displayName":"Cron Expression","name":"cronExpression","type":"string","displayOptions":{"show":{"mode":["custom"]}},"default":"* * * * * *","description":"Use custom cron expression. Values and ranges as follows:<ul><li>Seconds: 0-59</li><li>Minutes: 0 - 59</li><li>Hours: 0 - 23</li><li>Day of Month: 1 - 31</li><li>Months: 0 - 11 (Jan - Dec)</li><li>Day of Week: 0 - 6 (Sun - Sat)</li></ul>"},{"displayName":"Value","name":"value","type":"number","typeOptions":{"minValue":0,"maxValue":1000},"displayOptions":{"show":{"mode":["everyX"]}},"default":2,"description":"All how many X minutes/hours it should trigger"},{"displayName":"Unit","name":"unit","type":"options","displayOptions":{"show":{"mode":["everyX"]}},"options":[{"name":"Minutes","value":"minutes"},{"name":"Hours","value":"hours"}],"default":"hours","description":"If it should trigger all X minutes or hours"}]}]},{"displayName":"Authentication","name":"authentication","type":"hidden","options":[{"name":"OAuth2 (recommended)","value":"triggerOAuth2"}],"default":"triggerOAuth2"},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google
|
|
156
|
+
{"displayName":"Google Sheets","name":"n8n-nodes-base.googleSheets","group":["input","output"],"defaultVersion":4,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Read, update and write data to Google Sheets","version":[3,4],"defaults":{"name":"Google Sheets"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}},"testedBy":"googleApiCredentialTest"},{"name":"googleSheetsOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Service Account","value":"serviceAccount"},{"name":"OAuth2 (recommended)","value":"oAuth2"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Document","value":"spreadsheet"},{"name":"Sheet Within Document","value":"sheet"}],"default":"sheet"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["sheet"]}},"options":[{"name":"Append","value":"append","description":"Append data to a sheet","action":"Append data to a sheet"},{"name":"Append or Update","value":"appendOrUpdate","description":"Append a new row or update the current one if it already exists (upsert)","action":"Append or update a sheet"},{"name":"Clear","value":"clear","description":"Clear data from a sheet","action":"Clear a sheet"},{"name":"Create","value":"create","description":"Create a new sheet","action":"Create a sheet"},{"name":"Delete","value":"delete","description":"Delete columns and rows from a sheet","action":"Delete a sheet"},{"name":"Read Rows","value":"read","description":"Read all rows in a sheet","action":"Read all rows"},{"name":"Remove","value":"remove","description":"Remove a sheet","action":"Remove a sheet"},{"name":"Update","value":"update","description":"Update rows in a sheet","action":"Update a sheet"}],"default":"read"},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}],"displayOptions":{"show":{"resource":["sheet"]}}},{"displayName":"Sheet","name":"sheetName","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"typeOptions":{"loadOptionsDependsOn":["documentId.value"]},"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"sheetsSearch","searchable":false}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)","errorMessage":"Not a valid Sheet URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"((gid=)?[0-9]{1,})","errorMessage":"Not a valid Sheet ID"}}]}],"displayOptions":{"show":{"resource":["sheet"],"operation":["append","appendOrUpdate","clear","delete","read","remove","update"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"In this mode, make sure the incoming data is named the same as the columns in your Sheet. (Use a 'set' node before this node to change it if required.)","name":"autoMapNotice","type":"notice","default":"","displayOptions":{"show":{"operation":["append"],"dataMode":["autoMapInputData"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Fields to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Field to Send","multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","name":"fieldValues","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":""},{"displayName":"Field Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index of the row which contains the keys. Starts at 1. The incoming node data is matched to the keys for assignment. The matching is case sensitive."}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Clear","name":"clear","type":"options","options":[{"name":"Whole Sheet","value":"wholeSheet"},{"name":"Specific Rows","value":"specificRows"},{"name":"Specific Columns","value":"specificColumns"},{"name":"Specific Range","value":"specificRange"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"]},"hide":{"sheetName":[""]}},"default":"wholeSheet","description":"What to clear"},{"displayName":"Keep First Row","name":"keepFirstRow","type":"boolean","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["wholeSheet"]},"hide":{"sheetName":[""]}},"default":false},{"displayName":"Start Row Number","name":"startIndex","type":"number","typeOptions":{"minValue":1},"default":1,"description":"The row number to delete from, The first row is 1","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRows"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Rows to Delete","name":"rowsToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRows"]},"hide":{"sheetName":[""]}}},{"displayName":"Start Column","name":"startIndex","type":"string","default":"A","description":"The column to delete","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificColumns"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Columns to Delete","name":"columnsToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificColumns"]},"hide":{"sheetName":[""]}}},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRange"]},"hide":{"sheetName":[""]}},"default":"A:F","required":true,"description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details. If it contains multiple sheets it can also be added like this: \"MySheet!A:F\""},{"displayName":"Title","name":"title","type":"string","required":true,"default":"n8n-sheet","displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"description":"The name of the sheet"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"options":[{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the sheet is hidden in the UI, false if it's visible"},{"displayName":"Right To Left","name":"rightToLeft","type":"boolean","default":false,"description":"Whether the sheet is an RTL sheet instead of an LTR sheet"},{"displayName":"Sheet ID","name":"sheetId","type":"number","default":0,"description":"The ID of the sheet. Must be non-negative. This field cannot be changed once set."},{"displayName":"Sheet Index","name":"index","type":"number","default":0,"description":"The index of the sheet within the spreadsheet"},{"displayName":"Tab Color","name":"tabColor","type":"color","default":"0aa55c","description":"The color of the tab in the UI"}]},{"displayName":"To Delete","name":"toDelete","type":"options","options":[{"name":"Rows","value":"rows","description":"Rows to delete"},{"name":"Columns","value":"columns","description":"Columns to delete"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"]},"hide":{"sheetName":[""]}},"default":"rows","description":"What to delete"},{"displayName":"Start Row Number","name":"startIndex","type":"number","typeOptions":{"minValue":1},"default":2,"description":"The row number to delete from, The first row is 2","displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["rows"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Rows to Delete","name":"numberToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["rows"]},"hide":{"sheetName":[""]}}},{"displayName":"Start Column","name":"startIndex","type":"string","default":"A","description":"The column to delete","displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["columns"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Columns to Delete","name":"numberToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["columns"]},"hide":{"sheetName":[""]}}},{"displayName":"Filters","name":"filtersUI","placeholder":"Add Filter","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Filter","multipleValues":true},"default":{},"options":[{"displayName":"Filter","name":"values","values":[{"displayName":"Column","name":"lookupColumn","type":"options","typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowWithGeneratedColumnNames"},"default":"","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Value","name":"lookupValue","type":"string","default":"","hint":"The column must have this value to be matched"}]}],"displayOptions":{"show":{"resource":["sheet"],"operation":["read"]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["read"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Data Location on Sheet","name":"dataLocationOnSheet","type":"fixedCollection","placeholder":"Select Range","default":{"values":{"rangeDefinition":"detectAutomatically"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Range Definition","name":"rangeDefinition","type":"options","options":[{"name":"Detect Automatically","value":"detectAutomatically","description":"Automatically detect the data range"},{"name":"Specify Range (A1 Notation)","value":"specifyRangeA1","description":"Manually specify the data range"},{"name":"Specify Range (Rows)","value":"specifyRange","description":"Manually specify the data range"}],"default":""},{"displayName":"Read Rows Until","name":"readRowsUntil","type":"options","default":"lastRowInSheet","options":[{"name":"First Empty Row","value":"firstEmptyRow"},{"name":"Last Row In Sheet","value":"lastRowInSheet"}],"displayOptions":{"show":{"rangeDefinition":["detectAutomatically"]}}},{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"Range","name":"range","type":"string","default":"","placeholder":"A:Z","description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details.","hint":"You can specify both the rows and the columns, e.g. C4:E7","displayOptions":{"show":{"rangeDefinition":["specifyRangeA1"]}}}]}]},{"displayName":"Output Formatting","name":"outputFormatting","type":"fixedCollection","placeholder":"Add Formatting","default":{"values":{"general":"UNFORMATTED_VALUE","date":"FORMATTED_STRING"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"General Formatting","name":"general","type":"options","options":[{"name":"Values (unformatted)","value":"UNFORMATTED_VALUE","description":"Numbers stay as numbers, but any currency signs or special formatting is lost"},{"name":"Values (formatted)","value":"FORMATTED_VALUE","description":"Numbers are turned to text, and displayed as in Google Sheets (e.g. with commas or currency signs)"},{"name":"Formulas","value":"FORMULA"}],"default":"","description":"Determines how values should be rendered in the output"},{"displayName":"Date Formatting","name":"date","type":"options","default":"","options":[{"name":"Formatted Text","value":"FORMATTED_STRING","description":"As displayed in Google Sheets, e.g. '01/01/2022'"},{"name":"Serial Number","value":"SERIAL_NUMBER","description":"A number representing the number of days since Dec 30, 1899"}]}]}]},{"displayName":"When Filter Has Multiple Matches","name":"returnAllMatches","type":"options","default":"returnFirstMatch","options":[{"name":"Return First Match","value":"returnFirstMatch","description":"Return only the first match"},{"name":"Return All Matches","value":"returnAllMatches","description":"Return all values that match"}],"description":"By default only the first result gets returned, Set to \"Return All Matches\" to get multiple matches"}]},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Column to match on","name":"columnToMatchOn","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Values to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","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":{"loadOptionsDependsOn":["sheetName.value","columnToMatchOn"],"loadOptionsMethod":"getSheetHeaderRowAndAddColumn"},"default":""},{"displayName":"Column Name","name":"columnName","type":"string","default":"","displayOptions":{"show":{"column":["newColumn"]}}},{"displayName":"Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names"},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data"}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Column to match on","name":"columnToMatchOn","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Values to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","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":{"loadOptionsDependsOn":["sheetName.value","columnToMatchOn"],"loadOptionsMethod":"getSheetHeaderRowAndAddColumn"},"default":""},{"displayName":"Column Name","name":"columnName","type":"string","default":"","displayOptions":{"show":{"column":["newColumn"]}}},{"displayName":"Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names"},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data"}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["spreadsheet"]}},"options":[{"name":"Create","value":"create","description":"Create a spreadsheet","action":"Create a spreadsheet"},{"name":"Delete","value":"deleteSpreadsheet","description":"Delete a spreadsheet","action":"Delete a spreadsheet"}],"default":"create"},{"displayName":"Title","name":"title","type":"string","default":"","displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"description":"The title of the spreadsheet"},{"displayName":"Sheets","name":"sheetsUi","placeholder":"Add Sheet","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"sheetValues","displayName":"Sheet","values":[{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the property to create"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the Sheet should be hidden in the UI"}]}],"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"options":[{"displayName":"Locale","name":"locale","type":"string","default":"","placeholder":"en_US","description":"The locale of the spreadsheet in one of the following formats:\n\t\t\t\t<ul>\n\t\t\t\t\t<li>en (639-1)</li>\n\t\t\t\t\t<li>fil (639-2 if no 639-1 format exists)</li>\n\t\t\t\t\t<li>en_US (combination of ISO language an country)</li>\n\t\t\t\t<ul>"},{"displayName":"Recalculation Interval","name":"autoRecalc","type":"options","options":[{"name":"Default","value":"","description":"Default value"},{"name":"On Change","value":"ON_CHANGE","description":"Volatile functions are updated on every change"},{"name":"Minute","value":"MINUTE","description":"Volatile functions are updated on every change and every minute"},{"name":"Hour","value":"HOUR","description":"Volatile functions are updated on every change and hourly"}],"default":"","description":"Cell recalculation interval options"}]},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}],"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["deleteSpreadsheet"]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Sheet/googleSheets.svg"},
|
|
157
|
+
{"displayName":"Google Sheets","name":"n8n-nodes-base.googleSheets","group":["input","output"],"defaultVersion":4,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Read, update and write data to Google Sheets","version":[3,4],"defaults":{"name":"Google Sheets"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}},"testedBy":"googleApiCredentialTest"},{"name":"googleSheetsOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"Service Account","value":"serviceAccount"},{"name":"OAuth2 (recommended)","value":"oAuth2"}],"default":"oAuth2"},{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Document","value":"spreadsheet"},{"name":"Sheet Within Document","value":"sheet"}],"default":"sheet"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["sheet"]}},"options":[{"name":"Append","value":"append","description":"Append data to a sheet","action":"Append data to a sheet"},{"name":"Append or Update","value":"appendOrUpdate","description":"Append a new row or update the current one if it already exists (upsert)","action":"Append or update a sheet"},{"name":"Clear","value":"clear","description":"Clear data from a sheet","action":"Clear a sheet"},{"name":"Create","value":"create","description":"Create a new sheet","action":"Create a sheet"},{"name":"Delete","value":"delete","description":"Delete columns and rows from a sheet","action":"Delete a sheet"},{"name":"Read Rows","value":"read","description":"Read all rows in a sheet","action":"Read all rows"},{"name":"Remove","value":"remove","description":"Remove a sheet","action":"Remove a sheet"},{"name":"Update","value":"update","description":"Update rows in a sheet","action":"Update a sheet"}],"default":"read"},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}],"displayOptions":{"show":{"resource":["sheet"]}}},{"displayName":"Sheet","name":"sheetName","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"typeOptions":{"loadOptionsDependsOn":["documentId.value"]},"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"sheetsSearch","searchable":false}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)","errorMessage":"Not a valid Sheet URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"((gid=)?[0-9]{1,})","errorMessage":"Not a valid Sheet ID"}}]}],"displayOptions":{"show":{"resource":["sheet"],"operation":["append","appendOrUpdate","clear","delete","read","remove","update"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"In this mode, make sure the incoming data is named the same as the columns in your Sheet. (Use a 'set' node before this node to change it if required.)","name":"autoMapNotice","type":"notice","default":"","displayOptions":{"show":{"operation":["append"],"dataMode":["autoMapInputData"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Fields to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Field to Send","multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","name":"fieldValues","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":""},{"displayName":"Field Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["append"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index of the row which contains the keys. Starts at 1. The incoming node data is matched to the keys for assignment. The matching is case sensitive."}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Clear","name":"clear","type":"options","options":[{"name":"Whole Sheet","value":"wholeSheet"},{"name":"Specific Rows","value":"specificRows"},{"name":"Specific Columns","value":"specificColumns"},{"name":"Specific Range","value":"specificRange"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"]},"hide":{"sheetName":[""]}},"default":"wholeSheet","description":"What to clear"},{"displayName":"Keep First Row","name":"keepFirstRow","type":"boolean","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["wholeSheet"]},"hide":{"sheetName":[""]}},"default":false},{"displayName":"Start Row Number","name":"startIndex","type":"number","typeOptions":{"minValue":1},"default":1,"description":"The row number to delete from, The first row is 1","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRows"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Rows to Delete","name":"rowsToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRows"]},"hide":{"sheetName":[""]}}},{"displayName":"Start Column","name":"startIndex","type":"string","default":"A","description":"The column to delete","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificColumns"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Columns to Delete","name":"columnsToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificColumns"]},"hide":{"sheetName":[""]}}},{"displayName":"Range","name":"range","type":"string","displayOptions":{"show":{"resource":["sheet"],"operation":["clear"],"clear":["specificRange"]},"hide":{"sheetName":[""]}},"default":"A:F","required":true,"description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details. If it contains multiple sheets it can also be added like this: \"MySheet!A:F\""},{"displayName":"Title","name":"title","type":"string","required":true,"default":"n8n-sheet","displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"description":"The name of the sheet"},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["create"]}},"options":[{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the sheet is hidden in the UI, false if it's visible"},{"displayName":"Right To Left","name":"rightToLeft","type":"boolean","default":false,"description":"Whether the sheet is an RTL sheet instead of an LTR sheet"},{"displayName":"Sheet ID","name":"sheetId","type":"number","default":0,"description":"The ID of the sheet. Must be non-negative. This field cannot be changed once set."},{"displayName":"Sheet Index","name":"index","type":"number","default":0,"description":"The index of the sheet within the spreadsheet"},{"displayName":"Tab Color","name":"tabColor","type":"color","default":"0aa55c","description":"The color of the tab in the UI"}]},{"displayName":"To Delete","name":"toDelete","type":"options","options":[{"name":"Rows","value":"rows","description":"Rows to delete"},{"name":"Columns","value":"columns","description":"Columns to delete"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"]},"hide":{"sheetName":[""]}},"default":"rows","description":"What to delete"},{"displayName":"Start Row Number","name":"startIndex","type":"number","typeOptions":{"minValue":1},"default":2,"description":"The row number to delete from, The first row is 2","displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["rows"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Rows to Delete","name":"numberToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["rows"]},"hide":{"sheetName":[""]}}},{"displayName":"Start Column","name":"startIndex","type":"string","default":"A","description":"The column to delete","displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["columns"]},"hide":{"sheetName":[""]}}},{"displayName":"Number of Columns to Delete","name":"numberToDelete","type":"number","typeOptions":{"minValue":1},"default":1,"displayOptions":{"show":{"resource":["sheet"],"operation":["delete"],"toDelete":["columns"]},"hide":{"sheetName":[""]}}},{"displayName":"Filters","name":"filtersUI","placeholder":"Add Filter","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Filter","multipleValues":true},"default":{},"options":[{"displayName":"Filter","name":"values","values":[{"displayName":"Column","name":"lookupColumn","type":"options","typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowWithGeneratedColumnNames"},"default":"","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>"},{"displayName":"Value","name":"lookupValue","type":"string","default":"","hint":"The column must have this value to be matched"}]}],"displayOptions":{"show":{"resource":["sheet"],"operation":["read"]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["read"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Data Location on Sheet","name":"dataLocationOnSheet","type":"fixedCollection","placeholder":"Select Range","default":{"values":{"rangeDefinition":"detectAutomatically"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Range Definition","name":"rangeDefinition","type":"options","options":[{"name":"Detect Automatically","value":"detectAutomatically","description":"Automatically detect the data range"},{"name":"Specify Range (A1 Notation)","value":"specifyRangeA1","description":"Manually specify the data range"},{"name":"Specify Range (Rows)","value":"specifyRange","description":"Manually specify the data range"}],"default":""},{"displayName":"Read Rows Until","name":"readRowsUntil","type":"options","default":"lastRowInSheet","options":[{"name":"First Empty Row","value":"firstEmptyRow"},{"name":"Last Row In Sheet","value":"lastRowInSheet"}],"displayOptions":{"show":{"rangeDefinition":["detectAutomatically"]}}},{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"Range","name":"range","type":"string","default":"","placeholder":"A:Z","description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details.","hint":"You can specify both the rows and the columns, e.g. C4:E7","displayOptions":{"show":{"rangeDefinition":["specifyRangeA1"]}}}]}]},{"displayName":"Output Formatting","name":"outputFormatting","type":"fixedCollection","placeholder":"Add Formatting","default":{"values":{"general":"UNFORMATTED_VALUE","date":"FORMATTED_STRING"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"General Formatting","name":"general","type":"options","options":[{"name":"Values (unformatted)","value":"UNFORMATTED_VALUE","description":"Numbers stay as numbers, but any currency signs or special formatting is lost"},{"name":"Values (formatted)","value":"FORMATTED_VALUE","description":"Numbers are turned to text, and displayed as in Google Sheets (e.g. with commas or currency signs)"},{"name":"Formulas","value":"FORMULA"}],"default":"","description":"Determines how values should be rendered in the output"},{"displayName":"Date Formatting","name":"date","type":"options","default":"","options":[{"name":"Formatted Text","value":"FORMATTED_STRING","description":"As displayed in Google Sheets, e.g. '01/01/2022'"},{"name":"Serial Number","value":"SERIAL_NUMBER","description":"A number representing the number of days since Dec 30, 1899"}]}]}]},{"displayName":"When Filter Has Multiple Matches","name":"returnAllMatches","type":"options","default":"returnFirstMatch","options":[{"name":"Return First Match","value":"returnFirstMatch","description":"Return only the first match"},{"name":"Return All Matches","value":"returnAllMatches","description":"Return all values that match"}],"description":"By default only the first result gets returned, Set to \"Return All Matches\" to get multiple matches"}]},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Column to match on","name":"columnToMatchOn","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Values to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","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":{"loadOptionsDependsOn":["sheetName.value","columnToMatchOn"],"loadOptionsMethod":"getSheetHeaderRowAndAddColumn"},"default":""},{"displayName":"Column Name","name":"columnName","type":"string","default":"","displayOptions":{"show":{"column":["newColumn"]}}},{"displayName":"Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["update"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names"},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data"}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties match destination column names"},{"name":"Map Each Column Below","value":"defineBelow","description":"Set the value for each destination column"},{"name":"Nothing","value":"nothing","description":"Do not send anything"}],"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[3]},"hide":{"sheetName":[""]}},"default":"defineBelow","description":"Whether to insert the input data this node receives in the new row"},{"displayName":"Column to match on","name":"columnToMatchOn","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":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":"","hint":"Used to find the correct row to update. Doesn't get changed.","displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}}},{"displayName":"Values to Send","name":"fieldsUi","placeholder":"Add Field","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"dataMode":["defineBelow"],"@version":[3]},"hide":{"sheetName":[""]}},"default":{},"options":[{"displayName":"Field","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":{"loadOptionsDependsOn":["sheetName.value","columnToMatchOn"],"loadOptionsMethod":"getSheetHeaderRowAndAddColumn"},"default":""},{"displayName":"Column Name","name":"columnName","type":"string","default":"","displayOptions":{"show":{"column":["newColumn"]}}},{"displayName":"Value","name":"fieldValue","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":false}},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"],"@version":[4]},"hide":{"sheetName":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["sheet"],"operation":["appendOrUpdate"]},"hide":{"sheetName":[""]}},"options":[{"displayName":"Cell Format","name":"cellFormat","type":"options","options":[{"name":"Let n8n format","value":"RAW","description":"Cells have the same types as the input data"},{"name":"Let Google Sheets format","value":"USER_ENTERED","description":"Cells are styled as if you typed the values into Google Sheets directly"}],"default":"RAW","description":"Determines how data should be interpreted"},{"displayName":"Data Location on Sheet","name":"locationDefine","type":"fixedCollection","placeholder":"Select Range","default":{"values":{}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of the row which contains the column names"},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index is relative to the set 'Range', first row index is 1","hint":"Index of first row which contains the actual data"}]}]},{"displayName":"Handling extra fields in input","name":"handlingExtraData","type":"options","options":[{"name":"Insert in New Column(s)","value":"insertInNewColumn","description":"Create a new column for extra data"},{"name":"Ignore Them","value":"ignoreIt","description":"Ignore extra data"},{"name":"Error","value":"error","description":"Throw an error"}],"displayOptions":{"show":{"/dataMode":["autoMapInputData"]}},"default":"insertInNewColumn","description":"What do to with fields that don't match any columns in the Google Sheet"}]},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["spreadsheet"]}},"options":[{"name":"Create","value":"create","description":"Create a spreadsheet","action":"Create a spreadsheet"},{"name":"Delete","value":"deleteSpreadsheet","description":"Delete a spreadsheet","action":"Delete a spreadsheet"}],"default":"create"},{"displayName":"Title","name":"title","type":"string","default":"","displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"description":"The title of the spreadsheet"},{"displayName":"Sheets","name":"sheetsUi","placeholder":"Add Sheet","type":"fixedCollection","typeOptions":{"multipleValues":true},"default":{},"options":[{"name":"sheetValues","displayName":"Sheet","values":[{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the property to create"},{"displayName":"Hidden","name":"hidden","type":"boolean","default":false,"description":"Whether the Sheet should be hidden in the UI"}]}],"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["create"]}},"options":[{"displayName":"Locale","name":"locale","type":"string","default":"","placeholder":"en_US","description":"The locale of the spreadsheet in one of the following formats:\n\t\t\t\t<ul>\n\t\t\t\t\t<li>en (639-1)</li>\n\t\t\t\t\t<li>fil (639-2 if no 639-1 format exists)</li>\n\t\t\t\t\t<li>en_US (combination of ISO language an country)</li>\n\t\t\t\t<ul>"},{"displayName":"Recalculation Interval","name":"autoRecalc","type":"options","options":[{"name":"Default","value":"","description":"Default value"},{"name":"On Change","value":"ON_CHANGE","description":"Volatile functions are updated on every change"},{"name":"Minute","value":"MINUTE","description":"Volatile functions are updated on every change and every minute"},{"name":"Hour","value":"HOUR","description":"Volatile functions are updated on every change and hourly"}],"default":"","description":"Cell recalculation interval options"}]},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}],"displayOptions":{"show":{"resource":["spreadsheet"],"operation":["deleteSpreadsheet"]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Sheet/googleSheets.svg","codex":{"categories":["Data & Storage","Productivity"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googlesheets/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]},"alias":["CSV","Spreadsheet","GS"]}},
|
|
158
|
+
{"displayName":"Google Sheets Trigger","name":"n8n-nodes-base.googleSheetsTrigger","group":["trigger"],"version":1,"subtitle":"={{($parameter[\"event\"])}}","description":"Starts the workflow when Google Sheets events occur","defaults":{"name":"Google Sheets Trigger"},"inputs":[],"outputs":["main"],"credentials":[{"name":"googleSheetsTriggerOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["triggerOAuth2"]}}}],"polling":true,"properties":[{"displayName":"Poll Times","name":"pollTimes","type":"fixedCollection","typeOptions":{"multipleValues":true,"multipleValueButtonText":"Add Poll Time"},"default":{"item":[{"mode":"everyMinute"}]},"description":"Time at which polling should occur","placeholder":"Add Poll Time","options":[{"name":"item","displayName":"Item","values":[{"displayName":"Mode","name":"mode","type":"options","options":[{"name":"Every Minute","value":"everyMinute"},{"name":"Every Hour","value":"everyHour"},{"name":"Every Day","value":"everyDay"},{"name":"Every Week","value":"everyWeek"},{"name":"Every Month","value":"everyMonth"},{"name":"Every X","value":"everyX"},{"name":"Custom","value":"custom"}],"default":"everyDay","description":"How often to trigger."},{"displayName":"Hour","name":"hour","type":"number","typeOptions":{"minValue":0,"maxValue":23},"displayOptions":{"hide":{"mode":["custom","everyHour","everyMinute","everyX"]}},"default":14,"description":"The hour of the day to trigger (24h format)"},{"displayName":"Minute","name":"minute","type":"number","typeOptions":{"minValue":0,"maxValue":59},"displayOptions":{"hide":{"mode":["custom","everyMinute","everyX"]}},"default":0,"description":"The minute of the day to trigger"},{"displayName":"Day of Month","name":"dayOfMonth","type":"number","displayOptions":{"show":{"mode":["everyMonth"]}},"typeOptions":{"minValue":1,"maxValue":31},"default":1,"description":"The day of the month to trigger"},{"displayName":"Weekday","name":"weekday","type":"options","displayOptions":{"show":{"mode":["everyWeek"]}},"options":[{"name":"Monday","value":"1"},{"name":"Tuesday","value":"2"},{"name":"Wednesday","value":"3"},{"name":"Thursday","value":"4"},{"name":"Friday","value":"5"},{"name":"Saturday","value":"6"},{"name":"Sunday","value":"0"}],"default":"1","description":"The weekday to trigger"},{"displayName":"Cron Expression","name":"cronExpression","type":"string","displayOptions":{"show":{"mode":["custom"]}},"default":"* * * * * *","description":"Use custom cron expression. Values and ranges as follows:<ul><li>Seconds: 0-59</li><li>Minutes: 0 - 59</li><li>Hours: 0 - 23</li><li>Day of Month: 1 - 31</li><li>Months: 0 - 11 (Jan - Dec)</li><li>Day of Week: 0 - 6 (Sun - Sat)</li></ul>"},{"displayName":"Value","name":"value","type":"number","typeOptions":{"minValue":0,"maxValue":1000},"displayOptions":{"show":{"mode":["everyX"]}},"default":2,"description":"All how many X minutes/hours it should trigger"},{"displayName":"Unit","name":"unit","type":"options","displayOptions":{"show":{"mode":["everyX"]}},"options":[{"name":"Minutes","value":"minutes"},{"name":"Hours","value":"hours"}],"default":"hours","description":"If it should trigger all X minutes or hours"}]}]},{"displayName":"Authentication","name":"authentication","type":"hidden","options":[{"name":"OAuth2 (recommended)","value":"triggerOAuth2"}],"default":"triggerOAuth2"},{"displayName":"Document","name":"documentId","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"spreadSheetsSearch","searchable":true}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)","errorMessage":"Not a valid Google Drive File URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[a-zA-Z0-9\\-_]{2,}","errorMessage":"Not a valid Google Drive File ID"}}],"url":"=https://docs.google.com/spreadsheets/d/{{$value}}/edit"}]},{"displayName":"Sheet","name":"sheetName","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"modes":[{"displayName":"From List","name":"list","type":"list","typeOptions":{"searchListMethod":"sheetsSearch","searchable":false}},{"displayName":"By URL","name":"url","type":"string","extractValue":{"type":"regex","regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)"},"validation":[{"type":"regex","properties":{"regex":"https:\\/\\/docs\\.google\\.com/spreadsheets\\/d\\/[0-9a-zA-Z\\-_]+\\/edit\\#gid=([0-9]+)","errorMessage":"Not a valid Sheet URL"}}]},{"displayName":"By ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"((gid=)?[0-9]{1,})","errorMessage":"Not a valid Sheet ID"}}]}]},{"displayName":"Trigger On","name":"event","type":"options","description":"It will be triggered also by newly created columns (if the 'Columns to Watch' option is not set)","options":[{"name":"Row Added","value":"rowAdded"},{"name":"Row Updated","value":"rowUpdate"},{"name":"Row Added or Updated","value":"anyUpdate"}],"default":"anyUpdate","required":true},{"displayName":"Include in Output","name":"includeInOutput","type":"options","default":"new","description":"This option will be effective only when automatically executing the workflow","options":[{"name":"New Version","value":"new"},{"name":"Old Version","value":"old"},{"name":"Both Versions","value":"both"}],"displayOptions":{"hide":{"event":["rowAdded"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Columns to Watch","name":"columnsToWatch","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsDependsOn":["sheetName.value"],"loadOptionsMethod":"getSheetHeaderRowAndSkipEmpty"},"default":[],"displayOptions":{"show":{"/event":["anyUpdate","rowUpdate"]}}},{"displayName":"Data Location on Sheet","name":"dataLocationOnSheet","type":"fixedCollection","placeholder":"Select Range","default":{"values":{"rangeDefinition":"specifyRangeA1"}},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Range Definition","name":"rangeDefinition","type":"options","options":[{"name":"Specify Range (A1 Notation)","value":"specifyRangeA1","description":"Manually specify the data range"},{"name":"Specify Range (Rows)","value":"specifyRange","description":"Manually specify the data range"}],"default":""},{"displayName":"Header Row","name":"headerRow","type":"number","typeOptions":{"minValue":1},"default":1,"description":"Index of the row which contains the keys. Starts at 1. The incoming node data is matched to the keys for assignment. The matching is case sensitive.","hint":"First row is row 1","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"First Data Row","name":"firstDataRow","type":"number","typeOptions":{"minValue":1},"default":2,"description":"Index of the first row which contains the actual data and not the keys. Starts with 1.","hint":"First row is row 1","displayOptions":{"show":{"rangeDefinition":["specifyRange"]}}},{"displayName":"Range","name":"range","type":"string","default":"","placeholder":"A:Z","description":"The table range to read from or to append data to. See the Google <a href=\"https://developers.google.com/sheets/api/guides/values#writing\">documentation</a> for the details.","hint":"You can specify both the rows and the columns, e.g. C4:E7","displayOptions":{"show":{"rangeDefinition":["specifyRangeA1"]}}}]}]},{"displayName":"Value Render","name":"valueRender","type":"options","options":[{"name":"Unformatted","value":"UNFORMATTED_VALUE","description":"Values will be calculated, but not formatted in the reply"},{"name":"Formatted","value":"FORMATTED_VALUE","description":"Values will be formatted and calculated according to the cell's formatting (based on the spreadsheet's locale)"},{"name":"Formula","value":"FORMULA","description":"Values will not be calculated. The reply will include the formulas."}],"default":"UNFORMATTED_VALUE","description":"Determines how values will be rendered in the output. <a href=\"https://developers.google.com/sheets/api/reference/rest/v4/ValueRenderOption\" target=\"_blank\">More info</a>.","displayOptions":{"hide":{"/event":["anyUpdate","rowUpdate"]}}},{"displayName":"DateTime Render","name":"dateTimeRenderOption","type":"options","options":[{"name":"Serial Number","value":"SERIAL_NUMBER","description":"Fields will be returned as doubles in \"serial number\" format (as popularized by Lotus 1-2-3)"},{"name":"Formatted String","value":"FORMATTED_STRING","description":"Fields will be rendered as strings in their given number format (which depends on the spreadsheet locale)"}],"default":"SERIAL_NUMBER","description":"Determines how dates should be rendered in the output. <a href=\"https://developers.google.com/sheets/api/reference/rest/v4/DateTimeRenderOption\" target=\"_blank\">More info</a>.","displayOptions":{"hide":{"/event":["anyUpdate","rowUpdate"]}}}]}],"codex":{"categories":["Data & Storage","Productivity"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.googlesheetstrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]},"alias":["CSV","Spreadsheet","GS"]},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Sheet/googleSheets.svg"},
|
|
159
159
|
{"displayName":"Google Slides","name":"n8n-nodes-base.googleSlides","group":["input","output"],"version":[1,2],"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume the Google Slides API","defaults":{"name":"Google Slides"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleSlidesOAuth2Api","required":true,"displayOptions":{"show":{"authentication":["oAuth2"]}}}],"properties":[{"displayName":"Authentication","name":"authentication","type":"options","options":[{"name":"OAuth2","value":"oAuth2"},{"name":"Service Account","value":"serviceAccount"}],"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":"Page","value":"page"},{"name":"Presentation","value":"presentation"}],"default":"presentation"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Create","value":"create","description":"Create a presentation","action":"Create a presentation"},{"name":"Get","value":"get","description":"Get a presentation","action":"Get a presentation"},{"name":"Get Slides","value":"getSlides","description":"Get presentation slides","action":"Get slides from a presentation"},{"name":"Replace Text","value":"replaceText","description":"Replace text in a presentation","action":"Replace text in a presentation"}],"displayOptions":{"show":{"resource":["presentation"]}},"default":"create"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"options":[{"name":"Get","value":"get","description":"Get a page","action":"Get a page"},{"name":"Get Thumbnail","value":"getThumbnail","description":"Get a thumbnail","action":"Get the thumbnail for a page"}],"displayOptions":{"show":{"resource":["page"]}},"default":"get"},{"displayName":"Title","name":"title","description":"Title of the presentation to create","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["presentation"],"operation":["create"]}}},{"displayName":"Presentation ID","name":"presentationId","description":"ID of the presentation to retrieve. Found in the presentation URL: <code>https://docs.google.com/presentation/d/PRESENTATION_ID/edit</code>","placeholder":"1wZtNFZ8MO-WKrxhYrOLMvyiqSgFwdSz5vn8_l_7eNqw","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["presentation","page"],"operation":["get","getThumbnail","getSlides","replaceText"]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getSlides"],"resource":["presentation"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getSlides"],"resource":["presentation"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":500},"default":100,"description":"Max number of results to return"},{"displayName":"Page Object ID","name":"pageObjectId","description":"ID of the page object to retrieve","type":"string","default":"","required":true,"displayOptions":{"show":{"resource":["page"],"operation":["get","getThumbnail"]}}},{"displayName":"Texts To Replace","name":"textUi","placeholder":"Add Text","type":"fixedCollection","typeOptions":{"multipleValues":true},"displayOptions":{"show":{"resource":["presentation"],"operation":["replaceText"]}},"default":{},"options":[{"name":"textValues","displayName":"Text","values":[{"displayName":"Match Case","name":"matchCase","type":"boolean","default":false,"description":"Whether the search should respect case. True : the search is case sensitive. False : the search is case insensitive."},{"displayName":"Page Names or IDs","name":"pageObjectIds","type":"multiOptions","default":[],"typeOptions":{"loadOptionsMethod":"getPages","loadOptionsDependsOn":["presentationId"]},"description":"If non-empty, limits the matches to page elements only on the given pages. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>."},{"displayName":"Replace Text","name":"replaceText","type":"string","default":"","description":"The text that will replace the matched text"},{"displayName":"Text","name":"text","type":"string","default":"","description":"The text to search for in the shape or table"}]}]},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","displayOptions":{"show":{"operation":["replaceText"],"resource":["presentation"]}},"default":{},"options":[{"displayName":"Revision ID","name":"revisionId","type":"string","default":"","description":"The revision ID of the presentation required for the write request. If specified and the requiredRevisionId doesn't exactly match the presentation's current revisionId, the request will not be processed and will return a 400 bad request error."}]},{"displayName":"Download","name":"download","type":"boolean","default":false,"displayOptions":{"show":{"resource":["page"],"operation":["getThumbnail"]}},"description":"Name of the binary property to which to write the data of the read page"},{"displayName":"Binary Property","name":"binaryProperty","type":"string","required":true,"default":"data","description":"Name of the binary property to which to write to","displayOptions":{"show":{"resource":["page"],"operation":["getThumbnail"],"download":[true]}}}],"codex":{"categories":["Marketing & Content"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googleslides/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Slides/googleslides.svg"},
|
|
160
160
|
{"displayName":"Google Tasks","name":"n8n-nodes-base.googleTasks","group":["input"],"version":1,"subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","description":"Consume Google Tasks API","defaults":{"name":"Google Tasks"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleTasksOAuth2Api","required":true}],"properties":[{"displayName":"Resource","name":"resource","type":"options","noDataExpression":true,"options":[{"name":"Task","value":"task"}],"default":"task"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["task"]}},"options":[{"name":"Create","value":"create","description":"Add a task to tasklist","action":"Create a task"},{"name":"Delete","value":"delete","description":"Delete a task","action":"Delete a task"},{"name":"Get","value":"get","description":"Retrieve a task","action":"Get a task"},{"name":"Get Many","value":"getAll","description":"Retrieve many tasks from a tasklist","action":"Get many tasks"},{"name":"Update","value":"update","description":"Update a task","action":"Update a task"}],"default":"create"},{"displayName":"TaskList Name or ID","name":"task","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":"getTasks"},"required":true,"displayOptions":{"show":{"operation":["create"],"resource":["task"]}},"default":""},{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the task","displayOptions":{"show":{"operation":["create"],"resource":["task"]}}},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["create"],"resource":["task"]}},"options":[{"displayName":"Completion Date","name":"completed","type":"dateTime","default":"","description":"Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed."},{"displayName":"Deleted","name":"deleted","type":"boolean","default":false,"description":"Whether the task has been deleted"},{"displayName":"Due Date","name":"dueDate","type":"dateTime","default":"","description":"Due date of the task"},{"displayName":"Notes","name":"notes","type":"string","default":"","description":"Additional Notes"},{"displayName":"Parent","name":"parent","type":"string","default":"","description":"Parent task identifier. If the task is created at the top level, this parameter is omitted."},{"displayName":"Previous","name":"previous","type":"string","default":"","description":"Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted."},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Needs Action","value":"needsAction"},{"name":"Completed","value":"completed"}],"default":"","description":"Current status of the task"}]},{"displayName":"TaskList Name or ID","name":"task","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":"getTasks"},"required":true,"displayOptions":{"show":{"operation":["delete"],"resource":["task"]}},"default":""},{"displayName":"Task ID","name":"taskId","type":"string","required":true,"displayOptions":{"show":{"operation":["delete"],"resource":["task"]}},"default":""},{"displayName":"TaskList Name or ID","name":"task","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":"getTasks"},"required":true,"displayOptions":{"show":{"operation":["get"],"resource":["task"]}},"default":""},{"displayName":"Task ID","name":"taskId","type":"string","required":true,"displayOptions":{"show":{"operation":["get"],"resource":["task"]}},"default":""},{"displayName":"TaskList Name or ID","name":"task","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":"getTasks"},"required":true,"displayOptions":{"show":{"operation":["getAll"],"resource":["task"]}},"default":""},{"displayName":"Return All","name":"returnAll","type":"boolean","displayOptions":{"show":{"operation":["getAll"],"resource":["task"]}},"default":false,"description":"Whether to return all results or only up to a given limit"},{"displayName":"Limit","name":"limit","type":"number","displayOptions":{"show":{"operation":["getAll"],"resource":["task"],"returnAll":[false]}},"typeOptions":{"minValue":1,"maxValue":100},"default":20,"description":"Max number of results to return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"operation":["getAll"],"resource":["task"]}},"options":[{"displayName":"Completed Max","name":"completedMax","type":"dateTime","default":"","description":"Upper bound for a task completion date (as a RFC 3339 timestamp) to filter by"},{"displayName":"Completed Min","name":"completedMin","type":"dateTime","default":"","description":"Lower bound for a task completion date (as a RFC 3339 timestamp) to filter by"},{"displayName":"Due Min","name":"dueMin","type":"dateTime","default":"","description":"Lower bound for a task due date (as a RFC 3339 timestamp) to filter by"},{"displayName":"Due Max","name":"dueMax","type":"dateTime","default":"","description":"Upper bound for a task due date (as a RFC 3339 timestamp) to filter by"},{"displayName":"Show Completed","name":"showCompleted","type":"boolean","default":true,"description":"Whether completed tasks are returned in the result. <strong>Show Hidden</strong> must also be True to show tasks completed in first party clients such as the web UI or Google's mobile apps."},{"displayName":"Show Deleted","name":"showDeleted","type":"boolean","default":false,"description":"Whether deleted tasks are returned in the result"},{"displayName":"Show Hidden","name":"showHidden","type":"boolean","default":false,"description":"Whether hidden tasks are returned in the result"},{"displayName":"Updated Min","name":"updatedMin","type":"dateTime","default":"","description":"Lower bound for a task last modification time (as a RFC 3339 timestamp) to filter by"}]},{"displayName":"TaskList Name or ID","name":"task","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":"getTasks"},"required":true,"displayOptions":{"show":{"operation":["update"],"resource":["task"]}},"default":""},{"displayName":"Task ID","name":"taskId","type":"string","required":true,"displayOptions":{"show":{"operation":["update"],"resource":["task"]}},"default":""},{"displayName":"Update Fields","name":"updateFields","type":"collection","placeholder":"Update Field","default":{},"displayOptions":{"show":{"operation":["update"],"resource":["task"]}},"options":[{"displayName":"Completion Date","name":"completed","type":"dateTime","default":"","description":"Completion date of the task (as a RFC 3339 timestamp). This field is omitted if the task has not been completed."},{"displayName":"Deleted","name":"deleted","type":"boolean","default":false,"description":"Whether the task has been deleted"},{"displayName":"Due Date","name":"dueDate","type":"dateTime","default":"","description":"Due date of the task"},{"displayName":"Notes","name":"notes","type":"string","default":"","description":"Additional Notes"},{"displayName":"Previous","name":"previous","type":"string","default":"","description":"Previous sibling task identifier. If the task is created at the first position among its siblings, this parameter is omitted."},{"displayName":"Status","name":"status","type":"options","options":[{"name":"Needs Update","value":"needsAction"},{"name":"Completed","value":"completed"}],"default":"","description":"Current status of the task"},{"displayName":"Title","name":"title","type":"string","default":"","description":"Title of the task"}]}],"codex":{"categories":["Productivity"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googletasks/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Task/googleTasks.png"},
|
|
161
161
|
{"displayName":"Google Translate","name":"n8n-nodes-base.googleTranslate","group":["input","output"],"version":[1,2],"description":"Translate data using Google Translate","subtitle":"={{$parameter[\"operation\"] + \": \" + $parameter[\"resource\"]}}","defaults":{"name":"Google Translate"},"inputs":["main"],"outputs":["main"],"credentials":[{"name":"googleApi","required":true,"displayOptions":{"show":{"authentication":["serviceAccount"]}}},{"name":"googleTranslateOAuth2Api","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":"Language","value":"language"}],"default":"language"},{"displayName":"Operation","name":"operation","type":"options","noDataExpression":true,"displayOptions":{"show":{"resource":["language"]}},"options":[{"name":"Translate","value":"translate","description":"Translate data","action":"Translate a language"}],"default":"translate"},{"displayName":"Text","name":"text","type":"string","default":"","description":"The input text to translate","required":true,"displayOptions":{"show":{"operation":["translate"]}}},{"displayName":"Translate To","name":"translateTo","type":"options","typeOptions":{"loadOptionsMethod":"getLanguages"},"default":"","description":"The language to use for translation of the input text, set to one of the language codes listed in <a href=\"https://cloud.google.com/translate/docs/languages\">Language Support</a>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","required":true,"displayOptions":{"show":{"operation":["translate"]}}}],"codex":{"categories":["Utility"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googletranslate/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Google/Translate/googletranslate.png"},
|
|
@@ -262,8 +262,8 @@
|
|
|
262
262
|
{"displayName":"MQTT Trigger","name":"n8n-nodes-base.mqttTrigger","group":["trigger"],"version":1,"description":"Listens to MQTT events","eventTriggerDescription":"","defaults":{"name":"MQTT Trigger"},"triggerPanel":{"header":"","executionsHelp":{"inactive":"<b>While building your workflow</b>, click the 'listen' button, then trigger an MQTT event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.","active":"<b>While building your workflow</b>, click the 'listen' button, then trigger an MQTT event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor."},"activationHint":"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here)."},"inputs":[],"outputs":["main"],"credentials":[{"name":"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"},
|
|
263
263
|
{"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"},
|
|
264
264
|
{"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","noDataExpression":true,"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"},
|
|
265
|
-
{"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.","noDataExpression":true,"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"},
|
|
266
|
-
{"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.","noDataExpression":true,"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"}]}}},
|
|
265
|
+
{"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/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","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/\" target=\"_blank\">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/\" target=\"_blank\">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.","noDataExpression":true,"typeOptions":{"editor":"sqlEditor","sqlDialect":"MySQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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"},
|
|
266
|
+
{"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/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","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/\" target=\"_blank\">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/\" target=\"_blank\">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.","noDataExpression":true,"typeOptions":{"editor":"sqlEditor","sqlDialect":"MySQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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/\" target=\"_blank\">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"}]}}},
|
|
267
267
|
{"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-9a-zA-Z]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9a-zA-Z]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9a-zA-Z]{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-9a-zA-Z]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9a-zA-Z]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9a-zA-Z]{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-9a-zA-Z]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9a-zA-Z]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9a-zA-Z]{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-9a-zA-Z]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9a-zA-Z]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9a-zA-Z]{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-9a-zA-Z]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9a-zA-Z]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9a-zA-Z]{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-9a-zA-Z]{1,})","errorMessage":"Not a valid Workflow URL"}}],"extractValue":{"type":"regex","regex":".*/workflow/([0-9a-zA-Z]{1,})"}},{"displayName":"ID","name":"id","type":"string","validation":[{"type":"regex","properties":{"regex":"[0-9a-zA-Z]{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"},
|
|
268
268
|
{"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"},
|
|
269
269
|
{"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"},
|
|
@@ -302,9 +302,9 @@
|
|
|
302
302
|
{"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"},
|
|
303
303
|
{"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"},
|
|
304
304
|
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.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","noDataExpression":true,"typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"displayOptions":{"show":{"operation":["executeQuery"]}},"default":"","placeholder":"SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","required":true,"description":"The SQL query to execute. You can use n8n expressions or $1 and $2 in conjunction with query parameters."},{"displayName":"Schema","name":"schema","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"public","required":true,"description":"Name of the schema the table belongs to"},{"displayName":"Table","name":"table","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"","required":true,"description":"Name of the table in which to insert data to"},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["insert"]}},"default":"","placeholder":"id:int,name:text,description","description":"Comma-separated list of the properties which should used as columns for the new rows. You can use type casting with colons (:) like id:int."},{"displayName":"Schema","name":"schema","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"public","description":"Name of the schema the table belongs to"},{"displayName":"Table","name":"table","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"","required":true,"description":"Name of the table in which to update data in"},{"displayName":"Update Key","name":"updateKey","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"id","required":true,"description":"Comma-separated list of the properties which decides which rows in the database should be updated. Normally that would be \"id\"."},{"displayName":"Columns","name":"columns","type":"string","displayOptions":{"show":{"operation":["update"]}},"default":"","placeholder":"name:text,description","description":"Comma-separated list of the properties which should used as columns for rows to update. You can use type casting with colons (:) like id:int."},{"displayName":"Return Fields","name":"returnFields","type":"string","requiresDataPath":"multiple","displayOptions":{"show":{"operation":["insert","update"]}},"default":"*","description":"Comma-separated list of the fields that the operation will return"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"options":[{"displayName":"Mode","name":"mode","type":"options","options":[{"name":"Independently","value":"independently","description":"Execute each query independently"},{"name":"Multiple Queries","value":"multiple","description":"<b>Default</b>. Sends multiple queries at once to database."},{"name":"Transaction","value":"transaction","description":"Executes all queries in a single transaction"}],"default":"multiple","description":"The way queries should be sent to database. Can be used in conjunction with <b>Continue on Fail</b>. See <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/\">the docs</a> for more examples"},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Query Parameters","name":"queryParams","type":"string","displayOptions":{"show":{"/operation":["executeQuery"]}},"default":"","placeholder":"quantity,price","description":"Comma-separated list of properties which should be used as query parameters"}]}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
|
|
305
|
-
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.2,"description":"Get, add and update data in Postgres","version":[2,2.1,2.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","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"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\" target=\"_blank\">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":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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"},
|
|
306
|
-
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.2,"description":"Get, add and update data in Postgres","version":[2,2.1,2.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","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"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\" target=\"_blank\">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":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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"},
|
|
307
|
-
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.2,"description":"Get, add and update data in Postgres","version":[2,2.1,2.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","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"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\" target=\"_blank\">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":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\">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"}]}}},
|
|
305
|
+
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.2,"description":"Get, add and update data in Postgres","version":[2,2.1,2.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/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
|
|
306
|
+
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.2,"description":"Get, add and update data in Postgres","version":[2,2.1,2.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/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
|
|
307
|
+
{"displayName":"Postgres","name":"n8n-nodes-base.postgres","group":["input"],"defaultVersion":2.2,"description":"Get, add and update data in Postgres","version":[2,2.1,2.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/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"deleteCommand":["delete"],"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["deleteTable"]},"hide":{"table":[""]}}},{"displayName":"Query","name":"query","type":"string","default":"","placeholder":"e.g. SELECT id, name FROM product WHERE quantity > $1 AND price <= $2","noDataExpression":true,"required":true,"description":"The SQL query to execute. You can use n8n expressions and $1, $2, $3, etc to refer to the 'Query Parameters' set in options below.","typeOptions":{"editor":"sqlEditor","sqlDialect":"PostgreSQL"},"hint":"Consider using query parameters to prevent SQL injection attacks. Add them in the options below","displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["executeQuery"]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","default":{"mappingMode":"defineBelow","value":null},"noDataExpression":true,"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"add","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["insert"]},"hide":{"table":[""]}}},{"displayName":"Return All","name":"returnAll","type":"boolean","default":false,"description":"Whether to return all results or only up to a given limit","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Limit","name":"limit","type":"number","default":50,"description":"Max number of results to return","typeOptions":{"minValue":1},"displayOptions":{"show":{"returnAll":[false],"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Select Rows","name":"where","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Condition","default":{},"description":"If not set, all rows will be selected","options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","placeholder":"e.g. ID","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Operator","name":"condition","type":"options","description":"The operator to check the column against. When using 'LIKE' operator percent sign ( %) matches zero or more characters, underscore ( _ ) matches any single character.","options":[{"name":"Equal","value":"equal"},{"name":"Not Equal","value":"!="},{"name":"Like","value":"LIKE"},{"name":"Greater Than","value":">"},{"name":"Less Than","value":"<"},{"name":"Greater Than Or Equal","value":">="},{"name":"Less Than Or Equal","value":"<="},{"name":"Is Null","value":"IS NULL"}],"default":"equal"},{"displayName":"Value","name":"value","type":"string","default":""}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Combine Conditions","name":"combineConditions","type":"options","description":"How to combine the conditions defined in \"Select Rows\": AND requires all conditions to be true, OR requires at least one condition to be true","options":[{"name":"AND","value":"AND","description":"Only rows that meet all the conditions are selected"},{"name":"OR","value":"OR","description":"Rows that meet at least one condition are selected"}],"default":"AND","displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Sort","name":"sort","type":"fixedCollection","typeOptions":{"multipleValues":true},"placeholder":"Add Sort Rule","default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","default":"","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]}},{"displayName":"Direction","name":"direction","type":"options","options":[{"name":"ASC","value":"ASC"},{"name":"DESC","value":"DESC"}],"default":"ASC"}]}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["select"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Column to Match On","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"The column that identifies the row(s) to modify","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Value of Column to Match On","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"update","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["update"]},"hide":{"table":[""]}}},{"displayName":"Data Mode","name":"dataMode","type":"options","options":[{"name":"Auto-Map Input Data to Columns","value":"autoMapInputData","description":"Use when node input properties names exactly match the table column names"},{"name":"Map Each Column Manually","value":"defineBelow","description":"Set the value for each destination column manually"}],"default":"autoMapInputData","description":"Whether to map node input properties and the table data automatically or manually","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"\n\t\tIn this mode, make sure incoming data fields are named the same as the columns in your table. If needed, use a 'Set' node before this node to change the field names.\n\t\t","name":"notice","type":"notice","default":"","displayOptions":{"show":{"dataMode":["autoMapInputData"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Unique Column","name":"columnToMatchOn","type":"options","required":true,"description":"The column to compare when finding the rows to update. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>.","typeOptions":{"loadOptionsMethod":"getColumns","loadOptionsDependsOn":["schema.value","table.value"]},"default":"","hint":"Used to find the correct row(s) to update. Doesn't get changed. Has to be unique.","displayOptions":{"show":{"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Value of Unique Column","name":"valueToMatchOn","type":"string","default":"","description":"Rows with a value in the specified \"Column to Match On\" that corresponds to the value in this field will be updated. New rows will be created for non-matching items.","displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Values to Send","name":"valuesToSend","placeholder":"Add Value","type":"fixedCollection","typeOptions":{"multipleValueButtonText":"Add Value","multipleValues":true},"displayOptions":{"show":{"dataMode":["defineBelow"],"@version":[2,2.1],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}},"default":{},"options":[{"displayName":"Values","name":"values","values":[{"displayName":"Column","name":"column","type":"options","description":"Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsWithoutColumnToMatchOn","loadOptionsDependsOn":["schema.value","table.value"]},"default":[]},{"displayName":"Value","name":"value","type":"string","default":""}]}]},{"displayName":"Columns","name":"columns","type":"resourceMapper","noDataExpression":true,"default":{"mappingMode":"defineBelow","value":null},"required":true,"typeOptions":{"loadOptionsDependsOn":["table.value","operation"],"resourceMapper":{"resourceMapperMethod":"getMappingColumns","mode":"upsert","fieldWords":{"singular":"column","plural":"columns"},"addAllFields":true,"multiKeyMatch":true}},"displayOptions":{"show":{"@version":[2.2],"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}},{"displayName":"Options","name":"options","type":"collection","placeholder":"Add Option","default":{},"options":[{"displayName":"Cascade","name":"cascade","type":"boolean","default":false,"description":"Whether to drop all objects that depend on the table, such as views and sequences","displayOptions":{"show":{"/operation":["deleteTable"]},"hide":{"/deleteCommand":["delete"]}}},{"displayName":"Connection Timeout","name":"connectionTimeout","type":"number","default":30,"description":"Number of seconds reserved for connecting to the database"},{"displayName":"Query Batching","name":"queryBatching","type":"options","noDataExpression":true,"options":[{"name":"Single Query","value":"single","description":"A single query for all incoming items"},{"name":"Independently","value":"independently","description":"Execute one query per incoming item of the run"},{"name":"Transaction","value":"transaction","description":"Execute all queries in a transaction, if a failure occurs, all changes are rolled back"}],"default":"single","description":"The way queries should be sent to the database"},{"displayName":"Query Parameters","name":"queryReplacement","type":"string","default":"","description":"Comma-separated list of the values you want to use as query parameters. <a href=\"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/#use-query-parameters\" target=\"_blank\">More info</a>.","hint":"Comma-separated list of values: reference them in your query as $1, $2, $3…","placeholder":"e.g. value1,value2,value3","displayOptions":{"show":{"/operation":["executeQuery"]}}},{"displayName":"Output Columns","name":"outputColumns","type":"multiOptions","description":"Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code-examples/expressions/\" target=\"_blank\">expression</a>","typeOptions":{"loadOptionsMethod":"getColumnsMultiOptions","loadOptionsDependsOn":["table.value"]},"default":[],"displayOptions":{"show":{"/operation":["select","insert","update","upsert"]}}},{"displayName":"Output Large-Format Numbers As","name":"largeNumbersOutput","type":"options","options":[{"name":"Numbers","value":"numbers"},{"name":"Text","value":"text","description":"Use this if you expect numbers longer than 16 digits (otherwise numbers may be incorrect)"}],"hint":"Applies to NUMERIC and BIGINT columns only","default":"text"},{"displayName":"Skip on Conflict","name":"skipOnConflict","type":"boolean","default":false,"description":"Whether to skip the row and do not throw error if a unique constraint or exclusion constraint is violated","displayOptions":{"show":{"/operation":["insert"]}}},{"displayName":"Replace Empty Strings with NULL","name":"replaceEmptyStrings","type":"boolean","default":false,"description":"Whether to replace empty strings with NULL in input, could be useful when data come from spreadsheet","displayOptions":{"show":{"/operation":["insert","update","upsert","executeQuery"]}}}],"displayOptions":{"show":{"resource":["database"],"operation":["upsert"]},"hide":{"table":[""]}}}],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg","codex":{"categories":["Development","Data & Storage"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.postgres/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/postgres"}]}}},
|
|
308
308
|
{"displayName":"Postgres Trigger","name":"n8n-nodes-base.postgresTrigger","group":["trigger"],"version":1,"description":"Listens to Postgres messages","eventTriggerDescription":"","defaults":{"name":"Postgres Trigger"},"triggerPanel":{"header":"","executionsHelp":{"inactive":"<b>While building your workflow</b>, click the 'listen' button, then trigger a Postgres event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.","active":"<b>While building your workflow</b>, click the 'listen' button, then trigger a Postgres event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor."},"activationHint":"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here)."},"inputs":[],"outputs":["main"],"credentials":[{"name":"postgres","required":true}],"properties":[{"displayName":"Listen For","name":"triggerMode","type":"options","options":[{"name":"Table Row Change Events","value":"createTrigger","description":"Insert, update or delete"},{"name":"Advanced","value":"listenTrigger","description":"Listen to existing Postgres channel"}],"default":"createTrigger"},{"displayName":"Schema Name","name":"schema","type":"resourceLocator","default":{"mode":"list","value":"public"},"required":true,"displayOptions":{"show":{"triggerMode":["createTrigger"]}},"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a schema","typeOptions":{"searchListMethod":"searchSchema","searchFilterRequired":false}},{"displayName":"Name","name":"name","type":"string","placeholder":"e.g. public"}]},{"displayName":"Table Name","name":"tableName","type":"resourceLocator","default":{"mode":"list","value":""},"required":true,"displayOptions":{"show":{"triggerMode":["createTrigger"]}},"modes":[{"displayName":"From List","name":"list","type":"list","placeholder":"Select a table","typeOptions":{"searchListMethod":"searchTables","searchFilterRequired":false}},{"displayName":"Name","name":"name","type":"string","placeholder":"e.g. table_name"}]},{"displayName":"Channel Name","name":"channelName","type":"string","default":"","required":true,"placeholder":"e.g. n8n_channel","description":"Name of the channel to listen to","displayOptions":{"show":{"triggerMode":["listenTrigger"]}}},{"displayName":"Event to listen for","name":"firesOn","type":"options","displayOptions":{"show":{"triggerMode":["createTrigger"]}},"options":[{"name":"Insert","value":"INSERT"},{"name":"Update","value":"UPDATE"},{"name":"Delete","value":"DELETE"}],"default":"INSERT"},{"displayName":"Additional Fields","name":"additionalFields","type":"collection","placeholder":"Add Field","default":{},"displayOptions":{"show":{"triggerMode":["createTrigger"]}},"options":[{"displayName":"Channel Name","name":"channelName","type":"string","placeholder":"e.g. n8n_channel","description":"Name of the channel to listen to","default":""},{"displayName":"Function Name","name":"functionName","type":"string","description":"Name of the function to create","placeholder":"e.g. n8n_trigger_function()","default":""},{"displayName":"Replace if Exists","name":"replaceIfExists","type":"boolean","description":"Whether to replace an existing function and trigger with the same name","default":false},{"displayName":"Trigger Name","name":"triggerName","type":"string","description":"Name of the trigger to create","placeholder":"e.g. n8n_trigger","default":""}]}],"codex":{"categories":["Development"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.postgrestrigger/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/credentials/postgres"}]}},"iconUrl":"icons/n8n-nodes-base/dist/nodes/Postgres/postgres.svg"},
|
|
309
309
|
{"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"},
|
|
310
310
|
{"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"},
|