# nodes

node_type: nodes-base.slackTrigger
package_name: n8n-nodes-base
display_name: Slack Trigger
description: Handle Slack events via webhooks
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "slackApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Slack Trigger node documentation
  description: Learn how to use the Slack Trigger node in n8n. Follow technical documentation to integrate Slack Trigger node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Slack Trigger node

  Use the Slack Trigger node to respond to events in [Slack](https://slack.com/){:target=_blank .external-link} and integrate Slack with other applications. n8n has built-in support for a wide range of Slack events, including new messages, reactions, and new channels.

  On this page, you'll find a list of events the Slack Trigger node can respond to and links to more resources.

  ///  note  | Credentials
  You can find authentication information for this node [here](/integrations/builtin/credentials/slack.md).
  ///
  ///  note  | Examples and templates
  For usage examples and templates to help you get started, refer to n8n's [Slack integrations](https://n8n.io/integrations/slack-trigger/){:target=_blank .external-link} page.
  ///

  ## Events

  * **Any Event**: The node triggers on any event in Slack.
  * **Bot / App Mention**: The node triggers when your bot or app is [mentioned](https://slack.com/help/articles/205240127-Use-mentions-in-Slack){:target=_blank .external-link} in a channel the app is in.
  * **File Made Public**: The node triggers when a file is [made public](https://slack.com/help/articles/4412651915539-Manage-public-file-sharing){:target=_blank .external-link}.
  * **File Shared**: The node triggers when a file is [shared](https://slack.com/help/articles/201330736-Add-files-to-Slack){:target=_blank .external-link} in a channel the app is in.
  * **New Message Posted to Channel**: The node triggers when a new message is posted to a channel the app is in.
  * **New Public Channel Created**: The node triggers when a new [public channel](https://slack.com/help/articles/360017938993-What-is-a-channel){:target=_blank .external-link} is created.
  * **New User**: The node triggers when a new user is added to Slack.
  * **Reaction Added**: The node triggers when a [reaction](https://slack.com/help/articles/202931348-Use-emoji-and-reactions){:target=_blank .external-link} is added to a message the app is added to.

  ## Parameters

  Once you've set the events to trigger on, use the remaining parameters to further define the node's behavior:

  * **Watch Whole Workspace**: Whether the node should watch for the selected **Events** in all channels in the workspace (turned on) or not (turned off, default).

      ///warning | Caution
      This will use one execution for every event in any channel your bot or app is in. Use with caution!
      ///

  * **Channel to Watch**: Select the channel your node should watch for the selected **Events**. This parameter only appears if you don't turn on **Watch Whole Workspace**. You can select a channel:
      * **From list**: The node uses your credential to look up a list of channels in the workspace so you can select the channel you want.
      * **By ID**: Enter the ID of a channel you want to watch. Slack displays the channel ID at the bottom of the channel details with a one-click copy button.
      * **By URL**: Enter the URL of the channel you want to watch, formatted as `https://app.slack.com/client/<channel-address>`.
  * **Download Files**: Whether to download files and use them in the node's output (turned on) or not (turned off, default). Use this parameter with the **File Made Public** and **File Shared** events.

  ## Options

  You can further refine the node's behavior when you **Add Option**s:

  * **Resolve IDs**: Whether to resolve the IDs to their respective names and return them (turned on) or not (turned off, default).
  * **Usernames or IDs to ignore**: Select usernames or enter a comma-separated string of encoded user IDs to ignore events from. Choose from the list, or specify IDs using an [expression](/code/expressions.md).

  ## Related resources

  n8n provides an app node for Slack. You can find the node docs [here](/integrations/builtin/app-nodes/n8n-nodes-base.slack.md).

  View [example workflows and related content](https://n8n.io/integrations/slack-trigger/){:target=_blank .external-link} on n8n's website.

  Refer to [Slack's documentation](https://api.slack.com/apis/connections/events-api){:target=_blank .external-link} for details about their API.

  ## Required scopes

  To use this node, you need to create an application in Slack and enable event subscriptions. Refer to [Slack credentials | Slack Trigger configuration](/integrations/builtin/credentials/slack.md#slack-trigger-configuration) for more information.

  You must add the appropriate scopes to your Slack app for this trigger node to work.

  The node requires scopes for the [conversations.list](https://api.slack.com/methods/conversations.list){:target=blank .external-link} and [users.list](https://api.slack.com/methods/users.list){:target=blank .external-link} methods at minimum. Check out the [Scopes | Slack credentials](/integrations/builtin/credentials/slack.md#scopes) list for a more complete list of scopes.

  ## Common issues

  Here are some common errors and issues with the Slack Trigger node and steps to resolve or troubleshoot them.

  ### Workflow only works in testing or production

  Slack only allows you to register a single webhook per app. This means that you can't switch from using the testing URL to the production URL (and vice versa) without reconfiguring the registered webhook URL. 

  You may have trouble with this if you try to test a workflow that's also active in production. Slack will only send events to one of the two webhook URLs, so the other will never receive event notifications.

  To work around this, you can disable your workflow when testing:

  /// warning | Halts production traffic
  This temporarily disables your production workflow for testing. Your workflow will no longer receive production traffic while it's deactivated.
  ///

  1. Go to your workflow page.
  2. Toggle the **Active** switch in the top panel to disable the workflow temporarily.
  3. Edit the **Request URL** in your the [Slack Trigger configuration](/integrations/builtin/credentials/slack.md#slack-trigger-configuration) to use the testing webhook URL instead of the production webhook URL.
  4. Test your workflow using the test webhook URL.
  5. When you finish testing, edit the **Request URL** in your the [Slack Trigger configuration](/integrations/builtin/credentials/slack.md#slack-trigger-configuration) to use the production webhook URL instead of the testing webhook URL.
  6. Toggle the **Inactive** toggle to enable the workflow again. The production webhook URL should resume working.

  ### Token expired

  --8<-- "_snippets/integrations/builtin/credentials/slack/token-rotation.md"

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "hidden",
      "default": "accessToken"
    },
    {
      "displayName": "Set up a webhook in your Slack app to enable this node. <a href=\"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.slacktrigger/#configure-a-webhook-in-slack\" target=\"_blank\">More info</a>. We also recommend setting up a <a href=\"https://docs.n8n.io/integrations/builtin/trigger-nodes/n8n-nodes-base.slacktrigger/#verify-the-webhook\" target=\"_blank\">signing secret</a> to ensure the authenticity of requests.",
      "name": "notice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Trigger On",
      "name": "trigger",
      "type": "multiOptions",
      "default": [],
      "options": [
        {
          "name": "Any Event",
          "value": "any_event",
          "description": "Triggers on any event"
        },
        {
          "name": "Bot / App Mention",
          "value": "app_mention",
          "description": "When your bot or app is mentioned in a channel the app is added to"
        },
        {
          "name": "File Made Public",
          "value": "file_public",
          "description": "When a file is made public"
        },
        {
          "name": "File Shared",
          "value": "file_share",
          "description": "When a file is shared in a channel the app is added to"
        },
        {
          "name": "New Message Posted to Channel",
          "value": "message",
          "description": "When a message is posted to a channel the app is added to"
        },
        {
          "name": "New Public Channel Created",
          "value": "channel_created",
          "description": "When a new public channel is created"
        },
        {
          "name": "New User",
          "value": "team_join",
          "description": "When a new user is added to Slack"
        },
        {
          "name": "Reaction Added",
          "value": "reaction_added",
          "description": "When a reaction is added to a message the app is added to"
        }
      ]
    },
    {
      "displayName": "Watch Whole Workspace",
      "name": "watchWorkspace",
      "type": "boolean",
      "default": false,
      "description": "Whether to watch for the event in the whole workspace, rather than a specific channel",
      "displayOptions": {
        "show": {
          "trigger": [
            "any_event",
            "message",
            "reaction_added",
            "file_share",
            "app_mention"
          ]
        }
      }
    },
    {
      "displayName": "This will use one execution for every event in any channel your bot is in, use with caution",
      "name": "notice",
      "type": "notice",
      "default": "",
      "displayOptions": {
        "show": {
          "trigger": [
            "any_event",
            "message",
            "reaction_added",
            "file_share",
            "app_mention"
          ],
          "watchWorkspace": [
            true
          ]
        }
      }
    },
    {
      "displayName": "Channel to Watch",
      "name": "channelId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "description": "The Slack channel to listen to events from. Applies to events: Bot/App mention, File Shared, New Message Posted on Channel, Reaction Added.",
      "required": true,
      "displayOptions": {
        "show": {
          "watchWorkspace": [
            false
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a channel...",
          "typeOptions": {
            "searchListMethod": "getChannels",
            "searchable": true
          }
        },
        {
          "displayName": "By ID",
          "name": "id",
          "type": "string",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "[a-zA-Z0-9]{2,}",
                "errorMessage": "Not a valid Slack Channel ID"
              }
            }
          ],
          "placeholder": "C0122KQ70S7E"
        },
        {
          "displayName": "By URL",
          "name": "url",
          "type": "string",
          "placeholder": "https://app.slack.com/client/TS9594PZK/B0556F47Z3A",
          "validation": [
            {
              "type": "regex",
              "properties": {
                "regex": "http(s)?://app.slack.com/client/.*/([a-zA-Z0-9]{2,})",
                "errorMessage": "Not a valid Slack Channel URL"
              }
            }
          ],
          "extractValue": {
            "type": "regex",
            "regex": "https://app.slack.com/client/.*/([a-zA-Z0-9]{2,})"
          }
        }
      ]
    },
    {
      "displayName": "Download Files",
      "name": "downloadFiles",
      "type": "boolean",
      "default": false,
      "description": "Whether to download the files and add it to the output",
      "displayOptions": {
        "show": {
          "trigger": [
            "any_event",
            "file_share"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Resolve IDs",
          "name": "resolveIds",
          "type": "boolean",
          "default": false,
          "description": "Whether to resolve the IDs to their respective names and return them"
        },
        {
          "displayName": "Usernames or IDs to Ignore",
          "name": "userIds",
          "type": "multiOptions",
          "typeOptions": {
            "loadOptionsMethod": "getUsers"
          },
          "default": [],
          "description": "A comma-separated string of encoded user IDs. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>."
        }
      ]
    }
  ]


node_type: nodes-base.sms77Tool
package_name: n8n-nodes-base
display_name: seven Tool
description: Send SMS and make text-to-speech calls (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "send",
  "name": "Send",
  "description": "Send SMS"
  }
  ]

credentials_required:
  [
  {
  "name": "sms77Api",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-21 08:10:03
tool_variant_of: nodes-base.sms77
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: seven node documentation
  description: Learn how to use the seven node in n8n. Follow technical documentation to integrate seven node into your workflows.
  contentType: [integration, reference]
  ---

  # seven node

  Use the seven node to automate work in seven, and integrate seven with other applications. n8n has built-in support for a wide range of seven features, including sending SMS, and converting text to voice. 

  On this page, you'll find a list of operations the seven node supports and links to more resources.

  /// note | Credentials
  Refer to [seven credentials](/integrations/builtin/credentials/sms77.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * SMS
      * Send SMS
  * Voice Call
      * Converts text to voice and calls a given number

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'sms77') ]]

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with seven"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "sms",
      "options": [
        {
          "name": "SMS",
          "value": "sms"
        },
        {
          "name": "Voice Call",
          "value": "voice"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Send SMS",
          "action": "Send an SMS"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "sms"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Converts text to voice and calls a given number",
          "action": "Convert text to voice"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "voice"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "From",
      "name": "from",
      "type": "string",
      "default": "",
      "description": "The caller ID displayed in the receivers display. Max 16 numeric or 11 alphanumeric characters.",
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "to",
      "type": "string",
      "default": "",
      "description": "The number of your recipient(s) separated by comma. Can be regular numbers or contact/groups from seven.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms",
            "voice"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The message to send. Max. 1520 characters",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms",
            "voice"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Delay",
          "name": "delay",
          "type": "dateTime",
          "default": "",
          "description": "Pick a date for time delayed dispatch"
        },
        {
          "displayName": "Foreign ID",
          "name": "foreign_id",
          "type": "string",
          "default": "",
          "placeholder": "MyCustomForeignID",
          "description": "Custom foreign ID returned in DLR callbacks"
        },
        {
          "displayName": "Flash",
          "name": "flash",
          "type": "boolean",
          "default": false,
          "description": "Send as flash message being displayed directly the receiver's display"
        },
        {
          "displayName": "Label",
          "name": "label",
          "type": "string",
          "default": "",
          "placeholder": "MyCustomLabel",
          "description": "Custom label used to group analytics"
        },
        {
          "displayName": "Performance Tracking",
          "name": "performance_tracking",
          "type": "boolean",
          "default": false,
          "description": "Whether to enable performance tracking for URLs found in the message text"
        },
        {
          "displayName": "TTL",
          "name": "ttl",
          "type": "number",
          "default": 2880,
          "typeOptions": {
            "minValue": 1
          },
          "description": "Custom time to live specifying the validity period of a message in minutes"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "From",
          "name": "from",
          "type": "string",
          "default": "",
          "placeholder": "+4901234567890",
          "description": "The caller ID. Please use only verified sender IDs, one of your virtual inbound numbers or one of our shared virtual numbers."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "voice"
          ]
        }
      }
    }
  ]


node_type: nodes-base.sms77
package_name: n8n-nodes-base
display_name: seven
description: Send SMS and make text-to-speech calls
category: transform
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "send",
  "name": "Send",
  "description": "Send SMS"
  }
  ]

credentials_required:
  [
  {
  "name": "sms77Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: seven node documentation
  description: Learn how to use the seven node in n8n. Follow technical documentation to integrate seven node into your workflows.
  contentType: [integration, reference]
  ---

  # seven node

  Use the seven node to automate work in seven, and integrate seven with other applications. n8n has built-in support for a wide range of seven features, including sending SMS, and converting text to voice. 

  On this page, you'll find a list of operations the seven node supports and links to more resources.

  /// note | Credentials
  Refer to [seven credentials](/integrations/builtin/credentials/sms77.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * SMS
      * Send SMS
  * Voice Call
      * Converts text to voice and calls a given number

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'sms77') ]]

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "sms",
      "options": [
        {
          "name": "SMS",
          "value": "sms"
        },
        {
          "name": "Voice Call",
          "value": "voice"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Send SMS",
          "action": "Send an SMS"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "sms"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "send",
      "options": [
        {
          "name": "Send",
          "value": "send",
          "description": "Converts text to voice and calls a given number",
          "action": "Convert text to voice"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "voice"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "From",
      "name": "from",
      "type": "string",
      "default": "",
      "description": "The caller ID displayed in the receivers display. Max 16 numeric or 11 alphanumeric characters.",
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    },
    {
      "displayName": "To",
      "name": "to",
      "type": "string",
      "default": "",
      "description": "The number of your recipient(s) separated by comma. Can be regular numbers or contact/groups from seven.",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms",
            "voice"
          ]
        }
      }
    },
    {
      "displayName": "Message",
      "name": "message",
      "type": "string",
      "default": "",
      "description": "The message to send. Max. 1520 characters",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms",
            "voice"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Delay",
          "name": "delay",
          "type": "dateTime",
          "default": "",
          "description": "Pick a date for time delayed dispatch"
        },
        {
          "displayName": "Foreign ID",
          "name": "foreign_id",
          "type": "string",
          "default": "",
          "placeholder": "MyCustomForeignID",
          "description": "Custom foreign ID returned in DLR callbacks"
        },
        {
          "displayName": "Flash",
          "name": "flash",
          "type": "boolean",
          "default": false,
          "description": "Send as flash message being displayed directly the receiver's display"
        },
        {
          "displayName": "Label",
          "name": "label",
          "type": "string",
          "default": "",
          "placeholder": "MyCustomLabel",
          "description": "Custom label used to group analytics"
        },
        {
          "displayName": "Performance Tracking",
          "name": "performance_tracking",
          "type": "boolean",
          "default": false,
          "description": "Whether to enable performance tracking for URLs found in the message text"
        },
        {
          "displayName": "TTL",
          "name": "ttl",
          "type": "number",
          "default": 2880,
          "typeOptions": {
            "minValue": 1
          },
          "description": "Custom time to live specifying the validity period of a message in minutes"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "sms"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "From",
          "name": "from",
          "type": "string",
          "default": "",
          "placeholder": "+4901234567890",
          "description": "The caller ID. Please use only verified sender IDs, one of your virtual inbound numbers or one of our shared virtual numbers."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "send"
          ],
          "resource": [
            "voice"
          ]
        }
      }
    }
  ]


node_type: nodes-base.snowflakeTool
package_name: n8n-nodes-base
display_name: Snowflake Tool
description: Get, add and update data in Snowflake (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "snowflake",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-21 08:10:03
tool_variant_of: nodes-base.snowflake
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Snowflake node documentation
  description: Learn how to use the Snowflake node in n8n. Follow technical documentation to integrate Snowflake node into your workflows.
  contentType: [integration, reference]
  ---

  # Snowflake node

  Use the Snowflake node to automate work in Snowflake, and integrate Snowflake with other applications. n8n has built-in support for a wide range of Snowflake features, including executing SQL queries, and inserting rows in a database. 

  On this page, you'll find a list of operations the Snowflake node supports and links to more resources.

  /// note | Credentials
  Refer to [Snowflake credentials](/integrations/builtin/credentials/snowflake.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Execute an SQL query.
  * Insert rows in database.
  * Update rows in database.

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'snowflake') ]]

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Snowflake"
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "insert",
      "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"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL query to execute",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "executeQuery"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to insert data to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to update data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Key",
      "name": "updateKey",
      "type": "string",
      "default": "id",
      "description": "Name of the property which decides which rows in the database should be updated. Normally that would be \"id\".",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for rows to update",
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "executeQuery",
      "name": "Execute Query",
      "description": "Execute an SQL query"
    },
    {
      "operation": "insert",
      "name": "Insert",
      "description": "Insert rows in database"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update rows in database"
    }
  ]


node_type: nodes-base.snowflake
package_name: n8n-nodes-base
display_name: Snowflake
description: Get, add and update data in Snowflake
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "snowflake",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Snowflake node documentation
  description: Learn how to use the Snowflake node in n8n. Follow technical documentation to integrate Snowflake node into your workflows.
  contentType: [integration, reference]
  ---

  # Snowflake node

  Use the Snowflake node to automate work in Snowflake, and integrate Snowflake with other applications. n8n has built-in support for a wide range of Snowflake features, including executing SQL queries, and inserting rows in a database. 

  On this page, you'll find a list of operations the Snowflake node supports and links to more resources.

  /// note | Credentials
  Refer to [Snowflake credentials](/integrations/builtin/credentials/snowflake.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Execute an SQL query.
  * Insert rows in database.
  * Update rows in database.

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'snowflake') ]]

properties_schema:
  [
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "insert",
      "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"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Query",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The SQL query to execute",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "executeQuery"
          ]
        }
      },
      "typeOptions": {
        "editor": "sqlEditor"
      },
      "noDataExpression": true
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to insert data to",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "operation": [
            "insert"
          ]
        }
      }
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Name of the table in which to update data in",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Key",
      "name": "updateKey",
      "type": "string",
      "default": "id",
      "description": "Name of the property which decides which rows in the database should be updated. Normally that would be \"id\".",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for rows to update",
      "displayOptions": {
        "show": {
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
[cell repeats an earlier one in this file: 321 characters]


node_type: nodes-base.splitInBatches
package_name: n8n-nodes-base
display_name: Split In Batches
description: Split data into batches and iterate over each batch
category: organization
development_style: programmatic
version: 3
operations: []
credentials_required: []
outputs:
  [
  "main",
  "main"
  ]

output_names:
  [
  "done",
  "loop"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Loop Over Items (Split in Batches)
  description: Documentation for the Loop Over Items node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples.
  contentType: [integration, reference]
  priority: critical
  ---

  # Loop Over Items

  The Loop Over Items node helps you loop through data when needed.

  The node saves the original incoming data, and with each iteration, returns a predefined amount of data through the **loop** output.

  When the node execution completes, it combines all of the processed data and returns it through the **done** output.



  ## CRITICAL OUTPUT CONNECTION INFORMATION

  **⚠️ OUTPUT INDICES ARE COUNTERINTUITIVE ⚠️**

  The SplitInBatches node has TWO outputs with specific indices:
  - **Output 0 (index 0) = "done"**: Receives final processed data when loop completes
  - **Output 1 (index 1) = "loop"**: Receives current batch data during iteration

  ### Correct Connection Pattern:
  1. Connect nodes that PROCESS items inside the loop to **Output 1 ("loop")**
  2. Connect nodes that run AFTER the loop completes to **Output 0 ("done")**
  3. The last processing node in the loop must connect back to the SplitInBatches node

  ### Common Mistake:
  AI assistants often connect these backwards because the logical flow (loop first, then done) doesn't match the technical indices (done=0, loop=1).

  ## When to use the Loop Over Items node

  By default, n8n nodes are designed to process a list of input items (with some exceptions, detailed below). Depending on what you're trying to achieve, you often don't need the Loop Over Items node in your workflow. You can learn more about how n8n processes multiple items on the [looping in n8n](/flow-logic/looping.md) page.

  These links highlight some of the cases where the Loop Over Items node can be useful:

  * [Loop until all items are processed](/flow-logic/looping.md#loop-until-all-items-are-processed): describes how the Loop Over Items node differs from normal item processing and when you might want to incorporate this node.
  * [Node exceptions](/flow-logic/looping.md#node-exceptions): outlines specific cases and nodes where you may need to use the Loop Over Items node to manually build looping logic.
  * [Avoiding rate limiting](/integrations/builtin/rate-limits.md): demonstrates how to batch API requests to avoid rate limits from other services.

  ## Node parameters

  ### Batch Size

  Enter the number of items to return with each call.

  ## Node options

  ### Reset

  If turned on, the node will reset with the current input-data newly initialized with each loop. Use this when you want the Loop Over Items node to treat incoming data as a new set of data instead of a continuation of previous items.

  For example, you can use the Loop Over Items node with the reset option and an [If node](/integrations/builtin/core-nodes/n8n-nodes-base.if.md) to query a paginated service when you don't know how many pages you need in advance. The loop queries pages one at a time, performs any processing, and increments the page number. The loop reset ensures the loop recognizes each iteration as a new set of data. The If node evaluates an exit condition to decide whether to perform another iteration or not.

  /// warning | Include a valid termination condition
  For workflows like the example described above, it's critical to include a valid termination condition for the loop. If your termination condition never matches, your workflow execution will get stuck in an infinite loop.
  ///

  When enabled, you can adjust the reset conditions by switching the parameter representation from **Fixed** to **Expression**. The results of your expression evaluation determine when the node will reset item processing.

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'split-in-batches') ]]

  ### Read RSS feed from two different sources

  This workflow allows you to read an RSS feed from two different sources using the Loop Over Items node. You need the Loop Over Items node in the workflow as the RSS Feed Read node only processes the first item it receives. You can also find the [workflow](https://n8n.io/workflows/687-read-rss-feed-from-two-different-sources/){:target=_blank .external-link} on n8n.io.

  The example walks through building the workflow, but assumes you are already familiar with n8n. To build your first workflow, including learning how to add nodes to a workflow, refer to [Try it out](/try-it-out/index.md).

  The final workflow looks like this:

  [[ workflowDemo("file:///integrations/builtin/core-nodes/n8n-nodes-base.splitinbatches/rss-feed-example.json") ]]

  Copy the workflow file above and paste into your instance, or manually build it by following these steps:

  1. Add the manual trigger.
  2. Add the Code node.
  3. Copy this code into the Code node:
  	```js
  	return [
  		{
  			json: {
  				url: 'https://medium.com/feed/n8n-io',
  			}
  		},
  		{
  			json: {
  				url: 'https://dev.to/feed/n8n',
  			}
  		}
  	];
  	```
  4. Add the Loop Over Items node.
  5. Configure Loop Over Items: set the batch size to `1` in the **Batch Size** field.
  6. Add the RSS Feed Read node.
  7. Select **Test Workflow**. This runs the workflow to load data into the RSS Feed Read node.
  8. Configure RSS Feed Read: map `url` from the input to the **URL** field. You can do this by dragging and dropping from the **INPUT** panel, or using this expression: `{{ $json.url }}`.
  9. Select **Test Workflow** to run the workflow and see the resulting data.

  ### Check that the node has processed all items

  To check if the node still has items to process, use the following expression: `{{$node["Loop Over Items"].context["noItemsLeft"]}}`. This expression returns a boolean value. If the node still has data to process, the expression returns `false`, otherwise it returns `true`.

  ### Get the current running index of the node

  To get the current running index of the node, use the following expression: `{{$node["Loop Over Items"].context["currentRunIndex"];}}`.

properties_schema:
  [
    {
      "displayName": "You may not need this node — n8n nodes automatically run once for each input item. <a href=\"https://docs.n8n.io/getting-started/key-concepts/looping.html#using-loops-in-n8n\" target=\"_blank\">More info</a>",
      "name": "splitInBatchesNotice",
      "type": "notice",
      "default": ""
    },
    {
      "displayName": "Batch Size",
      "name": "batchSize",
      "type": "number",
      "default": 1,
      "description": "The number of items to return with each call",
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Reset",
          "name": "reset",
          "type": "boolean",
          "default": false,
          "description": "Whether the node starts again from the beginning of the input items. This will treat incoming data as a new set rather than continuing with the previous items."
        }
      ]
    }
  ]


node_type: nodes-base.splunk
package_name: n8n-nodes-base
display_name: Splunk
description: Consume the Splunk Enterprise API
category: transform
development_style: programmatic
version: 2
credentials_required:
  [
  {
  "name": "splunkApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Splunk node documentation
  description: Learn how to use the Splunk node in n8n. Follow technical documentation to integrate Splunk node into your workflows.
  contentType: [integration, reference]
  ---

  # Splunk node

  Use the Splunk node to automate work in Splunk, and integrate Splunk with other applications. n8n has built-in support for a wide range of Splunk features, including getting fired alerts reports, as well as deleting and getting search configuration. 

  On this page, you'll find a list of operations the Splunk node supports and links to more resources.

  /// note | Credentials
  Refer to [Splunk credentials](/integrations/builtin/credentials/splunk.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Fired Alert
      * Get a fired alerts report
  * Search Configuration
      * Delete a search configuration
      * Get a search configuration
      * Get many search configurations
  * Search Job
      * Create a search job
      * Delete a search job
      * Get a search job
      * Get many search jobs
  * Search Result
      * Get many search results
  * User
      * Create a user
      * Delete a user
      * Get a user
      * Get many users
      * Update a user

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'splunk') ]]

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "search",
      "options": [
        {
          "name": "Alert",
          "value": "alert"
        },
        {
          "name": "Report",
          "value": "report"
        },
        {
          "name": "Search",
          "value": "search"
        },
        {
          "name": "User",
          "value": "user"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getReport",
      "options": [
        {
          "name": "Get Fired Alerts",
          "value": "getReport",
          "description": "Retrieve a fired alerts report",
          "action": "Get a fired alerts report"
        },
        {
          "name": "Get Metrics",
          "value": "getMetrics",
          "description": "Retrieve metrics",
          "action": "Get metrics"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "alert"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getAll",
      "options": [
        {
          "name": "Create From Search",
          "value": "create",
          "description": "Create a search report from a search job",
          "action": "Create a search report"
        },
        {
          "name": "Delete",
          "value": "deleteReport",
          "description": "Delete a search report",
          "action": "Delete a search report"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a search report",
          "action": "Get a search report"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many search reports",
          "action": "Get many search reports"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Search Job",
      "name": "searchJobId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a search job...",
          "typeOptions": {
            "searchListMethod": "searchJobs",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 1718944376.178"
        }
      ]
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the report",
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Report",
      "name": "reportId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "deleteReport"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a report...",
          "typeOptions": {
            "searchListMethod": "searchReports",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. Errors%20in%20the%20last%20hour"
        }
      ]
    },
    {
      "displayName": "Report",
      "name": "reportId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a report...",
          "typeOptions": {
            "searchListMethod": "searchReports",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. Errors%20in%20the%20last%20hour"
        }
      ]
    },
    {
      "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": [
            "report"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "report"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Add Orphan Field",
          "name": "add_orphan_field",
          "description": "Whether to include a boolean value for each saved search to show whether the search is orphaned, meaning that it has no valid owner",
          "type": "boolean",
          "default": false
        },
        {
          "displayName": "List Default Actions",
          "name": "listDefaultActionArgs",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "report"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a search job",
          "action": "Create a search job"
        },
        {
          "name": "Delete",
          "value": "deleteJob",
          "description": "Delete a search job",
          "action": "Delete a search job"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve a search job",
          "action": "Get a search job"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many search jobs",
          "action": "Get many search jobs"
        },
        {
          "name": "Get Result",
          "value": "getResult",
          "description": "Get the result of a search job",
          "action": "Get the result of a search job"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Query",
      "name": "search",
      "type": "string",
      "default": "",
      "description": "Search language string to execute, in Splunk's <a href=\"https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/WhatsInThisManual\">Search Processing Language</a>",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "rows": 2
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Ad Hoc Search Level",
          "name": "adhoc_search_level",
          "type": "options",
          "default": "verbose",
          "options": [
            {
              "name": "Fast",
              "value": "fast"
            },
            {
              "name": "Smart",
              "value": "smart"
            },
            {
              "name": "Verbose",
              "value": "verbose"
            }
          ]
        },
        {
          "displayName": "Auto-Cancel After (Seconds)",
          "name": "auto_cancel",
          "type": "number",
          "default": 0,
          "description": "Seconds after which the search job automatically cancels"
        },
        {
          "displayName": "Auto-Finalize After (Num Events)",
          "name": "auto_finalize_ec",
          "type": "number",
          "default": 0,
          "description": "Auto-finalize the search after at least this many events are processed"
        },
        {
          "displayName": "Auto Pause After (Seconds)",
          "name": "auto_pause",
          "type": "number",
          "default": 0,
          "description": "Seconds of inactivity after which the search job automatically pauses"
        },
        {
          "displayName": "Earliest Index",
          "name": "index_earliest",
          "type": "dateTime",
          "default": "",
          "description": "The earliest index time for the search (inclusive)"
        },
        {
          "displayName": "Earliest Time",
          "name": "earliest_time",
          "type": "dateTime",
          "default": "",
          "description": "The earliest cut-off for the search (inclusive)"
        },
        {
          "displayName": "Exec Mode",
          "name": "exec_mode",
          "type": "options",
          "default": "blocking",
          "options": [
            {
              "name": "Blocking",
              "value": "blocking"
            },
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "One Shot",
              "value": "oneshot"
            }
          ]
        },
        {
          "displayName": "Indexed Real Time Offset",
          "name": "indexedRealtimeOffset",
          "type": "number",
          "default": 0,
          "description": "Seconds of disk sync delay for indexed real-time search"
        },
        {
          "displayName": "Latest Index",
          "name": "index_latest",
          "type": "dateTime",
          "default": "",
          "description": "The latest index time for the search (inclusive)"
        },
        {
          "displayName": "Latest Time",
          "name": "latest_time",
          "type": "dateTime",
          "default": "",
          "description": "The latest cut-off for the search (inclusive)"
        },
        {
          "displayName": "Max Time",
          "name": "max_time",
          "type": "number",
          "default": 0,
          "description": "Number of seconds to run this search before finalizing. Enter <code>0</code> to never finalize."
        },
        {
          "displayName": "Namespace",
          "name": "namespace",
          "type": "string",
          "default": "",
          "description": "Application namespace in which to restrict searches"
        },
        {
          "displayName": "Reduce Frequency",
          "name": "reduce_freq",
          "type": "number",
          "default": 0,
          "description": "How frequently to run the MapReduce reduce phase on accumulated map values"
        },
        {
          "displayName": "Remote Server List",
          "name": "remote_server_list",
          "type": "string",
          "default": "",
          "description": "Comma-separated list of (possibly wildcarded) servers from which raw events should be pulled. This same server list is to be used in subsearches."
        },
        {
          "displayName": "Reuse Limit (Seconds)",
          "name": "reuse_max_seconds_ago",
          "type": "number",
          "default": 0,
          "description": "Number of seconds ago to check when an identical search is started and return the job’s search ID instead of starting a new job"
        },
        {
          "displayName": "Required Field",
          "name": "rf",
          "type": "string",
          "default": "",
          "description": "Name of a required field to add to the search. Even if not referenced or used directly by the search, a required field is still included in events and summary endpoints."
        },
        {
          "displayName": "Search Mode",
          "name": "search_mode",
          "type": "options",
          "default": "normal",
          "options": [
            {
              "name": "Normal",
              "value": "normal"
            },
            {
              "name": "Real Time",
              "value": "realtime"
            }
          ]
        },
        {
          "displayName": "Status Buckets",
          "name": "status_buckets",
          "type": "number",
          "default": 0,
          "description": "The most status buckets to generate. Set <code>0</code> generate no timeline information."
        },
        {
          "displayName": "Timeout",
          "name": "timeout",
          "type": "number",
          "default": 86400,
          "description": "Number of seconds to keep this search after processing has stopped"
        },
        {
          "displayName": "Workload Pool",
          "name": "workload_pool",
          "type": "string",
          "default": "",
          "description": "New workload pool where the existing running search should be placed"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Search Job",
      "name": "searchJobId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ],
          "operation": [
            "deleteJob"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a search job...",
          "typeOptions": {
            "searchListMethod": "searchJobs",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 1718944376.178"
        }
      ]
    },
    {
      "displayName": "Search Job",
      "name": "searchJobId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a search job...",
          "typeOptions": {
            "searchListMethod": "searchJobs",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 1718944376.178"
        }
      ]
    },
    {
      "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": [
            "search"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "search"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Sort",
      "name": "sort",
      "type": "fixedCollection",
      "default": {},
      "options": [
        {
          "displayName": "Values",
          "name": "values",
          "values": [
            {
              "displayName": "Sort Direction",
              "name": "sort_dir",
              "type": "options",
              "options": [
                {
                  "name": "Ascending",
                  "value": "asc"
                },
                {
                  "name": "Descending",
                  "value": "desc"
                }
              ],
              "default": "asc"
            },
            {
              "displayName": "Sort Key",
              "name": "sort_key",
              "description": "Key name to use for sorting",
              "type": "string",
              "placeholder": "e.g. diskUsage",
              "default": ""
            },
            {
              "displayName": "Sort Mode",
              "name": "sort_mode",
              "type": "options",
              "options": [
                {
                  "name": "Automatic",
                  "value": "auto",
                  "description": "If all field values are numeric, collate numerically. Otherwise, collate alphabetically."
                },
                {
                  "name": "Alphabetic",
                  "value": "alpha",
                  "description": "Collate alphabetically, case-insensitive"
                },
                {
                  "name": "Alphabetic and Case-Sensitive",
                  "value": "alpha_case",
                  "description": "Collate alphabetically, case-sensitive"
                },
                {
                  "name": "Numeric",
                  "value": "num",
                  "description": "Collate numerically"
                }
              ],
              "default": "auto"
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Search Job",
      "name": "searchJobId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ],
          "operation": [
            "getResult"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a search job...",
          "typeOptions": {
            "searchListMethod": "searchJobs",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. 1718944376.178"
        }
      ]
    },
    {
      "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": [
            "search"
          ],
          "operation": [
            "getResult"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "search"
          ],
          "operation": [
            "getResult"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Key-Value Match",
          "name": "keyValueMatch",
          "description": "Key-value pair to match against. Example: if \"Key\" is set to <code>user</code> and \"Field\" is set to <code>john</code>, only the results where <code>user</code> is <code>john</code> will be returned.",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Key-Value Pair",
          "options": [
            {
              "displayName": "Key-Value Pair",
              "name": "keyValuePair",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "description": "Key to match against",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "description": "Value to match against",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ],
          "operation": [
            "getResult"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Add Summary to Metadata",
          "name": "add_summary_to_metadata",
          "description": "Whether to include field summary statistics in the response",
          "type": "boolean",
          "default": false
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "search"
          ],
          "operation": [
            "getResult"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an user",
          "action": "Create a user"
        },
        {
          "name": "Delete",
          "value": "deleteUser",
          "description": "Delete an user",
          "action": "Delete a user"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Retrieve an user",
          "action": "Get a user"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Retrieve many users",
          "action": "Get many users"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an user",
          "action": "Update a user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Login name of the user",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Roles",
      "name": "roles",
      "type": "multiOptions",
      "default": [
        "user"
      ],
      "description": "Comma-separated list of roles to assign to the user. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getRoles"
      }
    },
    {
      "displayName": "Password",
      "name": "password",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "password": true
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "Full Name",
          "name": "realname",
          "type": "string",
          "default": "",
          "description": "Full name of the user"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "User",
      "name": "userId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "deleteUser"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a user...",
          "typeOptions": {
            "searchListMethod": "searchUsers",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. admin"
        }
      ]
    },
    {
      "displayName": "User",
      "name": "userId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a user...",
          "typeOptions": {
            "searchListMethod": "searchUsers",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. admin"
        }
      ]
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "returnAll": [
            false
          ],
          "resource": [
            "user"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1
      }
    },
    {
      "displayName": "User",
      "name": "userId",
      "type": "resourceLocator",
      "default": {
        "mode": "list",
        "value": ""
      },
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      },
      "modes": [
        {
          "displayName": "From List",
          "name": "list",
          "type": "list",
          "placeholder": "Select a user...",
          "typeOptions": {
            "searchListMethod": "searchUsers",
            "searchable": true
          }
        },
        {
          "displayName": "ID",
          "name": "id",
          "type": "string",
          "placeholder": "e.g. admin"
        }
      ]
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": ""
        },
        {
          "displayName": "Full Name",
          "name": "realname",
          "type": "string",
          "default": "",
          "description": "Full name of the user"
        },
        {
          "displayName": "Password",
          "name": "password",
          "type": "string",
          "typeOptions": {
            "password": true
          },
          "default": ""
        },
        {
          "displayName": "Role Names or IDs",
          "name": "roles",
          "type": "multiOptions",
          "description": "Comma-separated list of roles to assign to the user. Choose from the list, or specify IDs using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
          "default": [],
          "typeOptions": {
            "loadOptionsMethod": "getRoles"
          }
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "user"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "getReport",
      "name": "Get Fired Alerts",
      "description": "Retrieve a fired alerts report"
    },
    {
      "operation": "getMetrics",
      "name": "Get Metrics",
      "description": "Retrieve metrics"
    }
  ]


node_type: nodes-base.spotifyTool
package_name: n8n-nodes-base
display_name: Spotify Tool
description: Access public song data via the Spotify API (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "spotifyOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-21 08:10:03
tool_variant_of: nodes-base.spotify
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Spotify node documentation
  description: Learn how to use the Spotify node in n8n. Follow technical documentation to integrate Spotify node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Spotify node

  Use the Spotify node to automate work in Spotify, and integrate Spotify with other applications. n8n has built-in support for a wide range of Spotify features, including getting album and artist information. 

  On this page, you'll find a list of operations the Spotify node supports and links to more resources.

  /// note | Credentials
  Refer to [Spotify credentials](/integrations/builtin/credentials/spotify.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Album
      * Get an album by URI or ID.
      * Get a list of new album releases.
      * Get an album's tracks by URI or ID.
      * Search albums by keyword.
  * Artist
      * Get an artist by URI or ID.
      * Get an artist's albums by URI or ID.
      * Get an artist's related artists by URI or ID.
      * Get an artist's top tracks by URI or ID.
      * Search artists by keyword.
  * Library
      * Get the user's liked tracks.
  * My Data
      * Get your followed artists.
  * Player
      * Add a song to your queue.
      * Get your currently playing track.
      * Skip to your next track.
      * Pause your music.
      * Skip to your previous song.
      * Get your recently played tracks.
      * Resume playback on the current active device.
      * Set volume on the current active device.
      * Start playing a playlist, artist, or album.
  * Playlist
      * Add tracks from a playlist by track and playlist URI or ID.
      * Create a new playlist.
      * Get a playlist by URI or ID.
      * Get a playlist's tracks by URI or ID.
      * Get a user's playlists.
      * Remove tracks from a playlist by track and playlist URI or ID.
      * Search playlists by keyword.
  * Track
      * Get a track by its URI or ID.
      * Get audio features for a track by URI or ID.
      * Search tracks by keyword

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'spotify') ]]

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Spotify"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "player",
      "options": [
        {
          "name": "Album",
          "value": "album"
        },
        {
          "name": "Artist",
          "value": "artist"
        },
        {
          "name": "Library",
          "value": "library"
        },
        {
          "name": "My Data",
          "value": "myData"
        },
        {
          "name": "Player",
          "value": "player"
        },
        {
          "name": "Playlist",
          "value": "playlist"
        },
        {
          "name": "Track",
          "value": "track"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "addSongToQueue",
      "options": [
        {
          "name": "Add Song to Queue",
          "value": "addSongToQueue",
          "description": "Add a song to your queue",
          "action": "Add a song to a queue"
        },
        {
          "name": "Currently Playing",
          "value": "currentlyPlaying",
          "description": "Get your currently playing track",
          "action": "Get the currently playing track"
        },
        {
          "name": "Next Song",
          "value": "nextSong",
          "description": "Skip to your next track",
          "action": "Skip to the next track"
        },
        {
          "name": "Pause",
          "value": "pause",
          "description": "Pause your music",
          "action": "Pause the player"
        },
        {
          "name": "Previous Song",
          "value": "previousSong",
          "description": "Skip to your previous song",
          "action": "Skip to the previous song"
        },
        {
          "name": "Recently Played",
          "value": "recentlyPlayed",
          "description": "Get your recently played tracks",
          "action": "Get the recently played tracks"
        },
        {
          "name": "Resume",
          "value": "resume",
          "description": "Resume playback on the current active device",
          "action": "Resume the player"
        },
        {
          "name": "Set Volume",
          "value": "volume",
          "description": "Set volume on the current active device",
          "action": "Set volume on the player"
        },
        {
          "name": "Start Music",
          "value": "startMusic",
          "description": "Start playing a playlist, artist, or album",
          "action": "Start music on the player"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "player"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Resource ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Enter a playlist, artist, or album URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "player"
          ],
          "operation": [
            "startMusic"
          ]
        }
      }
    },
    {
      "displayName": "Track ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Enter a track URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "player"
          ],
          "operation": [
            "addSongToQueue"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get an album by URI or ID",
          "action": "Get an album"
        },
        {
          "name": "Get New Releases",
          "value": "getNewReleases",
          "description": "Get a list of new album releases",
          "action": "Get new album releases"
        },
        {
          "name": "Get Tracks",
          "value": "getTracks",
          "description": "Get an album's tracks by URI or ID",
          "action": "Get an album's tracks by URI or ID"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search albums by keyword",
          "action": "Search albums by keyword"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "album"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Album ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "The album's Spotify URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "album"
          ],
          "operation": [
            "get",
            "getTracks"
          ]
        },
        "hide": {
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Search Keyword",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The keyword term to search for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "album"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get an artist by URI or ID",
          "action": "Get an artist"
        },
        {
          "name": "Get Albums",
          "value": "getAlbums",
          "description": "Get an artist's albums by URI or ID",
          "action": "Get an artist's albums by URI or ID"
        },
        {
          "name": "Get Related Artists",
          "value": "getRelatedArtists",
          "description": "Get an artist's related artists by URI or ID",
          "action": "Get an artist's related artists by URI or ID"
        },
        {
          "name": "Get Top Tracks",
          "value": "getTopTracks",
          "description": "Get an artist's top tracks by URI or ID",
          "action": "Get an artist's top tracks by URI or ID"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search artists by keyword",
          "action": "Search artists by keyword"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "artist"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Artist ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "The artist's Spotify URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "artist"
          ]
        },
        "hide": {
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Country",
      "name": "country",
      "type": "string",
      "default": "US",
      "description": "Top tracks in which country? Enter the postal abbreviation",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "artist"
          ],
          "operation": [
            "getTopTracks"
          ]
        }
      }
    },
    {
      "displayName": "Search Keyword",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The keyword term to search for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "artist"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add an Item",
          "value": "add",
          "description": "Add tracks to a playlist by track and playlist URI or ID",
          "action": "Add an Item to a playlist"
        },
        {
          "name": "Create a Playlist",
          "value": "create",
          "description": "Create a new playlist",
          "action": "Create a playlist"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a playlist by URI or ID",
          "action": "Get a playlist"
        },
        {
          "name": "Get the User's Playlists",
          "value": "getUserPlaylists",
          "description": "Get a user's playlists",
          "action": "Get a user's playlists"
        },
        {
          "name": "Get Tracks",
          "value": "getTracks",
          "description": "Get a playlist's tracks by URI or ID",
          "action": "Get a playlist's tracks by URI or ID"
        },
        {
          "name": "Remove an Item",
          "value": "delete",
          "description": "Remove tracks from a playlist by track and playlist URI or ID",
          "action": "Remove an item from a playlist"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search playlists by keyword",
          "action": "Search playlists by keyword"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Playlist ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "The playlist's Spotify URI or its ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "add",
            "delete",
            "get",
            "getTracks"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the playlist to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "placeholder": "These are all my favorite songs.",
          "description": "Description for the playlist to create"
        },
        {
          "displayName": "Public",
          "name": "public",
          "type": "boolean",
          "default": true,
          "description": "Whether the playlist is publicly accessible"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Track ID",
      "name": "trackID",
      "type": "string",
      "default": "",
      "description": "The track's Spotify URI or its ID. The track to add/delete from the playlist.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "add",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Position",
          "name": "position",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "placeholder": "0",
          "description": "The new track's position in the playlist"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Search Keyword",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The keyword term to search for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "track",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a track by its URI or ID",
          "action": "Get a track"
        },
        {
          "name": "Get Audio Features",
          "value": "getAudioFeatures",
          "description": "Get audio features for a track by URI or ID",
          "action": "Get audio features of a track"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search tracks by keyword",
          "action": "Search tracks by keyword"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Track ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "The track's Spotify URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ]
        },
        "hide": {
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Search Keyword",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The keyword term to search for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getLikedTracks",
      "options": [
        {
          "name": "Get Liked Tracks",
          "value": "getLikedTracks",
          "description": "Get the user's liked tracks",
          "action": "Get liked tracks"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "library"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getFollowingArtists",
      "options": [
        {
          "name": "Get Following Artists",
          "value": "getFollowingArtists",
          "description": "Get your followed artists",
          "action": "Get your followed artists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "myData"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "album",
            "artist",
            "library",
            "myData",
            "playlist",
            "track",
            "player"
          ],
          "operation": [
            "getTracks",
            "getAlbums",
            "getUserPlaylists",
            "getNewReleases",
            "getLikedTracks",
            "getFollowingArtists",
            "search",
            "recentlyPlayed"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "album",
            "artist",
            "library",
            "playlist",
            "track"
          ],
          "operation": [
            "getTracks",
            "getAlbums",
            "getUserPlaylists",
            "getNewReleases",
            "getLikedTracks",
            "search"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "myData",
            "player"
          ],
          "operation": [
            "getFollowingArtists",
            "recentlyPlayed"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 50
      }
    },
    {
      "displayName": "Volume",
      "name": "volumePercent",
      "type": "number",
      "default": 50,
      "description": "The volume percentage to set",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "player"
          ],
          "operation": [
            "volume"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Country",
          "name": "country",
          "type": "options",
          "default": "US",
          "options": [
            {
              "name": "Afghanistan",
              "value": "AF"
            },
            {
              "name": "Åland Islands",
              "value": "AX"
            },
            {
              "name": "Albania",
              "value": "AL"
            },
            {
              "name": "Algeria",
              "value": "DZ"
            },
            {
              "name": "American Samoa",
              "value": "AS"
            },
            {
              "name": "Andorra",
              "value": "AD"
            },
            {
              "name": "Angola",
              "value": "AO"
            },
            {
              "name": "Anguilla",
              "value": "AI"
            },
            {
              "name": "Antarctica",
              "value": "AQ"
            },
            {
              "name": "Antigua and Barbuda",
              "value": "AG"
            },
            {
              "name": "Argentina",
              "value": "AR"
            },
            {
              "name": "Armenia",
              "value": "AM"
            },
            {
              "name": "Aruba",
              "value": "AW"
            },
            {
              "name": "Australia",
              "value": "AU"
            },
            {
              "name": "Austria",
              "value": "AT"
            },
            {
              "name": "Azerbaijan",
              "value": "AZ"
            },
            {
              "name": "Bahamas (the)",
              "value": "BS"
            },
            {
              "name": "Bahrain",
              "value": "BH"
            },
            {
              "name": "Bangladesh",
              "value": "BD"
            },
            {
              "name": "Barbados",
              "value": "BB"
            },
            {
              "name": "Belarus",
              "value": "BY"
            },
            {
              "name": "Belgium",
              "value": "BE"
            },
            {
              "name": "Belize",
              "value": "BZ"
            },
            {
              "name": "Benin",
              "value": "BJ"
            },
            {
              "name": "Bermuda",
              "value": "BM"
            },
            {
              "name": "Bhutan",
              "value": "BT"
            },
            {
              "name": "Bolivia (Plurinational State of)",
              "value": "BO"
            },
            {
              "name": "Bonaire, Sint Eustatius and Saba",
              "value": "BQ"
            },
            {
              "name": "Bosnia and Herzegovina",
              "value": "BA"
            },
            {
              "name": "Botswana",
              "value": "BW"
            },
            {
              "name": "Bouvet Island",
              "value": "BV"
            },
            {
              "name": "Brazil",
              "value": "BR"
            },
            {
              "name": "British Indian Ocean Territory (the)",
              "value": "IO"
            },
            {
              "name": "Brunei Darussalam",
              "value": "BN"
            },
            {
              "name": "Bulgaria",
              "value": "BG"
            },
            {
              "name": "Burkina Faso",
              "value": "BF"
            },
            {
              "name": "Burundi",
              "value": "BI"
            },
            {
              "name": "Cabo Verde",
              "value": "CV"
            },
            {
              "name": "Cambodia",
              "value": "KH"
            },
            {
              "name": "Cameroon",
              "value": "CM"
            },
            {
              "name": "Canada",
              "value": "CA"
            },
            {
              "name": "Cayman Islands (the)",
              "value": "KY"
            },
            {
              "name": "Central African Republic (the)",
              "value": "CF"
            },
            {
              "name": "Chad",
              "value": "TD"
            },
            {
              "name": "Chile",
              "value": "CL"
            },
            {
              "name": "China",
              "value": "CN"
            },
            {
              "name": "Christmas Island",
              "value": "CX"
            },
            {
              "name": "Cocos (Keeling) Islands (the)",
              "value": "CC"
            },
            {
              "name": "Colombia",
              "value": "CO"
            },
            {
              "name": "Comoros (the)",
              "value": "KM"
            },
            {
              "name": "Congo (the Democratic Republic of the)",
              "value": "CD"
            },
            {
              "name": "Congo (the)",
              "value": "CG"
            },
            {
              "name": "Cook Islands (the)",
              "value": "CK"
            },
            {
              "name": "Costa Rica",
              "value": "CR"
            },
            {
              "name": "Côte d'Ivoire",
              "value": "CI"
            },
            {
              "name": "Croatia",
              "value": "HR"
            },
            {
              "name": "Cuba",
              "value": "CU"
            },
            {
              "name": "Curaçao",
              "value": "CW"
            },
            {
              "name": "Cyprus",
              "value": "CY"
            },
            {
              "name": "Czechia",
              "value": "CZ"
            },
            {
              "name": "Denmark",
              "value": "DK"
            },
            {
              "name": "Djibouti",
              "value": "DJ"
            },
            {
              "name": "Dominica",
              "value": "DM"
            },
            {
              "name": "Dominican Republic (the)",
              "value": "DO"
            },
            {
              "name": "Ecuador",
              "value": "EC"
            },
            {
              "name": "Egypt",
              "value": "EG"
            },
            {
              "name": "El Salvador",
              "value": "SV"
            },
            {
              "name": "Equatorial Guinea",
              "value": "GQ"
            },
            {
              "name": "Eritrea",
              "value": "ER"
            },
            {
              "name": "Estonia",
              "value": "EE"
            },
            {
              "name": "Ethiopia",
              "value": "ET"
            },
            {
              "name": "Falkland Islands (the) [Malvinas]",
              "value": "FK"
            },
            {
              "name": "Faroe Islands (the)",
              "value": "FO"
            },
            {
              "name": "Fiji",
              "value": "FJ"
            },
            {
              "name": "Finland",
              "value": "FI"
            },
            {
              "name": "France",
              "value": "FR"
            },
            {
              "name": "French Guiana",
              "value": "GF"
            },
            {
              "name": "French Polynesia",
              "value": "PF"
            },
            {
              "name": "French Southern Territories (the)",
              "value": "TF"
            },
            {
              "name": "Gabon",
              "value": "GA"
            },
            {
              "name": "Gambia (the)",
              "value": "GM"
            },
            {
              "name": "Georgia",
              "value": "GE"
            },
            {
              "name": "Germany",
              "value": "DE"
            },
            {
              "name": "Ghana",
              "value": "GH"
            },
            {
              "name": "Gibraltar",
              "value": "GI"
            },
            {
              "name": "Greece",
              "value": "GR"
            },
            {
              "name": "Greenland",
              "value": "GL"
            },
            {
              "name": "Grenada",
              "value": "GD"
            },
            {
              "name": "Guadeloupe",
              "value": "GP"
            },
            {
              "name": "Guam",
              "value": "GU"
            },
            {
              "name": "Guatemala",
              "value": "GT"
            },
            {
              "name": "Guernsey",
              "value": "GG"
            },
            {
              "name": "Guinea",
              "value": "GN"
            },
            {
              "name": "Guinea-Bissau",
              "value": "GW"
            },
            {
              "name": "Guyana",
              "value": "GY"
            },
            {
              "name": "Haiti",
              "value": "HT"
            },
            {
              "name": "Heard Island and McDonald Islands",
              "value": "HM"
            },
            {
              "name": "Holy See (the)",
              "value": "VA"
            },
            {
              "name": "Honduras",
              "value": "HN"
            },
            {
              "name": "Hong Kong",
              "value": "HK"
            },
            {
              "name": "Hungary",
              "value": "HU"
            },
            {
              "name": "Iceland",
              "value": "IS"
            },
            {
              "name": "India",
              "value": "IN"
            },
            {
              "name": "Indonesia",
              "value": "ID"
            },
            {
              "name": "Iran (Islamic Republic of)",
              "value": "IR"
            },
            {
              "name": "Iraq",
              "value": "IQ"
            },
            {
              "name": "Ireland",
              "value": "IE"
            },
            {
              "name": "Isle of Man",
              "value": "IM"
            },
            {
              "name": "Israel",
              "value": "IL"
            },
            {
              "name": "Italy",
              "value": "IT"
            },
            {
              "name": "Jamaica",
              "value": "JM"
            },
            {
              "name": "Japan",
              "value": "JP"
            },
            {
              "name": "Jersey",
              "value": "JE"
            },
            {
              "name": "Jordan",
              "value": "JO"
            },
            {
              "name": "Kazakhstan",
              "value": "KZ"
            },
            {
              "name": "Kenya",
              "value": "KE"
            },
            {
              "name": "Kiribati",
              "value": "KI"
            },
            {
              "name": "Korea (the Democratic People's Republic of)",
              "value": "KP"
            },
            {
              "name": "Korea (the Republic of)",
              "value": "KR"
            },
            {
              "name": "Kuwait",
              "value": "KW"
            },
            {
              "name": "Kyrgyzstan",
              "value": "KG"
            },
            {
              "name": "Lao People's Democratic Republic (the)",
              "value": "LA"
            },
            {
              "name": "Latvia",
              "value": "LV"
            },
            {
              "name": "Lebanon",
              "value": "LB"
            },
            {
              "name": "Lesotho",
              "value": "LS"
            },
            {
              "name": "Liberia",
              "value": "LR"
            },
            {
              "name": "Libya",
              "value": "LY"
            },
            {
              "name": "Liechtenstein",
              "value": "LI"
            },
            {
              "name": "Lithuania",
              "value": "LT"
            },
            {
              "name": "Luxembourg",
              "value": "LU"
            },
            {
              "name": "Macao",
              "value": "MO"
            },
            {
              "name": "Macedonia (the former Yugoslav Republic of)",
              "value": "MK"
            },
            {
              "name": "Madagascar",
              "value": "MG"
            },
            {
              "name": "Malawi",
              "value": "MW"
            },
            {
              "name": "Malaysia",
              "value": "MY"
            },
            {
              "name": "Maldives",
              "value": "MV"
            },
            {
              "name": "Mali",
              "value": "ML"
            },
            {
              "name": "Malta",
              "value": "MT"
            },
            {
              "name": "Marshall Islands (the)",
              "value": "MH"
            },
            {
              "name": "Martinique",
              "value": "MQ"
            },
            {
              "name": "Mauritania",
              "value": "MR"
            },
            {
              "name": "Mauritius",
              "value": "MU"
            },
            {
              "name": "Mayotte",
              "value": "YT"
            },
            {
              "name": "Mexico",
              "value": "MX"
            },
            {
              "name": "Micronesia (Federated States of)",
              "value": "FM"
            },
            {
              "name": "Moldova (the Republic of)",
              "value": "MD"
            },
            {
              "name": "Monaco",
              "value": "MC"
            },
            {
              "name": "Mongolia",
              "value": "MN"
            },
            {
              "name": "Montenegro",
              "value": "ME"
            },
            {
              "name": "Montserrat",
              "value": "MS"
            },
            {
              "name": "Morocco",
              "value": "MA"
            },
            {
              "name": "Mozambique",
              "value": "MZ"
            },
            {
              "name": "Myanmar",
              "value": "MM"
            },
            {
              "name": "Namibia",
              "value": "NA"
            },
            {
              "name": "Nauru",
              "value": "NR"
            },
            {
              "name": "Nepal",
              "value": "NP"
            },
            {
              "name": "Netherlands (the)",
              "value": "NL"
            },
            {
              "name": "New Caledonia",
              "value": "NC"
            },
            {
              "name": "New Zealand",
              "value": "NZ"
            },
            {
              "name": "Nicaragua",
              "value": "NI"
            },
            {
              "name": "Niger (the)",
              "value": "NE"
            },
            {
              "name": "Nigeria",
              "value": "NG"
            },
            {
              "name": "Niue",
              "value": "NU"
            },
            {
              "name": "Norfolk Island",
              "value": "NF"
            },
            {
              "name": "Northern Mariana Islands (the)",
              "value": "MP"
            },
            {
              "name": "Norway",
              "value": "NO"
            },
            {
              "name": "Oman",
              "value": "OM"
            },
            {
              "name": "Pakistan",
              "value": "PK"
            },
            {
              "name": "Palau",
              "value": "PW"
            },
            {
              "name": "Palestine, State of",
              "value": "PS"
            },
            {
              "name": "Panama",
              "value": "PA"
            },
            {
              "name": "Papua New Guinea",
              "value": "PG"
            },
            {
              "name": "Paraguay",
              "value": "PY"
            },
            {
              "name": "Peru",
              "value": "PE"
            },
            {
              "name": "Philippines (the)",
              "value": "PH"
            },
            {
              "name": "Pitcairn",
              "value": "PN"
            },
            {
              "name": "Poland",
              "value": "PL"
            },
            {
              "name": "Portugal",
              "value": "PT"
            },
            {
              "name": "Puerto Rico",
              "value": "PR"
            },
            {
              "name": "Qatar",
              "value": "QA"
            },
            {
              "name": "Réunion",
              "value": "RE"
            },
            {
              "name": "Romania",
              "value": "RO"
            },
            {
              "name": "Russian Federation (the)",
              "value": "RU"
            },
            {
              "name": "Rwanda",
              "value": "RW"
            },
            {
              "name": "Saint Barthélemy",
              "value": "BL"
            },
            {
              "name": "Saint Helena, Ascension and Tristan da Cunha",
              "value": "SH"
            },
            {
              "name": "Saint Kitts and Nevis",
              "value": "KN"
            },
            {
              "name": "Saint Lucia",
              "value": "LC"
            },
            {
              "name": "Saint Martin (French part)",
              "value": "MF"
            },
            {
              "name": "Saint Pierre and Miquelon",
              "value": "PM"
            },
            {
              "name": "Saint Vincent and the Grenadines",
              "value": "VC"
            },
            {
              "name": "Samoa",
              "value": "WS"
            },
            {
              "name": "San Marino",
              "value": "SM"
            },
            {
              "name": "Sao Tome and Principe",
              "value": "ST"
            },
            {
              "name": "Saudi Arabia",
              "value": "SA"
            },
            {
              "name": "Senegal",
              "value": "SN"
            },
            {
              "name": "Serbia",
              "value": "RS"
            },
            {
              "name": "Seychelles",
              "value": "SC"
            },
            {
              "name": "Sierra Leone",
              "value": "SL"
            },
            {
              "name": "Singapore",
              "value": "SG"
            },
            {
              "name": "Sint Maarten (Dutch part)",
              "value": "SX"
            },
            {
              "name": "Slovakia",
              "value": "SK"
            },
            {
              "name": "Slovenia",
              "value": "SI"
            },
            {
              "name": "Solomon Islands",
              "value": "SB"
            },
            {
              "name": "Somalia",
              "value": "SO"
            },
            {
              "name": "South Africa",
              "value": "ZA"
            },
            {
              "name": "South Georgia and the South Sandwich Islands",
              "value": "GS"
            },
            {
              "name": "South Sudan",
              "value": "SS"
            },
            {
              "name": "Spain",
              "value": "ES"
            },
            {
              "name": "Sri Lanka",
              "value": "LK"
            },
            {
              "name": "Sudan (the)",
              "value": "SD"
            },
            {
              "name": "Suriname",
              "value": "SR"
            },
            {
              "name": "Svalbard and Jan Mayen",
              "value": "SJ"
            },
            {
              "name": "Swaziland",
              "value": "SZ"
            },
            {
              "name": "Sweden",
              "value": "SE"
            },
            {
              "name": "Switzerland",
              "value": "CH"
            },
            {
              "name": "Syrian Arab Republic",
              "value": "SY"
            },
            {
              "name": "Taiwan (Province of China)",
              "value": "TW"
            },
            {
              "name": "Tajikistan",
              "value": "TJ"
            },
            {
              "name": "Tanzania, United Republic of",
              "value": "TZ"
            },
            {
              "name": "Thailand",
              "value": "TH"
            },
            {
              "name": "Timor-Leste",
              "value": "TL"
            },
            {
              "name": "Togo",
              "value": "TG"
            },
            {
              "name": "Tokelau",
              "value": "TK"
            },
            {
              "name": "Tonga",
              "value": "TO"
            },
            {
              "name": "Trinidad and Tobago",
              "value": "TT"
            },
            {
              "name": "Tunisia",
              "value": "TN"
            },
            {
              "name": "Turkey",
              "value": "TR"
            },
            {
              "name": "Turkmenistan",
              "value": "TM"
            },
            {
              "name": "Turks and Caicos Islands (the)",
              "value": "TC"
            },
            {
              "name": "Tuvalu",
              "value": "TV"
            },
            {
              "name": "Uganda",
              "value": "UG"
            },
            {
              "name": "Ukraine",
              "value": "UA"
            },
            {
              "name": "United Arab Emirates (the)",
              "value": "AE"
            },
            {
              "name": "United Kingdom of Great Britain and Northern Ireland (the)",
              "value": "GB"
            },
            {
              "name": "United States Minor Outlying Islands (the)",
              "value": "UM"
            },
            {
              "name": "United States of America (the)",
              "value": "US"
            },
            {
              "name": "Uruguay",
              "value": "UY"
            },
            {
              "name": "Uzbekistan",
              "value": "UZ"
            },
            {
              "name": "Vanuatu",
              "value": "VU"
            },
            {
              "name": "Venezuela (Bolivarian Republic of)",
              "value": "VE"
            },
            {
              "name": "Viet Nam",
              "value": "VN"
            },
            {
              "name": "Virgin Islands (British)",
              "value": "VG"
            },
            {
              "name": "Virgin Islands (U.S.)",
              "value": "VI"
            },
            {
              "name": "Wallis and Futuna",
              "value": "WF"
            },
            {
              "name": "Western Sahara*",
              "value": "EH"
            },
            {
              "name": "Yemen",
              "value": "YE"
            },
            {
              "name": "Zambia",
              "value": "ZM"
            },
            {
              "name": "Zimbabwe",
              "value": "ZW"
            }
          ],
          "description": "Country to filter new releases by"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "album"
          ],
          "operation": [
            "getNewReleases"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Country",
          "name": "market",
          "type": "options",
          "options": [
            {
              "name": "Afghanistan",
              "value": "AF"
            },
            {
              "name": "Åland Islands",
              "value": "AX"
            },
            {
              "name": "Albania",
              "value": "AL"
            },
            {
              "name": "Algeria",
              "value": "DZ"
            },
            {
              "name": "American Samoa",
              "value": "AS"
            },
            {
              "name": "Andorra",
              "value": "AD"
            },
            {
              "name": "Angola",
              "value": "AO"
            },
            {
              "name": "Anguilla",
              "value": "AI"
            },
            {
              "name": "Antarctica",
              "value": "AQ"
            },
            {
              "name": "Antigua and Barbuda",
              "value": "AG"
            },
            {
              "name": "Argentina",
              "value": "AR"
            },
            {
              "name": "Armenia",
              "value": "AM"
            },
            {
              "name": "Aruba",
              "value": "AW"
            },
            {
              "name": "Australia",
              "value": "AU"
            },
            {
              "name": "Austria",
              "value": "AT"
            },
            {
              "name": "Azerbaijan",
              "value": "AZ"
            },
            {
              "name": "Bahamas (the)",
              "value": "BS"
            },
            {
              "name": "Bahrain",
              "value": "BH"
            },
            {
              "name": "Bangladesh",
              "value": "BD"
            },
            {
              "name": "Barbados",
              "value": "BB"
            },
            {
              "name": "Belarus",
              "value": "BY"
            },
            {
              "name": "Belgium",
              "value": "BE"
            },
            {
              "name": "Belize",
              "value": "BZ"
            },
            {
              "name": "Benin",
              "value": "BJ"
            },
            {
              "name": "Bermuda",
              "value": "BM"
            },
            {
              "name": "Bhutan",
              "value": "BT"
            },
            {
              "name": "Bolivia (Plurinational State of)",
              "value": "BO"
            },
            {
              "name": "Bonaire, Sint Eustatius and Saba",
              "value": "BQ"
            },
            {
              "name": "Bosnia and Herzegovina",
              "value": "BA"
            },
            {
              "name": "Botswana",
              "value": "BW"
            },
            {
              "name": "Bouvet Island",
              "value": "BV"
            },
            {
              "name": "Brazil",
              "value": "BR"
            },
            {
              "name": "British Indian Ocean Territory (the)",
              "value": "IO"
            },
            {
              "name": "Brunei Darussalam",
              "value": "BN"
            },
            {
              "name": "Bulgaria",
              "value": "BG"
            },
            {
              "name": "Burkina Faso",
              "value": "BF"
            },
            {
              "name": "Burundi",
              "value": "BI"
            },
            {
              "name": "Cabo Verde",
              "value": "CV"
            },
            {
              "name": "Cambodia",
              "value": "KH"
            },
            {
              "name": "Cameroon",
              "value": "CM"
            },
            {
              "name": "Canada",
              "value": "CA"
            },
            {
              "name": "Cayman Islands (the)",
              "value": "KY"
            },
            {
              "name": "Central African Republic (the)",
              "value": "CF"
            },
            {
              "name": "Chad",
              "value": "TD"
            },
            {
              "name": "Chile",
              "value": "CL"
            },
            {
              "name": "China",
              "value": "CN"
            },
            {
              "name": "Christmas Island",
              "value": "CX"
            },
            {
              "name": "Cocos (Keeling) Islands (the)",
              "value": "CC"
            },
            {
              "name": "Colombia",
              "value": "CO"
            },
            {
              "name": "Comoros (the)",
              "value": "KM"
            },
            {
              "name": "Congo (the Democratic Republic of the)",
              "value": "CD"
            },
            {
              "name": "Congo (the)",
              "value": "CG"
            },
            {
              "name": "Cook Islands (the)",
              "value": "CK"
            },
            {
              "name": "Costa Rica",
              "value": "CR"
            },
            {
              "name": "Côte d'Ivoire",
              "value": "CI"
            },
            {
              "name": "Croatia",
              "value": "HR"
            },
            {
              "name": "Cuba",
              "value": "CU"
            },
            {
              "name": "Curaçao",
              "value": "CW"
            },
            {
              "name": "Cyprus",
              "value": "CY"
            },
            {
              "name": "Czechia",
              "value": "CZ"
            },
            {
              "name": "Denmark",
              "value": "DK"
            },
            {
              "name": "Djibouti",
              "value": "DJ"
            },
            {
              "name": "Dominica",
              "value": "DM"
            },
            {
              "name": "Dominican Republic (the)",
              "value": "DO"
            },
            {
              "name": "Ecuador",
              "value": "EC"
            },
            {
              "name": "Egypt",
              "value": "EG"
            },
            {
              "name": "El Salvador",
              "value": "SV"
            },
            {
              "name": "Equatorial Guinea",
              "value": "GQ"
            },
            {
              "name": "Eritrea",
              "value": "ER"
            },
            {
              "name": "Estonia",
              "value": "EE"
            },
            {
              "name": "Ethiopia",
              "value": "ET"
            },
            {
              "name": "Falkland Islands (the) [Malvinas]",
              "value": "FK"
            },
            {
              "name": "Faroe Islands (the)",
              "value": "FO"
            },
            {
              "name": "Fiji",
              "value": "FJ"
            },
            {
              "name": "Finland",
              "value": "FI"
            },
            {
              "name": "France",
              "value": "FR"
            },
            {
              "name": "French Guiana",
              "value": "GF"
            },
            {
              "name": "French Polynesia",
              "value": "PF"
            },
            {
              "name": "French Southern Territories (the)",
              "value": "TF"
            },
            {
              "name": "Gabon",
              "value": "GA"
            },
            {
              "name": "Gambia (the)",
              "value": "GM"
            },
            {
              "name": "Georgia",
              "value": "GE"
            },
            {
              "name": "Germany",
              "value": "DE"
            },
            {
              "name": "Ghana",
              "value": "GH"
            },
            {
              "name": "Gibraltar",
              "value": "GI"
            },
            {
              "name": "Greece",
              "value": "GR"
            },
            {
              "name": "Greenland",
              "value": "GL"
            },
            {
              "name": "Grenada",
              "value": "GD"
            },
            {
              "name": "Guadeloupe",
              "value": "GP"
            },
            {
              "name": "Guam",
              "value": "GU"
            },
            {
              "name": "Guatemala",
              "value": "GT"
            },
            {
              "name": "Guernsey",
              "value": "GG"
            },
            {
              "name": "Guinea",
              "value": "GN"
            },
            {
              "name": "Guinea-Bissau",
              "value": "GW"
            },
            {
              "name": "Guyana",
              "value": "GY"
            },
            {
              "name": "Haiti",
              "value": "HT"
            },
            {
              "name": "Heard Island and McDonald Islands",
              "value": "HM"
            },
            {
              "name": "Holy See (the)",
              "value": "VA"
            },
            {
              "name": "Honduras",
              "value": "HN"
            },
            {
              "name": "Hong Kong",
              "value": "HK"
            },
            {
              "name": "Hungary",
              "value": "HU"
            },
            {
              "name": "Iceland",
              "value": "IS"
            },
            {
              "name": "India",
              "value": "IN"
            },
            {
              "name": "Indonesia",
              "value": "ID"
            },
            {
              "name": "Iran (Islamic Republic of)",
              "value": "IR"
            },
            {
              "name": "Iraq",
              "value": "IQ"
            },
            {
              "name": "Ireland",
              "value": "IE"
            },
            {
              "name": "Isle of Man",
              "value": "IM"
            },
            {
              "name": "Israel",
              "value": "IL"
            },
            {
              "name": "Italy",
              "value": "IT"
            },
            {
              "name": "Jamaica",
              "value": "JM"
            },
            {
              "name": "Japan",
              "value": "JP"
            },
            {
              "name": "Jersey",
              "value": "JE"
            },
            {
              "name": "Jordan",
              "value": "JO"
            },
            {
              "name": "Kazakhstan",
              "value": "KZ"
            },
            {
              "name": "Kenya",
              "value": "KE"
            },
            {
              "name": "Kiribati",
              "value": "KI"
            },
            {
              "name": "Korea (the Democratic People's Republic of)",
              "value": "KP"
            },
            {
              "name": "Korea (the Republic of)",
              "value": "KR"
            },
            {
              "name": "Kuwait",
              "value": "KW"
            },
            {
              "name": "Kyrgyzstan",
              "value": "KG"
            },
            {
              "name": "Lao People's Democratic Republic (the)",
              "value": "LA"
            },
            {
              "name": "Latvia",
              "value": "LV"
            },
            {
              "name": "Lebanon",
              "value": "LB"
            },
            {
              "name": "Lesotho",
              "value": "LS"
            },
            {
              "name": "Liberia",
              "value": "LR"
            },
            {
              "name": "Libya",
              "value": "LY"
            },
            {
              "name": "Liechtenstein",
              "value": "LI"
            },
            {
              "name": "Lithuania",
              "value": "LT"
            },
            {
              "name": "Luxembourg",
              "value": "LU"
            },
            {
              "name": "Macao",
              "value": "MO"
            },
            {
              "name": "Macedonia (the former Yugoslav Republic of)",
              "value": "MK"
            },
            {
              "name": "Madagascar",
              "value": "MG"
            },
            {
              "name": "Malawi",
              "value": "MW"
            },
            {
              "name": "Malaysia",
              "value": "MY"
            },
            {
              "name": "Maldives",
              "value": "MV"
            },
            {
              "name": "Mali",
              "value": "ML"
            },
            {
              "name": "Malta",
              "value": "MT"
            },
            {
              "name": "Marshall Islands (the)",
              "value": "MH"
            },
            {
              "name": "Martinique",
              "value": "MQ"
            },
            {
              "name": "Mauritania",
              "value": "MR"
            },
            {
              "name": "Mauritius",
              "value": "MU"
            },
            {
              "name": "Mayotte",
              "value": "YT"
            },
            {
              "name": "Mexico",
              "value": "MX"
            },
            {
              "name": "Micronesia (Federated States of)",
              "value": "FM"
            },
            {
              "name": "Moldova (the Republic of)",
              "value": "MD"
            },
            {
              "name": "Monaco",
              "value": "MC"
            },
            {
              "name": "Mongolia",
              "value": "MN"
            },
            {
              "name": "Montenegro",
              "value": "ME"
            },
            {
              "name": "Montserrat",
              "value": "MS"
            },
            {
              "name": "Morocco",
              "value": "MA"
            },
            {
              "name": "Mozambique",
              "value": "MZ"
            },
            {
              "name": "Myanmar",
              "value": "MM"
            },
            {
              "name": "Namibia",
              "value": "NA"
            },
            {
              "name": "Nauru",
              "value": "NR"
            },
            {
              "name": "Nepal",
              "value": "NP"
            },
            {
              "name": "Netherlands (the)",
              "value": "NL"
            },
            {
              "name": "New Caledonia",
              "value": "NC"
            },
            {
              "name": "New Zealand",
              "value": "NZ"
            },
            {
              "name": "Nicaragua",
              "value": "NI"
            },
            {
              "name": "Niger (the)",
              "value": "NE"
            },
            {
              "name": "Nigeria",
              "value": "NG"
            },
            {
              "name": "Niue",
              "value": "NU"
            },
            {
              "name": "Norfolk Island",
              "value": "NF"
            },
            {
              "name": "Northern Mariana Islands (the)",
              "value": "MP"
            },
            {
              "name": "Norway",
              "value": "NO"
            },
            {
              "name": "Oman",
              "value": "OM"
            },
            {
              "name": "Pakistan",
              "value": "PK"
            },
            {
              "name": "Palau",
              "value": "PW"
            },
            {
              "name": "Palestine, State of",
              "value": "PS"
            },
            {
              "name": "Panama",
              "value": "PA"
            },
            {
              "name": "Papua New Guinea",
              "value": "PG"
            },
            {
              "name": "Paraguay",
              "value": "PY"
            },
            {
              "name": "Peru",
              "value": "PE"
            },
            {
              "name": "Philippines (the)",
              "value": "PH"
            },
            {
              "name": "Pitcairn",
              "value": "PN"
            },
            {
              "name": "Poland",
              "value": "PL"
            },
            {
              "name": "Portugal",
              "value": "PT"
            },
            {
              "name": "Puerto Rico",
              "value": "PR"
            },
            {
              "name": "Qatar",
              "value": "QA"
            },
            {
              "name": "Réunion",
              "value": "RE"
            },
            {
              "name": "Romania",
              "value": "RO"
            },
            {
              "name": "Russian Federation (the)",
              "value": "RU"
            },
            {
              "name": "Rwanda",
              "value": "RW"
            },
            {
              "name": "Saint Barthélemy",
              "value": "BL"
            },
            {
              "name": "Saint Helena, Ascension and Tristan da Cunha",
              "value": "SH"
            },
            {
              "name": "Saint Kitts and Nevis",
              "value": "KN"
            },
            {
              "name": "Saint Lucia",
              "value": "LC"
            },
            {
              "name": "Saint Martin (French part)",
              "value": "MF"
            },
            {
              "name": "Saint Pierre and Miquelon",
              "value": "PM"
            },
            {
              "name": "Saint Vincent and the Grenadines",
              "value": "VC"
            },
            {
              "name": "Samoa",
              "value": "WS"
            },
            {
              "name": "San Marino",
              "value": "SM"
            },
            {
              "name": "Sao Tome and Principe",
              "value": "ST"
            },
            {
              "name": "Saudi Arabia",
              "value": "SA"
            },
            {
              "name": "Senegal",
              "value": "SN"
            },
            {
              "name": "Serbia",
              "value": "RS"
            },
            {
              "name": "Seychelles",
              "value": "SC"
            },
            {
              "name": "Sierra Leone",
              "value": "SL"
            },
            {
              "name": "Singapore",
              "value": "SG"
            },
            {
              "name": "Sint Maarten (Dutch part)",
              "value": "SX"
            },
            {
              "name": "Slovakia",
              "value": "SK"
            },
            {
              "name": "Slovenia",
              "value": "SI"
            },
            {
              "name": "Solomon Islands",
              "value": "SB"
            },
            {
              "name": "Somalia",
              "value": "SO"
            },
            {
              "name": "South Africa",
              "value": "ZA"
            },
            {
              "name": "South Georgia and the South Sandwich Islands",
              "value": "GS"
            },
            {
              "name": "South Sudan",
              "value": "SS"
            },
            {
              "name": "Spain",
              "value": "ES"
            },
            {
              "name": "Sri Lanka",
              "value": "LK"
            },
            {
              "name": "Sudan (the)",
              "value": "SD"
            },
            {
              "name": "Suriname",
              "value": "SR"
            },
            {
              "name": "Svalbard and Jan Mayen",
              "value": "SJ"
            },
            {
              "name": "Swaziland",
              "value": "SZ"
            },
            {
              "name": "Sweden",
              "value": "SE"
            },
            {
              "name": "Switzerland",
              "value": "CH"
            },
            {
              "name": "Syrian Arab Republic",
              "value": "SY"
            },
            {
              "name": "Taiwan (Province of China)",
              "value": "TW"
            },
            {
              "name": "Tajikistan",
              "value": "TJ"
            },
            {
              "name": "Tanzania, United Republic of",
              "value": "TZ"
            },
            {
              "name": "Thailand",
              "value": "TH"
            },
            {
              "name": "Timor-Leste",
              "value": "TL"
            },
            {
              "name": "Togo",
              "value": "TG"
            },
            {
              "name": "Tokelau",
              "value": "TK"
            },
            {
              "name": "Tonga",
              "value": "TO"
            },
            {
              "name": "Trinidad and Tobago",
              "value": "TT"
            },
            {
              "name": "Tunisia",
              "value": "TN"
            },
            {
              "name": "Turkey",
              "value": "TR"
            },
            {
              "name": "Turkmenistan",
              "value": "TM"
            },
            {
              "name": "Turks and Caicos Islands (the)",
              "value": "TC"
            },
            {
              "name": "Tuvalu",
              "value": "TV"
            },
            {
              "name": "Uganda",
              "value": "UG"
            },
            {
              "name": "Ukraine",
              "value": "UA"
            },
            {
              "name": "United Arab Emirates (the)",
              "value": "AE"
            },
            {
              "name": "United Kingdom of Great Britain and Northern Ireland (the)",
              "value": "GB"
            },
            {
              "name": "United States Minor Outlying Islands (the)",
              "value": "UM"
            },
            {
              "name": "United States of America (the)",
              "value": "US"
            },
            {
              "name": "Uruguay",
              "value": "UY"
            },
            {
              "name": "Uzbekistan",
              "value": "UZ"
            },
            {
              "name": "Vanuatu",
              "value": "VU"
            },
            {
              "name": "Venezuela (Bolivarian Republic of)",
              "value": "VE"
            },
            {
              "name": "Viet Nam",
              "value": "VN"
            },
            {
              "name": "Virgin Islands (British)",
              "value": "VG"
            },
            {
              "name": "Virgin Islands (U.S.)",
              "value": "VI"
            },
            {
              "name": "Wallis and Futuna",
              "value": "WF"
            },
            {
              "name": "Western Sahara*",
              "value": "EH"
            },
            {
              "name": "Yemen",
              "value": "YE"
            },
            {
              "name": "Zambia",
              "value": "ZM"
            },
            {
              "name": "Zimbabwe",
              "value": "ZW"
            }
          ],
          "default": "",
          "description": "If a country code is specified, only content that is playable in that market is returned"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "playlist",
            "artist",
            "track",
            "album"
          ],
          "operation": [
            "search"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "addSongToQueue",
      "name": "Add Song to Queue",
      "description": "Add a song to your queue"
    },
    {
      "operation": "currentlyPlaying",
      "name": "Currently Playing",
      "description": "Get your currently playing track"
    },
    {
      "operation": "nextSong",
      "name": "Next Song",
      "description": "Skip to your next track"
    },
    {
      "operation": "pause",
      "name": "Pause",
      "description": "Pause your music"
    },
    {
      "operation": "previousSong",
      "name": "Previous Song",
      "description": "Skip to your previous song"
    },
    {
      "operation": "recentlyPlayed",
      "name": "Recently Played",
      "description": "Get your recently played tracks"
    },
    {
      "operation": "resume",
      "name": "Resume",
      "description": "Resume playback on the current active device"
    },
    {
      "operation": "volume",
      "name": "Set Volume",
      "description": "Set volume on the current active device"
    },
    {
      "operation": "startMusic",
      "name": "Start Music",
      "description": "Start playing a playlist, artist, or album"
    }
  ]


node_type: nodes-base.spotify
package_name: n8n-nodes-base
display_name: Spotify
description: Access public song data via the Spotify API
category: input
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "spotifyOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Spotify node documentation
  description: Learn how to use the Spotify node in n8n. Follow technical documentation to integrate Spotify node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # Spotify node

  Use the Spotify node to automate work in Spotify, and integrate Spotify with other applications. n8n has built-in support for a wide range of Spotify features, including getting album and artist information. 

  On this page, you'll find a list of operations the Spotify node supports and links to more resources.

  /// note | Credentials
  Refer to [Spotify credentials](/integrations/builtin/credentials/spotify.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Album
      * Get an album by URI or ID.
      * Get a list of new album releases.
      * Get an album's tracks by URI or ID.
      * Search albums by keyword.
  * Artist
      * Get an artist by URI or ID.
      * Get an artist's albums by URI or ID.
      * Get an artist's related artists by URI or ID.
      * Get an artist's top tracks by URI or ID.
      * Search artists by keyword.
  * Library
      * Get the user's liked tracks.
  * My Data
      * Get your followed artists.
  * Player
      * Add a song to your queue.
      * Get your currently playing track.
      * Skip to your next track.
      * Pause your music.
      * Skip to your previous song.
      * Get your recently played tracks.
      * Resume playback on the current active device.
      * Set volume on the current active device.
      * Start playing a playlist, artist, or album.
  * Playlist
      * Add tracks from a playlist by track and playlist URI or ID.
      * Create a new playlist.
      * Get a playlist by URI or ID.
      * Get a playlist's tracks by URI or ID.
      * Get a user's playlists.
      * Remove tracks from a playlist by track and playlist URI or ID.
      * Search playlists by keyword.
  * Track
      * Get a track by its URI or ID.
      * Get audio features for a track by URI or ID.
      * Search tracks by keyword

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'spotify') ]]

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "player",
      "options": [
        {
          "name": "Album",
          "value": "album"
        },
        {
          "name": "Artist",
          "value": "artist"
        },
        {
          "name": "Library",
          "value": "library"
        },
        {
          "name": "My Data",
          "value": "myData"
        },
        {
          "name": "Player",
          "value": "player"
        },
        {
          "name": "Playlist",
          "value": "playlist"
        },
        {
          "name": "Track",
          "value": "track"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "addSongToQueue",
      "options": [
        {
          "name": "Add Song to Queue",
          "value": "addSongToQueue",
          "description": "Add a song to your queue",
          "action": "Add a song to a queue"
        },
        {
          "name": "Currently Playing",
          "value": "currentlyPlaying",
          "description": "Get your currently playing track",
          "action": "Get the currently playing track"
        },
        {
          "name": "Next Song",
          "value": "nextSong",
          "description": "Skip to your next track",
          "action": "Skip to the next track"
        },
        {
          "name": "Pause",
          "value": "pause",
          "description": "Pause your music",
          "action": "Pause the player"
        },
        {
          "name": "Previous Song",
          "value": "previousSong",
          "description": "Skip to your previous song",
          "action": "Skip to the previous song"
        },
        {
          "name": "Recently Played",
          "value": "recentlyPlayed",
          "description": "Get your recently played tracks",
          "action": "Get the recently played tracks"
        },
        {
          "name": "Resume",
          "value": "resume",
          "description": "Resume playback on the current active device",
          "action": "Resume the player"
        },
        {
          "name": "Set Volume",
          "value": "volume",
          "description": "Set volume on the current active device",
          "action": "Set volume on the player"
        },
        {
          "name": "Start Music",
          "value": "startMusic",
          "description": "Start playing a playlist, artist, or album",
          "action": "Start music on the player"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "player"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Resource ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Enter a playlist, artist, or album URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "player"
          ],
          "operation": [
            "startMusic"
          ]
        }
      }
    },
    {
      "displayName": "Track ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "Enter a track URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "player"
          ],
          "operation": [
            "addSongToQueue"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get an album by URI or ID",
          "action": "Get an album"
        },
        {
          "name": "Get New Releases",
          "value": "getNewReleases",
          "description": "Get a list of new album releases",
          "action": "Get new album releases"
        },
        {
          "name": "Get Tracks",
          "value": "getTracks",
          "description": "Get an album's tracks by URI or ID",
          "action": "Get an album's tracks by URI or ID"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search albums by keyword",
          "action": "Search albums by keyword"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "album"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Album ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "The album's Spotify URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "album"
          ],
          "operation": [
            "get",
            "getTracks"
          ]
        },
        "hide": {
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Search Keyword",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The keyword term to search for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "album"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get an artist by URI or ID",
          "action": "Get an artist"
        },
        {
          "name": "Get Albums",
          "value": "getAlbums",
          "description": "Get an artist's albums by URI or ID",
          "action": "Get an artist's albums by URI or ID"
        },
        {
          "name": "Get Related Artists",
          "value": "getRelatedArtists",
          "description": "Get an artist's related artists by URI or ID",
          "action": "Get an artist's related artists by URI or ID"
        },
        {
          "name": "Get Top Tracks",
          "value": "getTopTracks",
          "description": "Get an artist's top tracks by URI or ID",
          "action": "Get an artist's top tracks by URI or ID"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search artists by keyword",
          "action": "Search artists by keyword"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "artist"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Artist ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "The artist's Spotify URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "artist"
          ]
        },
        "hide": {
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Country",
      "name": "country",
      "type": "string",
      "default": "US",
      "description": "Top tracks in which country? Enter the postal abbreviation",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "artist"
          ],
          "operation": [
            "getTopTracks"
          ]
        }
      }
    },
    {
      "displayName": "Search Keyword",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The keyword term to search for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "artist"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "add",
      "options": [
        {
          "name": "Add an Item",
          "value": "add",
          "description": "Add tracks to a playlist by track and playlist URI or ID",
          "action": "Add an Item to a playlist"
        },
        {
          "name": "Create a Playlist",
          "value": "create",
          "description": "Create a new playlist",
          "action": "Create a playlist"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a playlist by URI or ID",
          "action": "Get a playlist"
        },
        {
          "name": "Get the User's Playlists",
          "value": "getUserPlaylists",
          "description": "Get a user's playlists",
          "action": "Get a user's playlists"
        },
        {
          "name": "Get Tracks",
          "value": "getTracks",
          "description": "Get a playlist's tracks by URI or ID",
          "action": "Get a playlist's tracks by URI or ID"
        },
        {
          "name": "Remove an Item",
          "value": "delete",
          "description": "Remove tracks from a playlist by track and playlist URI or ID",
          "action": "Remove an item from a playlist"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search playlists by keyword",
          "action": "Search playlists by keyword"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Playlist ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "The playlist's Spotify URI or its ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "add",
            "delete",
            "get",
            "getTracks"
          ]
        }
      }
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Name of the playlist to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "placeholder": "These are all my favorite songs.",
          "description": "Description for the playlist to create"
        },
        {
          "displayName": "Public",
          "name": "public",
          "type": "boolean",
          "default": true,
          "description": "Whether the playlist is publicly accessible"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Track ID",
      "name": "trackID",
      "type": "string",
      "default": "",
      "description": "The track's Spotify URI or its ID. The track to add/delete from the playlist.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "add",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Position",
          "name": "position",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "placeholder": "0",
          "description": "The new track's position in the playlist"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Search Keyword",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The keyword term to search for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "playlist"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "track",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a track by its URI or ID",
          "action": "Get a track"
        },
        {
          "name": "Get Audio Features",
          "value": "getAudioFeatures",
          "description": "Get audio features for a track by URI or ID",
          "action": "Get audio features of a track"
        },
        {
          "name": "Search",
          "value": "search",
          "description": "Search tracks by keyword",
          "action": "Search tracks by keyword"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Track ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "The track's Spotify URI or ID",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ]
        },
        "hide": {
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Search Keyword",
      "name": "query",
      "type": "string",
      "default": "",
      "description": "The keyword term to search for",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "track"
          ],
          "operation": [
            "search"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getLikedTracks",
      "options": [
        {
          "name": "Get Liked Tracks",
          "value": "getLikedTracks",
          "description": "Get the user's liked tracks",
          "action": "Get liked tracks"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "library"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "getFollowingArtists",
      "options": [
        {
          "name": "Get Following Artists",
          "value": "getFollowingArtists",
          "description": "Get your followed artists",
          "action": "Get your followed artists"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "myData"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "album",
            "artist",
            "library",
            "myData",
            "playlist",
            "track",
            "player"
          ],
          "operation": [
            "getTracks",
            "getAlbums",
            "getUserPlaylists",
            "getNewReleases",
            "getLikedTracks",
            "getFollowingArtists",
            "search",
            "recentlyPlayed"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "album",
            "artist",
            "library",
            "playlist",
            "track"
          ],
          "operation": [
            "getTracks",
            "getAlbums",
            "getUserPlaylists",
            "getNewReleases",
            "getLikedTracks",
            "search"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "myData",
            "player"
          ],
          "operation": [
            "getFollowingArtists",
            "recentlyPlayed"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 50
      }
    },
    {
      "displayName": "Volume",
      "name": "volumePercent",
      "type": "number",
      "default": 50,
      "description": "The volume percentage to set",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "player"
          ],
          "operation": [
            "volume"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Country",
          "name": "country",
          "type": "options",
          "default": "US",
          "options": [
            {
              "name": "Afghanistan",
              "value": "AF"
            },
            {
              "name": "Åland Islands",
              "value": "AX"
            },
            {
              "name": "Albania",
              "value": "AL"
            },
            {
              "name": "Algeria",
              "value": "DZ"
            },
            {
              "name": "American Samoa",
              "value": "AS"
            },
            {
              "name": "Andorra",
              "value": "AD"
            },
            {
              "name": "Angola",
              "value": "AO"
            },
            {
              "name": "Anguilla",
              "value": "AI"
            },
            {
              "name": "Antarctica",
              "value": "AQ"
            },
            {
              "name": "Antigua and Barbuda",
              "value": "AG"
            },
            {
              "name": "Argentina",
              "value": "AR"
            },
            {
              "name": "Armenia",
              "value": "AM"
            },
            {
              "name": "Aruba",
              "value": "AW"
            },
            {
              "name": "Australia",
              "value": "AU"
            },
            {
              "name": "Austria",
              "value": "AT"
            },
            {
              "name": "Azerbaijan",
              "value": "AZ"
            },
            {
              "name": "Bahamas (the)",
              "value": "BS"
            },
            {
              "name": "Bahrain",
              "value": "BH"
            },
            {
              "name": "Bangladesh",
              "value": "BD"
            },
            {
              "name": "Barbados",
              "value": "BB"
            },
            {
              "name": "Belarus",
              "value": "BY"
            },
            {
              "name": "Belgium",
              "value": "BE"
            },
            {
              "name": "Belize",
              "value": "BZ"
            },
            {
              "name": "Benin",
              "value": "BJ"
            },
            {
              "name": "Bermuda",
              "value": "BM"
            },
            {
              "name": "Bhutan",
              "value": "BT"
            },
            {
              "name": "Bolivia (Plurinational State of)",
              "value": "BO"
            },
            {
              "name": "Bonaire, Sint Eustatius and Saba",
              "value": "BQ"
            },
            {
              "name": "Bosnia and Herzegovina",
              "value": "BA"
            },
            {
              "name": "Botswana",
              "value": "BW"
            },
            {
              "name": "Bouvet Island",
              "value": "BV"
            },
            {
              "name": "Brazil",
              "value": "BR"
            },
            {
              "name": "British Indian Ocean Territory (the)",
              "value": "IO"
            },
            {
              "name": "Brunei Darussalam",
              "value": "BN"
            },
            {
              "name": "Bulgaria",
              "value": "BG"
            },
            {
              "name": "Burkina Faso",
              "value": "BF"
            },
            {
              "name": "Burundi",
              "value": "BI"
            },
            {
              "name": "Cabo Verde",
              "value": "CV"
            },
            {
              "name": "Cambodia",
              "value": "KH"
            },
            {
              "name": "Cameroon",
              "value": "CM"
            },
            {
              "name": "Canada",
              "value": "CA"
            },
            {
              "name": "Cayman Islands (the)",
              "value": "KY"
            },
            {
              "name": "Central African Republic (the)",
              "value": "CF"
            },
            {
              "name": "Chad",
              "value": "TD"
            },
            {
              "name": "Chile",
              "value": "CL"
            },
            {
              "name": "China",
              "value": "CN"
            },
            {
              "name": "Christmas Island",
              "value": "CX"
            },
            {
              "name": "Cocos (Keeling) Islands (the)",
              "value": "CC"
            },
            {
              "name": "Colombia",
              "value": "CO"
            },
            {
              "name": "Comoros (the)",
              "value": "KM"
            },
            {
              "name": "Congo (the Democratic Republic of the)",
              "value": "CD"
            },
            {
              "name": "Congo (the)",
              "value": "CG"
            },
            {
              "name": "Cook Islands (the)",
              "value": "CK"
            },
            {
              "name": "Costa Rica",
              "value": "CR"
            },
            {
              "name": "Côte d'Ivoire",
              "value": "CI"
            },
            {
              "name": "Croatia",
              "value": "HR"
            },
            {
              "name": "Cuba",
              "value": "CU"
            },
            {
              "name": "Curaçao",
              "value": "CW"
            },
            {
              "name": "Cyprus",
              "value": "CY"
            },
            {
              "name": "Czechia",
              "value": "CZ"
            },
            {
              "name": "Denmark",
              "value": "DK"
            },
            {
              "name": "Djibouti",
              "value": "DJ"
            },
            {
              "name": "Dominica",
              "value": "DM"
            },
            {
              "name": "Dominican Republic (the)",
              "value": "DO"
            },
            {
              "name": "Ecuador",
              "value": "EC"
            },
            {
              "name": "Egypt",
              "value": "EG"
            },
            {
              "name": "El Salvador",
              "value": "SV"
            },
            {
              "name": "Equatorial Guinea",
              "value": "GQ"
            },
            {
              "name": "Eritrea",
              "value": "ER"
            },
            {
              "name": "Estonia",
              "value": "EE"
            },
            {
              "name": "Ethiopia",
              "value": "ET"
            },
            {
              "name": "Falkland Islands (the) [Malvinas]",
              "value": "FK"
            },
            {
              "name": "Faroe Islands (the)",
              "value": "FO"
            },
            {
              "name": "Fiji",
              "value": "FJ"
            },
            {
              "name": "Finland",
              "value": "FI"
            },
            {
              "name": "France",
              "value": "FR"
            },
            {
              "name": "French Guiana",
              "value": "GF"
            },
            {
              "name": "French Polynesia",
              "value": "PF"
            },
            {
              "name": "French Southern Territories (the)",
              "value": "TF"
            },
            {
              "name": "Gabon",
              "value": "GA"
            },
            {
              "name": "Gambia (the)",
              "value": "GM"
            },
            {
              "name": "Georgia",
              "value": "GE"
            },
            {
              "name": "Germany",
              "value": "DE"
            },
            {
              "name": "Ghana",
              "value": "GH"
            },
            {
              "name": "Gibraltar",
              "value": "GI"
            },
            {
              "name": "Greece",
              "value": "GR"
            },
            {
              "name": "Greenland",
              "value": "GL"
            },
            {
              "name": "Grenada",
              "value": "GD"
            },
            {
              "name": "Guadeloupe",
              "value": "GP"
            },
            {
              "name": "Guam",
              "value": "GU"
            },
            {
              "name": "Guatemala",
              "value": "GT"
            },
            {
              "name": "Guernsey",
              "value": "GG"
            },
            {
              "name": "Guinea",
              "value": "GN"
            },
            {
              "name": "Guinea-Bissau",
              "value": "GW"
            },
            {
              "name": "Guyana",
              "value": "GY"
            },
            {
              "name": "Haiti",
              "value": "HT"
            },
            {
              "name": "Heard Island and McDonald Islands",
              "value": "HM"
            },
            {
              "name": "Holy See (the)",
              "value": "VA"
            },
            {
              "name": "Honduras",
              "value": "HN"
            },
            {
              "name": "Hong Kong",
              "value": "HK"
            },
            {
              "name": "Hungary",
              "value": "HU"
            },
            {
              "name": "Iceland",
              "value": "IS"
            },
            {
              "name": "India",
              "value": "IN"
            },
            {
              "name": "Indonesia",
              "value": "ID"
            },
            {
              "name": "Iran (Islamic Republic of)",
              "value": "IR"
            },
            {
              "name": "Iraq",
              "value": "IQ"
            },
            {
              "name": "Ireland",
              "value": "IE"
            },
            {
              "name": "Isle of Man",
              "value": "IM"
            },
            {
              "name": "Israel",
              "value": "IL"
            },
            {
              "name": "Italy",
              "value": "IT"
            },
            {
              "name": "Jamaica",
              "value": "JM"
            },
            {
              "name": "Japan",
              "value": "JP"
            },
            {
              "name": "Jersey",
              "value": "JE"
            },
            {
              "name": "Jordan",
              "value": "JO"
            },
            {
              "name": "Kazakhstan",
              "value": "KZ"
            },
            {
              "name": "Kenya",
              "value": "KE"
            },
            {
              "name": "Kiribati",
              "value": "KI"
            },
            {
              "name": "Korea (the Democratic People's Republic of)",
              "value": "KP"
            },
            {
              "name": "Korea (the Republic of)",
              "value": "KR"
            },
            {
              "name": "Kuwait",
              "value": "KW"
            },
            {
              "name": "Kyrgyzstan",
              "value": "KG"
            },
            {
              "name": "Lao People's Democratic Republic (the)",
              "value": "LA"
            },
            {
              "name": "Latvia",
              "value": "LV"
            },
            {
              "name": "Lebanon",
              "value": "LB"
            },
            {
              "name": "Lesotho",
              "value": "LS"
            },
            {
              "name": "Liberia",
              "value": "LR"
            },
            {
              "name": "Libya",
              "value": "LY"
            },
            {
              "name": "Liechtenstein",
              "value": "LI"
            },
            {
              "name": "Lithuania",
              "value": "LT"
            },
            {
              "name": "Luxembourg",
              "value": "LU"
            },
            {
              "name": "Macao",
              "value": "MO"
            },
            {
              "name": "Macedonia (the former Yugoslav Republic of)",
              "value": "MK"
            },
            {
              "name": "Madagascar",
              "value": "MG"
            },
            {
              "name": "Malawi",
              "value": "MW"
            },
            {
              "name": "Malaysia",
              "value": "MY"
            },
            {
              "name": "Maldives",
              "value": "MV"
            },
            {
              "name": "Mali",
              "value": "ML"
            },
            {
              "name": "Malta",
              "value": "MT"
            },
            {
              "name": "Marshall Islands (the)",
              "value": "MH"
            },
            {
              "name": "Martinique",
              "value": "MQ"
            },
            {
              "name": "Mauritania",
              "value": "MR"
            },
            {
              "name": "Mauritius",
              "value": "MU"
            },
            {
              "name": "Mayotte",
              "value": "YT"
            },
            {
              "name": "Mexico",
              "value": "MX"
            },
            {
              "name": "Micronesia (Federated States of)",
              "value": "FM"
            },
            {
              "name": "Moldova (the Republic of)",
              "value": "MD"
            },
            {
              "name": "Monaco",
              "value": "MC"
            },
            {
              "name": "Mongolia",
              "value": "MN"
            },
            {
              "name": "Montenegro",
              "value": "ME"
            },
            {
              "name": "Montserrat",
              "value": "MS"
            },
            {
              "name": "Morocco",
              "value": "MA"
            },
            {
              "name": "Mozambique",
              "value": "MZ"
            },
            {
              "name": "Myanmar",
              "value": "MM"
            },
            {
              "name": "Namibia",
              "value": "NA"
            },
            {
              "name": "Nauru",
              "value": "NR"
            },
            {
              "name": "Nepal",
              "value": "NP"
            },
            {
              "name": "Netherlands (the)",
              "value": "NL"
            },
            {
              "name": "New Caledonia",
              "value": "NC"
            },
            {
              "name": "New Zealand",
              "value": "NZ"
            },
            {
              "name": "Nicaragua",
              "value": "NI"
            },
            {
              "name": "Niger (the)",
              "value": "NE"
            },
            {
              "name": "Nigeria",
              "value": "NG"
            },
            {
              "name": "Niue",
              "value": "NU"
            },
            {
              "name": "Norfolk Island",
              "value": "NF"
            },
            {
              "name": "Northern Mariana Islands (the)",
              "value": "MP"
            },
            {
              "name": "Norway",
              "value": "NO"
            },
            {
              "name": "Oman",
              "value": "OM"
            },
            {
              "name": "Pakistan",
              "value": "PK"
            },
            {
              "name": "Palau",
              "value": "PW"
            },
            {
              "name": "Palestine, State of",
              "value": "PS"
            },
            {
              "name": "Panama",
              "value": "PA"
            },
            {
              "name": "Papua New Guinea",
              "value": "PG"
            },
            {
              "name": "Paraguay",
              "value": "PY"
            },
            {
              "name": "Peru",
              "value": "PE"
            },
            {
              "name": "Philippines (the)",
              "value": "PH"
            },
            {
              "name": "Pitcairn",
              "value": "PN"
            },
            {
              "name": "Poland",
              "value": "PL"
            },
            {
              "name": "Portugal",
              "value": "PT"
            },
            {
              "name": "Puerto Rico",
              "value": "PR"
            },
            {
              "name": "Qatar",
              "value": "QA"
            },
            {
              "name": "Réunion",
              "value": "RE"
            },
            {
              "name": "Romania",
              "value": "RO"
            },
            {
              "name": "Russian Federation (the)",
              "value": "RU"
            },
            {
              "name": "Rwanda",
              "value": "RW"
            },
            {
              "name": "Saint Barthélemy",
              "value": "BL"
            },
            {
              "name": "Saint Helena, Ascension and Tristan da Cunha",
              "value": "SH"
            },
            {
              "name": "Saint Kitts and Nevis",
              "value": "KN"
            },
            {
              "name": "Saint Lucia",
              "value": "LC"
            },
            {
              "name": "Saint Martin (French part)",
              "value": "MF"
            },
            {
              "name": "Saint Pierre and Miquelon",
              "value": "PM"
            },
            {
              "name": "Saint Vincent and the Grenadines",
              "value": "VC"
            },
            {
              "name": "Samoa",
              "value": "WS"
            },
            {
              "name": "San Marino",
              "value": "SM"
            },
            {
              "name": "Sao Tome and Principe",
              "value": "ST"
            },
            {
              "name": "Saudi Arabia",
              "value": "SA"
            },
            {
              "name": "Senegal",
              "value": "SN"
            },
            {
              "name": "Serbia",
              "value": "RS"
            },
            {
              "name": "Seychelles",
              "value": "SC"
            },
            {
              "name": "Sierra Leone",
              "value": "SL"
            },
            {
              "name": "Singapore",
              "value": "SG"
            },
            {
              "name": "Sint Maarten (Dutch part)",
              "value": "SX"
            },
            {
              "name": "Slovakia",
              "value": "SK"
            },
            {
              "name": "Slovenia",
              "value": "SI"
            },
            {
              "name": "Solomon Islands",
              "value": "SB"
            },
            {
              "name": "Somalia",
              "value": "SO"
            },
            {
              "name": "South Africa",
              "value": "ZA"
            },
            {
              "name": "South Georgia and the South Sandwich Islands",
              "value": "GS"
            },
            {
              "name": "South Sudan",
              "value": "SS"
            },
            {
              "name": "Spain",
              "value": "ES"
            },
            {
              "name": "Sri Lanka",
              "value": "LK"
            },
            {
              "name": "Sudan (the)",
              "value": "SD"
            },
            {
              "name": "Suriname",
              "value": "SR"
            },
            {
              "name": "Svalbard and Jan Mayen",
              "value": "SJ"
            },
            {
              "name": "Swaziland",
              "value": "SZ"
            },
            {
              "name": "Sweden",
              "value": "SE"
            },
            {
              "name": "Switzerland",
              "value": "CH"
            },
            {
              "name": "Syrian Arab Republic",
              "value": "SY"
            },
            {
              "name": "Taiwan (Province of China)",
              "value": "TW"
            },
            {
              "name": "Tajikistan",
              "value": "TJ"
            },
            {
              "name": "Tanzania, United Republic of",
              "value": "TZ"
            },
            {
              "name": "Thailand",
              "value": "TH"
            },
            {
              "name": "Timor-Leste",
              "value": "TL"
            },
            {
              "name": "Togo",
              "value": "TG"
            },
            {
              "name": "Tokelau",
              "value": "TK"
            },
            {
              "name": "Tonga",
              "value": "TO"
            },
            {
              "name": "Trinidad and Tobago",
              "value": "TT"
            },
            {
              "name": "Tunisia",
              "value": "TN"
            },
            {
              "name": "Turkey",
              "value": "TR"
            },
            {
              "name": "Turkmenistan",
              "value": "TM"
            },
            {
              "name": "Turks and Caicos Islands (the)",
              "value": "TC"
            },
            {
              "name": "Tuvalu",
              "value": "TV"
            },
            {
              "name": "Uganda",
              "value": "UG"
            },
            {
              "name": "Ukraine",
              "value": "UA"
            },
            {
              "name": "United Arab Emirates (the)",
              "value": "AE"
            },
            {
              "name": "United Kingdom of Great Britain and Northern Ireland (the)",
              "value": "GB"
            },
            {
              "name": "United States Minor Outlying Islands (the)",
              "value": "UM"
            },
            {
              "name": "United States of America (the)",
              "value": "US"
            },
            {
              "name": "Uruguay",
              "value": "UY"
            },
            {
              "name": "Uzbekistan",
              "value": "UZ"
            },
            {
              "name": "Vanuatu",
              "value": "VU"
            },
            {
              "name": "Venezuela (Bolivarian Republic of)",
              "value": "VE"
            },
            {
              "name": "Viet Nam",
              "value": "VN"
            },
            {
              "name": "Virgin Islands (British)",
              "value": "VG"
            },
            {
              "name": "Virgin Islands (U.S.)",
              "value": "VI"
            },
            {
              "name": "Wallis and Futuna",
              "value": "WF"
            },
            {
              "name": "Western Sahara*",
              "value": "EH"
            },
            {
              "name": "Yemen",
              "value": "YE"
            },
            {
              "name": "Zambia",
              "value": "ZM"
            },
            {
              "name": "Zimbabwe",
              "value": "ZW"
            }
          ],
          "description": "Country to filter new releases by"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "album"
          ],
          "operation": [
            "getNewReleases"
          ]
        }
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Country",
          "name": "market",
          "type": "options",
          "options": [
            {
              "name": "Afghanistan",
              "value": "AF"
            },
            {
              "name": "Åland Islands",
              "value": "AX"
            },
            {
              "name": "Albania",
              "value": "AL"
            },
            {
              "name": "Algeria",
              "value": "DZ"
            },
            {
              "name": "American Samoa",
              "value": "AS"
            },
            {
              "name": "Andorra",
              "value": "AD"
            },
            {
              "name": "Angola",
              "value": "AO"
            },
            {
              "name": "Anguilla",
              "value": "AI"
            },
            {
              "name": "Antarctica",
              "value": "AQ"
            },
            {
              "name": "Antigua and Barbuda",
              "value": "AG"
            },
            {
              "name": "Argentina",
              "value": "AR"
            },
            {
              "name": "Armenia",
              "value": "AM"
            },
            {
              "name": "Aruba",
              "value": "AW"
            },
            {
              "name": "Australia",
              "value": "AU"
            },
            {
              "name": "Austria",
              "value": "AT"
            },
            {
              "name": "Azerbaijan",
              "value": "AZ"
            },
            {
              "name": "Bahamas (the)",
              "value": "BS"
            },
            {
              "name": "Bahrain",
              "value": "BH"
            },
            {
              "name": "Bangladesh",
              "value": "BD"
            },
            {
              "name": "Barbados",
              "value": "BB"
            },
            {
              "name": "Belarus",
              "value": "BY"
            },
            {
              "name": "Belgium",
              "value": "BE"
            },
            {
              "name": "Belize",
              "value": "BZ"
            },
            {
              "name": "Benin",
              "value": "BJ"
            },
            {
              "name": "Bermuda",
              "value": "BM"
            },
            {
              "name": "Bhutan",
              "value": "BT"
            },
            {
              "name": "Bolivia (Plurinational State of)",
              "value": "BO"
            },
            {
              "name": "Bonaire, Sint Eustatius and Saba",
              "value": "BQ"
            },
            {
              "name": "Bosnia and Herzegovina",
              "value": "BA"
            },
            {
              "name": "Botswana",
              "value": "BW"
            },
            {
              "name": "Bouvet Island",
              "value": "BV"
            },
            {
              "name": "Brazil",
              "value": "BR"
            },
            {
              "name": "British Indian Ocean Territory (the)",
              "value": "IO"
            },
            {
              "name": "Brunei Darussalam",
              "value": "BN"
            },
            {
              "name": "Bulgaria",
              "value": "BG"
            },
            {
              "name": "Burkina Faso",
              "value": "BF"
            },
            {
              "name": "Burundi",
              "value": "BI"
            },
            {
              "name": "Cabo Verde",
              "value": "CV"
            },
            {
              "name": "Cambodia",
              "value": "KH"
            },
            {
              "name": "Cameroon",
              "value": "CM"
            },
            {
              "name": "Canada",
              "value": "CA"
            },
            {
              "name": "Cayman Islands (the)",
              "value": "KY"
            },
            {
              "name": "Central African Republic (the)",
              "value": "CF"
            },
            {
              "name": "Chad",
              "value": "TD"
            },
            {
              "name": "Chile",
              "value": "CL"
            },
            {
              "name": "China",
              "value": "CN"
            },
            {
              "name": "Christmas Island",
              "value": "CX"
            },
            {
              "name": "Cocos (Keeling) Islands (the)",
              "value": "CC"
            },
            {
              "name": "Colombia",
              "value": "CO"
            },
            {
              "name": "Comoros (the)",
              "value": "KM"
            },
            {
              "name": "Congo (the Democratic Republic of the)",
              "value": "CD"
            },
            {
              "name": "Congo (the)",
              "value": "CG"
            },
            {
              "name": "Cook Islands (the)",
              "value": "CK"
            },
            {
              "name": "Costa Rica",
              "value": "CR"
            },
            {
              "name": "Côte d'Ivoire",
              "value": "CI"
            },
            {
              "name": "Croatia",
              "value": "HR"
            },
            {
              "name": "Cuba",
              "value": "CU"
            },
            {
              "name": "Curaçao",
              "value": "CW"
            },
            {
              "name": "Cyprus",
              "value": "CY"
            },
            {
              "name": "Czechia",
              "value": "CZ"
            },
            {
              "name": "Denmark",
              "value": "DK"
            },
            {
              "name": "Djibouti",
              "value": "DJ"
            },
            {
              "name": "Dominica",
              "value": "DM"
            },
            {
              "name": "Dominican Republic (the)",
              "value": "DO"
            },
            {
              "name": "Ecuador",
              "value": "EC"
            },
            {
              "name": "Egypt",
              "value": "EG"
            },
            {
              "name": "El Salvador",
              "value": "SV"
            },
            {
              "name": "Equatorial Guinea",
              "value": "GQ"
            },
            {
              "name": "Eritrea",
              "value": "ER"
            },
            {
              "name": "Estonia",
              "value": "EE"
            },
            {
              "name": "Ethiopia",
              "value": "ET"
            },
            {
              "name": "Falkland Islands (the) [Malvinas]",
              "value": "FK"
            },
            {
              "name": "Faroe Islands (the)",
              "value": "FO"
            },
            {
              "name": "Fiji",
              "value": "FJ"
            },
            {
              "name": "Finland",
              "value": "FI"
            },
            {
              "name": "France",
              "value": "FR"
            },
            {
              "name": "French Guiana",
              "value": "GF"
            },
            {
              "name": "French Polynesia",
              "value": "PF"
            },
            {
              "name": "French Southern Territories (the)",
              "value": "TF"
            },
            {
              "name": "Gabon",
              "value": "GA"
            },
            {
              "name": "Gambia (the)",
              "value": "GM"
            },
            {
              "name": "Georgia",
              "value": "GE"
            },
            {
              "name": "Germany",
              "value": "DE"
            },
            {
              "name": "Ghana",
              "value": "GH"
            },
            {
              "name": "Gibraltar",
              "value": "GI"
            },
            {
              "name": "Greece",
              "value": "GR"
            },
            {
              "name": "Greenland",
              "value": "GL"
            },
            {
              "name": "Grenada",
              "value": "GD"
            },
            {
              "name": "Guadeloupe",
              "value": "GP"
            },
            {
              "name": "Guam",
              "value": "GU"
            },
            {
              "name": "Guatemala",
              "value": "GT"
            },
            {
              "name": "Guernsey",
              "value": "GG"
            },
            {
              "name": "Guinea",
              "value": "GN"
            },
            {
              "name": "Guinea-Bissau",
              "value": "GW"
            },
            {
              "name": "Guyana",
              "value": "GY"
            },
            {
              "name": "Haiti",
              "value": "HT"
            },
            {
              "name": "Heard Island and McDonald Islands",
              "value": "HM"
            },
            {
              "name": "Holy See (the)",
              "value": "VA"
            },
            {
              "name": "Honduras",
              "value": "HN"
            },
            {
              "name": "Hong Kong",
              "value": "HK"
            },
            {
              "name": "Hungary",
              "value": "HU"
            },
            {
              "name": "Iceland",
              "value": "IS"
            },
            {
              "name": "India",
              "value": "IN"
            },
            {
              "name": "Indonesia",
              "value": "ID"
            },
            {
              "name": "Iran (Islamic Republic of)",
              "value": "IR"
            },
            {
              "name": "Iraq",
              "value": "IQ"
            },
            {
              "name": "Ireland",
              "value": "IE"
            },
            {
              "name": "Isle of Man",
              "value": "IM"
            },
            {
              "name": "Israel",
              "value": "IL"
            },
            {
              "name": "Italy",
              "value": "IT"
            },
            {
              "name": "Jamaica",
              "value": "JM"
            },
            {
              "name": "Japan",
              "value": "JP"
            },
            {
              "name": "Jersey",
              "value": "JE"
            },
            {
              "name": "Jordan",
              "value": "JO"
            },
            {
              "name": "Kazakhstan",
              "value": "KZ"
            },
            {
              "name": "Kenya",
              "value": "KE"
            },
            {
              "name": "Kiribati",
              "value": "KI"
            },
            {
              "name": "Korea (the Democratic People's Republic of)",
              "value": "KP"
            },
            {
              "name": "Korea (the Republic of)",
              "value": "KR"
            },
            {
              "name": "Kuwait",
              "value": "KW"
            },
            {
              "name": "Kyrgyzstan",
              "value": "KG"
            },
            {
              "name": "Lao People's Democratic Republic (the)",
              "value": "LA"
            },
            {
              "name": "Latvia",
              "value": "LV"
            },
            {
              "name": "Lebanon",
              "value": "LB"
            },
            {
              "name": "Lesotho",
              "value": "LS"
            },
            {
              "name": "Liberia",
              "value": "LR"
            },
            {
              "name": "Libya",
              "value": "LY"
            },
            {
              "name": "Liechtenstein",
              "value": "LI"
            },
            {
              "name": "Lithuania",
              "value": "LT"
            },
            {
              "name": "Luxembourg",
              "value": "LU"
            },
            {
              "name": "Macao",
              "value": "MO"
            },
            {
              "name": "Macedonia (the former Yugoslav Republic of)",
              "value": "MK"
            },
            {
              "name": "Madagascar",
              "value": "MG"
            },
            {
              "name": "Malawi",
              "value": "MW"
            },
            {
              "name": "Malaysia",
              "value": "MY"
            },
            {
              "name": "Maldives",
              "value": "MV"
            },
            {
              "name": "Mali",
              "value": "ML"
            },
            {
              "name": "Malta",
              "value": "MT"
            },
            {
              "name": "Marshall Islands (the)",
              "value": "MH"
            },
            {
              "name": "Martinique",
              "value": "MQ"
            },
            {
              "name": "Mauritania",
              "value": "MR"
            },
            {
              "name": "Mauritius",
              "value": "MU"
            },
            {
              "name": "Mayotte",
              "value": "YT"
            },
            {
              "name": "Mexico",
              "value": "MX"
            },
            {
              "name": "Micronesia (Federated States of)",
              "value": "FM"
            },
            {
              "name": "Moldova (the Republic of)",
              "value": "MD"
            },
            {
              "name": "Monaco",
              "value": "MC"
            },
            {
              "name": "Mongolia",
              "value": "MN"
            },
            {
              "name": "Montenegro",
              "value": "ME"
            },
            {
              "name": "Montserrat",
              "value": "MS"
            },
            {
              "name": "Morocco",
              "value": "MA"
            },
            {
              "name": "Mozambique",
              "value": "MZ"
            },
            {
              "name": "Myanmar",
              "value": "MM"
            },
            {
              "name": "Namibia",
              "value": "NA"
            },
            {
              "name": "Nauru",
              "value": "NR"
            },
            {
              "name": "Nepal",
              "value": "NP"
            },
            {
              "name": "Netherlands (the)",
              "value": "NL"
            },
            {
              "name": "New Caledonia",
              "value": "NC"
            },
            {
              "name": "New Zealand",
              "value": "NZ"
            },
            {
              "name": "Nicaragua",
              "value": "NI"
            },
            {
              "name": "Niger (the)",
              "value": "NE"
            },
            {
              "name": "Nigeria",
              "value": "NG"
            },
            {
              "name": "Niue",
              "value": "NU"
            },
            {
              "name": "Norfolk Island",
              "value": "NF"
            },
            {
              "name": "Northern Mariana Islands (the)",
              "value": "MP"
            },
            {
              "name": "Norway",
              "value": "NO"
            },
            {
              "name": "Oman",
              "value": "OM"
            },
            {
              "name": "Pakistan",
              "value": "PK"
            },
            {
              "name": "Palau",
              "value": "PW"
            },
            {
              "name": "Palestine, State of",
              "value": "PS"
            },
            {
              "name": "Panama",
              "value": "PA"
            },
            {
              "name": "Papua New Guinea",
              "value": "PG"
            },
            {
              "name": "Paraguay",
              "value": "PY"
            },
            {
              "name": "Peru",
              "value": "PE"
            },
            {
              "name": "Philippines (the)",
              "value": "PH"
            },
            {
              "name": "Pitcairn",
              "value": "PN"
            },
            {
              "name": "Poland",
              "value": "PL"
            },
            {
              "name": "Portugal",
              "value": "PT"
            },
            {
              "name": "Puerto Rico",
              "value": "PR"
            },
            {
              "name": "Qatar",
              "value": "QA"
            },
            {
              "name": "Réunion",
              "value": "RE"
            },
            {
              "name": "Romania",
              "value": "RO"
            },
            {
              "name": "Russian Federation (the)",
              "value": "RU"
            },
            {
              "name": "Rwanda",
              "value": "RW"
            },
            {
              "name": "Saint Barthélemy",
              "value": "BL"
            },
            {
              "name": "Saint Helena, Ascension and Tristan da Cunha",
              "value": "SH"
            },
            {
              "name": "Saint Kitts and Nevis",
              "value": "KN"
            },
            {
              "name": "Saint Lucia",
              "value": "LC"
            },
            {
              "name": "Saint Martin (French part)",
              "value": "MF"
            },
            {
              "name": "Saint Pierre and Miquelon",
              "value": "PM"
            },
            {
              "name": "Saint Vincent and the Grenadines",
              "value": "VC"
            },
            {
              "name": "Samoa",
              "value": "WS"
            },
            {
              "name": "San Marino",
              "value": "SM"
            },
            {
              "name": "Sao Tome and Principe",
              "value": "ST"
            },
            {
              "name": "Saudi Arabia",
              "value": "SA"
            },
            {
              "name": "Senegal",
              "value": "SN"
            },
            {
              "name": "Serbia",
              "value": "RS"
            },
            {
              "name": "Seychelles",
              "value": "SC"
            },
            {
              "name": "Sierra Leone",
              "value": "SL"
            },
            {
              "name": "Singapore",
              "value": "SG"
            },
            {
              "name": "Sint Maarten (Dutch part)",
              "value": "SX"
            },
            {
              "name": "Slovakia",
              "value": "SK"
            },
            {
              "name": "Slovenia",
              "value": "SI"
            },
            {
              "name": "Solomon Islands",
              "value": "SB"
            },
            {
              "name": "Somalia",
              "value": "SO"
            },
            {
              "name": "South Africa",
              "value": "ZA"
            },
            {
              "name": "South Georgia and the South Sandwich Islands",
              "value": "GS"
            },
            {
              "name": "South Sudan",
              "value": "SS"
            },
            {
              "name": "Spain",
              "value": "ES"
            },
            {
              "name": "Sri Lanka",
              "value": "LK"
            },
            {
              "name": "Sudan (the)",
              "value": "SD"
            },
            {
              "name": "Suriname",
              "value": "SR"
            },
            {
              "name": "Svalbard and Jan Mayen",
              "value": "SJ"
            },
            {
              "name": "Swaziland",
              "value": "SZ"
            },
            {
              "name": "Sweden",
              "value": "SE"
            },
            {
              "name": "Switzerland",
              "value": "CH"
            },
            {
              "name": "Syrian Arab Republic",
              "value": "SY"
            },
            {
              "name": "Taiwan (Province of China)",
              "value": "TW"
            },
            {
              "name": "Tajikistan",
              "value": "TJ"
            },
            {
              "name": "Tanzania, United Republic of",
              "value": "TZ"
            },
            {
              "name": "Thailand",
              "value": "TH"
            },
            {
              "name": "Timor-Leste",
              "value": "TL"
            },
            {
              "name": "Togo",
              "value": "TG"
            },
            {
              "name": "Tokelau",
              "value": "TK"
            },
            {
              "name": "Tonga",
              "value": "TO"
            },
            {
              "name": "Trinidad and Tobago",
              "value": "TT"
            },
            {
              "name": "Tunisia",
              "value": "TN"
            },
            {
              "name": "Turkey",
              "value": "TR"
            },
            {
              "name": "Turkmenistan",
              "value": "TM"
            },
            {
              "name": "Turks and Caicos Islands (the)",
              "value": "TC"
            },
            {
              "name": "Tuvalu",
              "value": "TV"
            },
            {
              "name": "Uganda",
              "value": "UG"
            },
            {
              "name": "Ukraine",
              "value": "UA"
            },
            {
              "name": "United Arab Emirates (the)",
              "value": "AE"
            },
            {
              "name": "United Kingdom of Great Britain and Northern Ireland (the)",
              "value": "GB"
            },
            {
              "name": "United States Minor Outlying Islands (the)",
              "value": "UM"
            },
            {
              "name": "United States of America (the)",
              "value": "US"
            },
            {
              "name": "Uruguay",
              "value": "UY"
            },
            {
              "name": "Uzbekistan",
              "value": "UZ"
            },
            {
              "name": "Vanuatu",
              "value": "VU"
            },
            {
              "name": "Venezuela (Bolivarian Republic of)",
              "value": "VE"
            },
            {
              "name": "Viet Nam",
              "value": "VN"
            },
            {
              "name": "Virgin Islands (British)",
              "value": "VG"
            },
            {
              "name": "Virgin Islands (U.S.)",
              "value": "VI"
            },
            {
              "name": "Wallis and Futuna",
              "value": "WF"
            },
            {
              "name": "Western Sahara*",
              "value": "EH"
            },
            {
              "name": "Yemen",
              "value": "YE"
            },
            {
              "name": "Zambia",
              "value": "ZM"
            },
            {
              "name": "Zimbabwe",
              "value": "ZW"
            }
          ],
          "default": "",
          "description": "If a country code is specified, only content that is playable in that market is returned"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "playlist",
            "artist",
            "track",
            "album"
          ],
          "operation": [
            "search"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "addSongToQueue",
      "name": "Add Song to Queue",
      "description": "Add a song to your queue"
    },
    {
      "operation": "currentlyPlaying",
      "name": "Currently Playing",
      "description": "Get your currently playing track"
    },
    {
      "operation": "nextSong",
      "name": "Next Song",
      "description": "Skip to your next track"
    },
    {
      "operation": "pause",
      "name": "Pause",
      "description": "Pause your music"
    },
    {
      "operation": "previousSong",
      "name": "Previous Song",
      "description": "Skip to your previous song"
    },
    {
      "operation": "recentlyPlayed",
      "name": "Recently Played",
      "description": "Get your recently played tracks"
    },
    {
      "operation": "resume",
      "name": "Resume",
      "description": "Resume playback on the current active device"
    },
    {
      "operation": "volume",
      "name": "Set Volume",
      "description": "Set volume on the current active device"
    },
    {
      "operation": "startMusic",
      "name": "Start Music",
      "description": "Start playing a playlist, artist, or album"
    }
  ]


node_type: nodes-base.spreadsheetFile
package_name: n8n-nodes-base
display_name: Spreadsheet File
description: Reads and writes data from a spreadsheet file like CSV, XLS, ODS, etc
category: transform
development_style: programmatic
version: 2
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
properties_schema:
  [
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "fromFile",
      "options": [
        {
          "name": "Read From File",
          "value": "fromFile",
          "description": "Reads data from a spreadsheet file",
          "action": "Read data from a spreadsheet file"
        },
        {
          "name": "Write to File",
          "value": "toFile",
          "description": "Writes the workflow data to a spreadsheet file",
          "action": "Write data to a spreadsheet file"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "fromFile"
          ]
        }
      }
    },
    {
      "displayName": "File Format",
      "name": "fileFormat",
      "type": "options",
      "default": "autodetect",
      "description": "The format of the binary data to read from",
      "options": [
        {
          "name": "Autodetect",
          "value": "autodetect"
        },
        {
          "name": "CSV",
          "value": "csv",
          "description": "Comma-separated values"
        },
        {
          "name": "HTML",
          "value": "html",
          "description": "HTML Table"
        },
        {
          "name": "ODS",
          "value": "ods",
          "description": "OpenDocument Spreadsheet"
        },
        {
          "name": "RTF",
          "value": "rtf",
          "description": "Rich Text Format"
        },
        {
          "name": "XLS",
          "value": "xls",
          "description": "Excel"
        },
        {
          "name": "XLSX",
          "value": "xlsx",
          "description": "Excel"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "fromFile"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Delimiter",
          "name": "delimiter",
          "type": "string",
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "csv"
              ]
            }
          },
          "default": ",",
          "placeholder": "e.g. ,",
          "description": "Set the field delimiter, usually a comma"
        },
        {
          "displayName": "Encoding",
          "name": "encoding",
          "type": "options",
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "csv"
              ]
            }
          },
          "options": [
            {
              "name": "ASCII",
              "value": "ascii"
            },
            {
              "name": "Latin1",
              "value": "latin1"
            },
            {
              "name": "UCS-2",
              "value": "ucs-2"
            },
            {
              "name": "UCS2",
              "value": "ucs2"
            },
            {
              "name": "UTF-8",
              "value": "utf-8"
            },
            {
              "name": "UTF16LE",
              "value": "utf16le"
            },
            {
              "name": "UTF8",
              "value": "utf8"
            }
          ],
          "default": "utf-8"
        },
        {
          "displayName": "Exclude Byte Order Mark (BOM)",
          "name": "enableBOM",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "csv"
              ]
            }
          },
          "default": false,
          "description": "Whether to detect and exclude the byte-order-mark from the CSV Input if present"
        },
        {
          "displayName": "Preserve Quotes",
          "name": "relaxQuotes",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "csv"
              ]
            }
          },
          "default": false,
          "description": "Whether to handle unclosed quotes in CSV fields as part of the field's content instead of throwing a parsing error"
        },
        {
          "displayName": "Header Row",
          "name": "headerRow",
          "type": "boolean",
          "default": true,
          "description": "Whether the first row of the file contains the header names"
        },
        {
          "displayName": "Include Empty Cells",
          "name": "includeEmptyCells",
          "type": "boolean",
          "default": false,
          "description": "Whether to include empty cells when reading from file. They will be filled with an empty string."
        },
        {
          "displayName": "Max Number of Rows to Load",
          "name": "maxRowCount",
          "type": "number",
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "csv"
              ]
            }
          },
          "default": -1,
          "placeholder": "e.g. 10",
          "description": "Stop handling records after the requested number of rows are read. Use -1 if you want to load all rows."
        },
        {
          "displayName": "Range",
          "name": "range",
          "type": "string",
          "default": "",
          "description": "The range to read from the table. If set to a number it will be the starting row. If set to string it will be used as A1-style notation range."
        },
        {
          "displayName": "RAW Data",
          "name": "rawData",
          "type": "boolean",
          "default": false,
          "description": "Whether to return RAW data, instead of parsing it"
        },
        {
          "displayName": "Read As String",
          "name": "readAsString",
          "type": "boolean",
          "default": false,
          "description": "In some cases and file formats, it is necessary to read as string to ensure special characters are interpreted correctly"
        },
        {
          "displayName": "Sheet Name",
          "name": "sheetName",
          "type": "string",
          "default": "Sheet",
          "placeholder": "e.g. mySheet",
          "description": "Name of the sheet to read from in the spreadsheet (if supported). If not set, the first one will be chosen."
        },
        {
          "displayName": "Starting Line",
          "name": "fromLine",
          "type": "number",
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "csv"
              ]
            }
          },
          "default": 0,
          "placeholder": "e.g. 0",
          "description": "Start handling records from the requested line number. Starts at 0."
        },
        {
          "displayName": "Skip Records With Errors",
          "name": "skipRecordsWithErrors",
          "type": "fixedCollection",
          "default": {
            "value": {
              "enabled": true,
              "maxSkippedRecords": -1
            }
          },
          "options": [
            {
              "displayName": "Value",
              "name": "value",
              "values": [
                {
                  "displayName": "Enabled",
                  "name": "enabled",
                  "type": "boolean",
                  "default": false,
                  "description": "Whether to skip records with errors when reading from file"
                },
                {
                  "displayName": "Max Skipped Records",
                  "name": "maxSkippedRecords",
                  "type": "number",
                  "default": -1,
                  "description": "The maximum number of records that can be skipped, will throw an error if exceeded. Set to -1 to remove limit."
                }
              ]
            }
          ],
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "csv"
              ]
            }
          }
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "fromFile"
          ]
        }
      }
    },
    {
      "displayName": "File Format",
      "name": "fileFormat",
      "type": "options",
      "default": "xls",
      "description": "The format of the file to save the data as",
      "options": [
        {
          "name": "CSV",
          "value": "csv",
          "description": "Comma-separated values"
        },
        {
          "name": "HTML",
          "value": "html",
          "description": "HTML Table"
        },
        {
          "name": "ODS",
          "value": "ods",
          "description": "OpenDocument Spreadsheet"
        },
        {
          "name": "RTF",
          "value": "rtf",
          "description": "Rich Text Format"
        },
        {
          "name": "XLS",
          "value": "xls",
          "description": "Excel"
        },
        {
          "name": "XLSX",
          "value": "xlsx",
          "description": "Excel"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "toFile"
          ]
        }
      }
    },
    {
      "displayName": "Put Output File in Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "toFile"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Compression",
          "name": "compression",
          "type": "boolean",
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "xlsx",
                "ods"
              ]
            }
          },
          "default": false,
          "description": "Whether compression will be applied or not"
        },
        {
          "displayName": "File Name",
          "name": "fileName",
          "type": "string",
          "default": "",
          "description": "File name to set in binary data. By default will \"spreadsheet.&lt;fileFormat&gt;\" be used."
        },
        {
          "displayName": "Header Row",
          "name": "headerRow",
          "type": "boolean",
          "default": true,
          "description": "Whether the first row of the file contains the header names"
        },
        {
          "displayName": "Sheet Name",
          "name": "sheetName",
          "type": "string",
          "displayOptions": {
            "show": {
              "/fileFormat": [
                "ods",
                "xls",
                "xlsx"
              ]
            }
          },
          "default": "Sheet",
          "description": "Name of the sheet to create in the spreadsheet"
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "toFile"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "fromFile",
      "name": "Read From File",
      "description": "Reads data from a spreadsheet file"
    },
    {
      "operation": "toFile",
      "name": "Write to File",
      "description": "Writes the workflow data to a spreadsheet file"
    }
  ]


node_type: nodes-base.sseTrigger
package_name: n8n-nodes-base
display_name: SSE Trigger
description: Triggers the workflow when Server-Sent Events occur
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required: []
outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: SSE Trigger node documentation
  description: Learn how to use the SSE Trigger node in n8n. Follow technical documentation to integrate SSE Trigger node into your workflows.
  contentType: [integration, reference]
  priority: medium
  ---

  # SSE Trigger node

  Server-Sent Events (SSE) is a server push technology enabling a client to receive automatic updates from a server using HTTP connection. The SSE Trigger node is used to receive server-sent events.

  ## Node parameters

  The SSE Trigger node has one parameter, the **URL**. Enter the URL from which to receive the server-sent events (SSE).


  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'sse-trigger') ]]

properties_schema:
  [
    {
      "displayName": "URL",
      "name": "url",
      "type": "string",
      "default": "",
      "description": "The URL to receive the SSE from",
      "required": true
    }
  ]


node_type: nodes-base.ssh
package_name: n8n-nodes-base
display_name: SSH
description: Execute commands via SSH
category: input
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: SSH
  description: Documentation for the SSH node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples.
  contentType: [integration, reference]
  priority: medium
  ---

  # SSH

  The SSH node is useful for executing commands using the Secure Shell Protocol.

  /// note | Credentials
  You can find authentication information for this node [here](/integrations/builtin/credentials/ssh.md).
  ///

  ## Operations

  - [**Execute** a command](#execute-command)
  - [**Download** a file](#download-file)
  - [**Upload** a file](#upload-file)

  /// note | Uploading files
  To attach a file for upload, you will need to use an extra node such as the [Read/Write Files from Disk](/integrations/builtin/core-nodes/n8n-nodes-base.readwritefile.md) node or the [HTTP Request](/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/index.md) node to pass the file as a data property.
  ///

  ### Execute Command

  Configure this operation with these parameters:

  - **Credential to connect with**: Select an existing or create a new [SSH credential](/integrations/builtin/credentials/ssh.md) to connect with.
  - **Command**: Enter the command to execute on the remote device.
  - **Working Directory**: Enter the directory where n8n should execute the command.

  ### Download File

  - **Credential to connect with**: Select an existing or create a new [SSH credential](/integrations/builtin/credentials/ssh.md) to connect with.
  - **Path**: Enter the path for the file you want to download. This path must include the file name. The downloaded file will use this file name. To use a different name, use the **File Name** option. Refer to [Download File options](#download-file-options) for more information.
  - **File Property**: Enter the name of the object property that holds the binary data you want to download.

  #### Download File options

  You can further configure this operation with the **File Name** option. Use this option to override the binary data file name to a name of your choice.

  ### Upload File

  - **Credential to connect with**: Select an existing or create a new [SSH credential](/integrations/builtin/credentials/ssh.md) to connect with.
  - **Input Binary Field**: Enter the name of the input binary field that contains the file you want to upload.
  - **Target Directory**: The directory to upload the file to. The name of the file is taken from the binary data file name. To enter a different name, use the **File Name** option. Refer to [Upload File options](#upload-file-options) for more information.

  #### Upload File options

  You can further configure this operation with the **File Name** option. Use this option to override the binary data file name to a name of your choice.

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'ssh') ]]

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "password",
      "options": [
        {
          "name": "Password",
          "value": "password"
        },
        {
          "name": "Private Key",
          "value": "privateKey"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "command",
      "options": [
        {
          "name": "Command",
          "value": "command"
        },
        {
          "name": "File",
          "value": "file"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "execute",
      "options": [
        {
          "name": "Execute",
          "value": "execute",
          "description": "Execute a command",
          "action": "Execute a command"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "command"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Command",
      "name": "command",
      "type": "string",
      "default": "",
      "description": "The command to be executed on a remote device",
      "displayOptions": {
        "show": {
          "resource": [
            "command"
          ],
          "operation": [
            "execute"
          ]
        }
      }
    },
    {
      "displayName": "Working Directory",
      "name": "cwd",
      "type": "string",
      "default": "/",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "command"
          ],
          "operation": [
            "execute"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "upload",
      "options": [
        {
          "name": "Download",
          "value": "download",
          "description": "Download a file",
          "action": "Download a file"
        },
        {
          "name": "Upload",
          "value": "upload",
          "description": "Upload a file",
          "action": "Upload a file"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Input Binary Field",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "upload"
          ],
          "resource": [
            "file"
          ]
        }
      }
    },
    {
      "displayName": "Target Directory",
      "name": "path",
      "type": "string",
      "default": "",
      "description": "The directory to upload the file to. The name of the file does not need to be specified, it's taken from the binary data file name. To override this behavior, set the parameter \"File Name\" under options.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload"
          ]
        }
      }
    },
    {
      "displayName": "Path",
      "name": "path",
      "type": "string",
      "default": "",
      "description": "The file path of the file to download. Has to contain the full path including file name.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download"
          ]
        }
      }
    },
    {
      "displayName": "File Property",
      "name": "binaryPropertyName",
      "type": "string",
      "default": "data",
      "description": "Object property name which holds binary data",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "download"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "File Name",
          "name": "fileName",
          "type": "string",
          "default": "",
          "description": "Overrides the binary data file name"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "file"
          ],
          "operation": [
            "upload",
            "download"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "execute",
      "name": "Execute",
      "description": "Execute a command"
    }
  ]

credentials_required:
  [
    {
      "name": "sshPassword",
      "required": true,
      "testedBy": "sshConnectionTest",
      "displayOptions": {
        "show": {
          "authentication": [
            "password"
          ]
        }
      }
    },
    {
      "name": "sshPrivateKey",
      "required": true,
      "testedBy": "sshConnectionTest",
      "displayOptions": {
        "show": {
          "authentication": [
            "privateKey"
          ]
        }
      }
    }
  ]


node_type: nodes-base.stackbyTool
package_name: n8n-nodes-base
display_name: Stackby Tool
description: Read, write, and delete data in Stackby (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "stackbyApi",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-21 08:10:03
tool_variant_of: nodes-base.stackby
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Stackby node documentation
  description: Learn how to use the Stackby node in n8n. Follow technical documentation to integrate Stackby node into your workflows.
  contentType: [integration, reference]
  ---

  # Stackby node

  Use the Stackby node to automate work in Stackby, and integrate Stackby with other applications. n8n has built-in support for a wide range of Stackby features, including appending, deleting, listing and reading. 

  On this page, you'll find a list of operations the Stackby node supports and links to more resources.

  /// note | Credentials
  Refer to [Stackby credentials](/integrations/builtin/credentials/stackby.md) for guidance on setting up authentication. 
  ///

  ## Operations

  - Append
  - Delete
  - List
  - Read

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'stackby') ]]

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Stackby"
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "append",
      "options": [
        {
          "name": "Append",
          "value": "append"
        },
        {
          "name": "Delete",
          "value": "delete"
        },
        {
          "name": "List",
          "value": "list"
        },
        {
          "name": "Read",
          "value": "read"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Stack ID",
      "name": "stackId",
      "type": "string",
      "default": "",
      "description": "The ID of the stack to access",
      "required": true
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Enter Table Name",
      "required": true
    },
    {
      "displayName": "ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "ID of the record to return",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "read",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": true,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 1000,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "list"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "View",
          "name": "view",
          "type": "string",
          "default": "",
          "placeholder": "All Stories",
          "description": "The name or ID of a view in the Stories table. If set, only the records in that view will be returned. The records will be sorted according to the order of the view."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "append"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "append",
      "name": "Append"
    },
    {
      "operation": "delete",
      "name": "Delete"
    },
    {
      "operation": "list",
      "name": "List"
    },
    {
      "operation": "read",
      "name": "Read"
    }
  ]


node_type: nodes-base.stackby
package_name: n8n-nodes-base
display_name: Stackby
description: Read, write, and delete data in Stackby
category: transform
development_style: programmatic
version: 1
credentials_required:
  [
  {
  "name": "stackbyApi",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Stackby node documentation
  description: Learn how to use the Stackby node in n8n. Follow technical documentation to integrate Stackby node into your workflows.
  contentType: [integration, reference]
  ---

  # Stackby node

  Use the Stackby node to automate work in Stackby, and integrate Stackby with other applications. n8n has built-in support for a wide range of Stackby features, including appending, deleting, listing and reading. 

  On this page, you'll find a list of operations the Stackby node supports and links to more resources.

  /// note | Credentials
  Refer to [Stackby credentials](/integrations/builtin/credentials/stackby.md) for guidance on setting up authentication. 
  ///

  ## Operations

  - Append
  - Delete
  - List
  - Read

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'stackby') ]]

properties_schema:
  [
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "append",
      "options": [
        {
          "name": "Append",
          "value": "append"
        },
        {
          "name": "Delete",
          "value": "delete"
        },
        {
          "name": "List",
          "value": "list"
        },
        {
          "name": "Read",
          "value": "read"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Stack ID",
      "name": "stackId",
      "type": "string",
      "default": "",
      "description": "The ID of the stack to access",
      "required": true
    },
    {
      "displayName": "Table",
      "name": "table",
      "type": "string",
      "default": "",
      "description": "Enter Table Name",
      "required": true
    },
    {
      "displayName": "ID",
      "name": "id",
      "type": "string",
      "default": "",
      "description": "ID of the record to return",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "read",
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": true,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "operation": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 1000,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "operation": [
            "list"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "View",
          "name": "view",
          "type": "string",
          "default": "",
          "placeholder": "All Stories",
          "description": "The name or ID of a view in the Stories table. If set, only the records in that view will be returned. The records will be sorted according to the order of the view."
        }
      ],
      "displayOptions": {
        "show": {
          "operation": [
            "list"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "required": true,
      "displayOptions": {
        "show": {
          "operation": [
            "append"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "append",
      "name": "Append"
    },
    {
      "operation": "delete",
      "name": "Delete"
    },
    {
      "operation": "list",
      "name": "List"
    },
    {
      "operation": "read",
      "name": "Read"
    }
  ]


node_type: nodes-base.stopAndError
package_name: n8n-nodes-base
display_name: Stop and Error
description: Throw an error in the workflow
category: input
development_style: programmatic
version: 1
operations: []
credentials_required: []
outputs: []
updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Stop And Error
  description: Documentation for the Stop And Error node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples.
  contentType: [integration, reference]
  priority: high
  ---

  # Stop And Error

  Use the Stop And Error node to display custom error messages, cause executions to fail under certain conditions, and send custom error information to error workflows.

  ## Operations

  * Error Message
  * Error Object

  ## Node parameters

  Both operations include one node parameter, the **Error Type**. Use this parameter to select the type of error to throw. Choose between the two operations: **Error Message** and **Error Object**.

  The other parameters depend on which operation you select.

  ### Error Message parameters

  The Error Message Error Type adds one parameter, the **Error Message** field. Enter the message you'd like to throw.

  ### Error Object parameters

  The Error Object Error Type adds one parameter, the **Error Object**. Enter a JSON object that contains the error properties you'd like to throw.

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'stop-and-error') ]]

  ## Related resources

  You can use the Stop And Error node with the [Error trigger](/integrations/builtin/core-nodes/n8n-nodes-base.errortrigger.md) node.

  Read more about [Error workflows](/flow-logic/error-handling.md) in n8n workflows.

properties_schema:
  [
    {
      "displayName": "Error Type",
      "name": "errorType",
      "type": "options",
      "default": "errorMessage",
      "description": "Type of error to throw",
      "options": [
        {
          "name": "Error Message",
          "value": "errorMessage"
        },
        {
          "name": "Error Object",
          "value": "errorObject"
        }
      ]
    },
    {
      "displayName": "Error Message",
      "name": "errorMessage",
      "type": "string",
      "default": "",
      "required": true,
      "displayOptions": {
        "show": {
          "errorType": [
            "errorMessage"
          ]
        }
      }
    },
    {
      "displayName": "Error Object",
      "name": "errorObject",
      "type": "json",
      "default": "",
      "description": "Object containing error properties",
      "required": true,
      "displayOptions": {
        "show": {
          "errorType": [
            "errorObject"
          ]
        }
      },
      "typeOptions": {
        "alwaysOpenEditWindow": true
      }
    }
  ]


node_type: nodes-base.storyblokTool
package_name: n8n-nodes-base
display_name: Storyblok Tool
description: Consume Storyblok API (AI Tool variant for use with AI Agents)
category: output
development_style: programmatic
version: 1
outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-21 08:10:03
tool_variant_of: nodes-base.storyblok
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Storyblok node documentation
  description: Learn how to use the Storyblok node in n8n. Follow technical documentation to integrate Storyblok node into your workflows.
  contentType: [integration, reference]
  ---

  # Storyblok node

  Use the Storyblok node to automate work in Storyblok, and integrate Storyblok with other applications. n8n has built-in support for a wide range of Storyblok features, including getting, deleting, and publishing stories. 

  On this page, you'll find a list of operations the Storyblok node supports and links to more resources.

  /// note | Credentials
  Refer to [Storyblok credentials](/integrations/builtin/credentials/storyblok.md) for guidance on setting up authentication. 
  ///

  ## Operations

  ### Content API

  - **Story**
      - Get a story
      - Get all stories


  ### Management API

  - **Story**
      - Delete a story
      - Get a story
      - Get all stories
      - Publish a story
      - Unpublish a story

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'storyblok') ]]

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Storyblok"
    },
    {
      "displayName": "Source",
      "name": "source",
      "type": "options",
      "default": "contentApi",
      "description": "Pick where your data comes from, Content or Management API",
      "options": [
        {
          "name": "Content API",
          "value": "contentApi"
        },
        {
          "name": "Management API",
          "value": "managementApi"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "story",
      "options": [
        {
          "name": "Story",
          "value": "story"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "story",
      "options": [
        {
          "name": "Story",
          "value": "story"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a story",
          "action": "Get a story"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many stories",
          "action": "Get many stories"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Identifier",
      "name": "identifier",
      "type": "string",
      "default": "",
      "description": "The ID or slug of the story to get",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ],
          "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": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Starts With",
          "name": "starts_with",
          "type": "string",
          "default": "",
          "description": "Filter by slug"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a story",
          "action": "Delete a story"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a story",
          "action": "Get a story"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many stories",
          "action": "Get many stories"
        },
        {
          "name": "Publish",
          "value": "publish",
          "description": "Publish a story",
          "action": "Publish a story"
        },
        {
          "name": "Unpublish",
          "value": "unpublish",
          "description": "Unpublish a story",
          "action": "Unpublish a story"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Story ID",
      "name": "storyId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the story",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Story ID",
      "name": "storyId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the story",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Starts With",
          "name": "starts_with",
          "type": "string",
          "default": "",
          "description": "Filter by slug"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "publish"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Story ID",
      "name": "storyId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the story",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "publish"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Release ID",
          "name": "releaseId",
          "type": "string",
          "default": "",
          "description": "Numeric ID of release"
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "string",
          "default": "",
          "description": "Language code to publish the story individually (must be enabled in the space settings)"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "publish"
          ]
        }
      }
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "unpublish"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Story ID",
      "name": "storyId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the story",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "unpublish"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a story"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many stories"
    }
  ]

credentials_required:
  [
    {
      "name": "storyblokContentApi",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ]
        }
      }
    },
    {
      "name": "storyblokManagementApi",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ]
        }
      }
    }
  ]


node_type: nodes-base.storyblok
package_name: n8n-nodes-base
display_name: Storyblok
description: Consume Storyblok API
category: output
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Storyblok node documentation
  description: Learn how to use the Storyblok node in n8n. Follow technical documentation to integrate Storyblok node into your workflows.
  contentType: [integration, reference]
  ---

  # Storyblok node

  Use the Storyblok node to automate work in Storyblok, and integrate Storyblok with other applications. n8n has built-in support for a wide range of Storyblok features, including getting, deleting, and publishing stories. 

  On this page, you'll find a list of operations the Storyblok node supports and links to more resources.

  /// note | Credentials
  Refer to [Storyblok credentials](/integrations/builtin/credentials/storyblok.md) for guidance on setting up authentication. 
  ///

  ## Operations

  ### Content API

  - **Story**
      - Get a story
      - Get all stories


  ### Management API

  - **Story**
      - Delete a story
      - Get a story
      - Get all stories
      - Publish a story
      - Unpublish a story

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'storyblok') ]]

properties_schema:
  [
    {
      "displayName": "Source",
      "name": "source",
      "type": "options",
      "default": "contentApi",
      "description": "Pick where your data comes from, Content or Management API",
      "options": [
        {
          "name": "Content API",
          "value": "contentApi"
        },
        {
          "name": "Management API",
          "value": "managementApi"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "story",
      "options": [
        {
          "name": "Story",
          "value": "story"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "story",
      "options": [
        {
          "name": "Story",
          "value": "story"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a story",
          "action": "Get a story"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many stories",
          "action": "Get many stories"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Identifier",
      "name": "identifier",
      "type": "string",
      "default": "",
      "description": "The ID or slug of the story to get",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ],
          "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": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Starts With",
          "name": "starts_with",
          "type": "string",
          "default": "",
          "description": "Filter by slug"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a story",
          "action": "Delete a story"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a story",
          "action": "Get a story"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many stories",
          "action": "Get many stories"
        },
        {
          "name": "Publish",
          "value": "publish",
          "description": "Publish a story",
          "action": "Publish a story"
        },
        {
          "name": "Unpublish",
          "value": "unpublish",
          "description": "Unpublish a story",
          "action": "Unpublish a story"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "delete"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Story ID",
      "name": "storyId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the story",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "get"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Story ID",
      "name": "storyId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the story",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Starts With",
          "name": "starts_with",
          "type": "string",
          "default": "",
          "description": "Filter by slug"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "publish"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Story ID",
      "name": "storyId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the story",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "publish"
          ]
        }
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Release ID",
          "name": "releaseId",
          "type": "string",
          "default": "",
          "description": "Numeric ID of release"
        },
        {
          "displayName": "Language",
          "name": "language",
          "type": "string",
          "default": "",
          "description": "Language code to publish the story individually (must be enabled in the space settings)"
        }
      ],
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "publish"
          ]
        }
      }
    },
    {
      "displayName": "Space Name or ID",
      "name": "space",
      "type": "options",
      "default": "",
      "description": "The name of the space. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "unpublish"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getSpaces"
      }
    },
    {
      "displayName": "Story ID",
      "name": "storyId",
      "type": "string",
      "default": "",
      "description": "Numeric ID of the story",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ],
          "resource": [
            "story"
          ],
          "operation": [
            "unpublish"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "get",
      "name": "Get",
      "description": "Get a story"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many stories"
    }
  ]

credentials_required:
  [
    {
      "name": "storyblokContentApi",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "contentApi"
          ]
        }
      }
    },
    {
      "name": "storyblokManagementApi",
      "required": true,
      "displayOptions": {
        "show": {
          "source": [
            "managementApi"
          ]
        }
      }
    }
  ]


node_type: nodes-base.strapiTool
package_name: n8n-nodes-base
display_name: Strapi Tool
description: Consume Strapi API (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1
outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-21 08:10:03
tool_variant_of: nodes-base.strapi
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Strapi node documentation
  description: Learn how to use the Strapi node in n8n. Follow technical documentation to integrate Strapi node into your workflows.
  contentType: [integration, reference]
  ---

  # Strapi node

  Use the Strapi node to automate work in Strapi, and integrate Strapi with other applications. n8n has built-in support for a wide range of Strapi features, including creating and deleting entries. 

  On this page, you'll find a list of operations the Strapi node supports and links to more resources.

  /// note | Credentials
  Refer to [Strapi credentials](/integrations/builtin/credentials/strapi.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Entry
      * Create
      * Delete
      * Get
      * Get Many
      * Update

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'strapi') ]]

  ## Related resources

  Refer to [Strapi's documentation](https://docs.strapi.io/dev-docs/api/rest){:target=_blank .external-link} for more information about the service.

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to make API requests and fetch data"
    },
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "password",
      "options": [
        {
          "name": "Username & Password",
          "value": "password"
        },
        {
          "name": "API Token",
          "value": "token"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "entry",
      "options": [
        {
          "name": "Entry",
          "value": "entry"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an entry",
          "action": "Create an entry"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an entry",
          "action": "Delete an entry"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an entry",
          "action": "Get an entry"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many entries",
          "action": "Get many entries"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an entry",
          "action": "Update an entry"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Entry ID",
      "name": "entryId",
      "type": "string",
      "default": "",
      "description": "The ID of the entry to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Entry ID",
      "name": "entryId",
      "type": "string",
      "default": "",
      "description": "The ID of the entry to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Publication State",
          "name": "publicationState",
          "type": "options",
          "options": [
            {
              "name": "Live",
              "value": "live"
            },
            {
              "name": "Preview",
              "value": "preview"
            }
          ],
          "default": "",
          "description": "Only select entries matching the publication state provided"
        },
        {
          "displayName": "Sort Fields",
          "name": "sort",
          "type": "string",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add Sort Field"
          },
          "default": "",
          "placeholder": "name:asc",
          "description": "Name of the fields to sort the data by. By default will be sorted ascendingly. To modify that behavior, you have to add the sort direction after the name of sort field preceded by a colon. For example: <code>name:asc</code>."
        },
        {
          "displayName": "Where (JSON)",
          "name": "where",
          "type": "string",
          "default": "",
          "description": "JSON query to filter the data. <a href=\"https://strapi.io/documentation/developer-docs/latest/developer-resources/content-api/content-api.html#filters\">More info</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Key",
      "name": "updateKey",
      "type": "string",
      "default": "id",
      "description": "Name of the property which decides which rows in the database should be updated. Normally that would be \"id\".",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an entry"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an entry"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an entry"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many entries"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an entry"
    }
  ]

credentials_required:
  [
    {
      "name": "strapiApi",
      "required": true,
      "testedBy": "strapiApiTest",
      "displayOptions": {
        "show": {
          "authentication": [
            "password"
          ]
        }
      }
    },
    {
      "name": "strapiTokenApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "token"
          ]
        }
      }
    }
  ]


node_type: nodes-base.strapi
package_name: n8n-nodes-base
display_name: Strapi
description: Consume Strapi API
category: input
development_style: programmatic
version: 1
outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Strapi node documentation
  description: Learn how to use the Strapi node in n8n. Follow technical documentation to integrate Strapi node into your workflows.
  contentType: [integration, reference]
  ---

  # Strapi node

  Use the Strapi node to automate work in Strapi, and integrate Strapi with other applications. n8n has built-in support for a wide range of Strapi features, including creating and deleting entries. 

  On this page, you'll find a list of operations the Strapi node supports and links to more resources.

  /// note | Credentials
  Refer to [Strapi credentials](/integrations/builtin/credentials/strapi.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Entry
      * Create
      * Delete
      * Get
      * Get Many
      * Update

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'strapi') ]]

  ## Related resources

  Refer to [Strapi's documentation](https://docs.strapi.io/dev-docs/api/rest){:target=_blank .external-link} for more information about the service.

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Authentication",
      "name": "authentication",
      "type": "options",
      "default": "password",
      "options": [
        {
          "name": "Username & Password",
          "value": "password"
        },
        {
          "name": "API Token",
          "value": "token"
        }
      ]
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "entry",
      "options": [
        {
          "name": "Entry",
          "value": "entry"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create an entry",
          "action": "Create an entry"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete an entry",
          "action": "Delete an entry"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an entry",
          "action": "Get an entry"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many entries",
          "action": "Get many entries"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an entry",
          "action": "Update an entry"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Entry ID",
      "name": "entryId",
      "type": "string",
      "default": "",
      "description": "The ID of the entry to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Entry ID",
      "name": "entryId",
      "type": "string",
      "default": "",
      "description": "The ID of the entry to get",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Publication State",
          "name": "publicationState",
          "type": "options",
          "options": [
            {
              "name": "Live",
              "value": "live"
            },
            {
              "name": "Preview",
              "value": "preview"
            }
          ],
          "default": "",
          "description": "Only select entries matching the publication state provided"
        },
        {
          "displayName": "Sort Fields",
          "name": "sort",
          "type": "string",
          "typeOptions": {
            "multipleValues": true,
            "multipleValueButtonText": "Add Sort Field"
          },
          "default": "",
          "placeholder": "name:asc",
          "description": "Name of the fields to sort the data by. By default will be sorted ascendingly. To modify that behavior, you have to add the sort direction after the name of sort field preceded by a colon. For example: <code>name:asc</code>."
        },
        {
          "displayName": "Where (JSON)",
          "name": "where",
          "type": "string",
          "default": "",
          "description": "JSON query to filter the data. <a href=\"https://strapi.io/documentation/developer-docs/latest/developer-resources/content-api/content-api.html#filters\">More info</a>."
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Content Type",
      "name": "contentType",
      "type": "string",
      "default": "",
      "description": "Name of the content type",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Key",
      "name": "updateKey",
      "type": "string",
      "default": "id",
      "description": "Name of the property which decides which rows in the database should be updated. Normally that would be \"id\".",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Columns",
      "name": "columns",
      "type": "string",
      "default": "",
      "description": "Comma-separated list of the properties which should used as columns for the new rows",
      "displayOptions": {
        "show": {
          "resource": [
            "entry"
          ],
          "operation": [
            "update"
          ]
        }
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create an entry"
    },
    {
      "operation": "delete",
      "name": "Delete",
      "description": "Delete an entry"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an entry"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many entries"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an entry"
    }
  ]

credentials_required:
  [
    {
      "name": "strapiApi",
      "required": true,
      "testedBy": "strapiApiTest",
      "displayOptions": {
        "show": {
          "authentication": [
            "password"
          ]
        }
      }
    },
    {
      "name": "strapiTokenApi",
      "required": true,
      "displayOptions": {
        "show": {
          "authentication": [
            "token"
          ]
        }
      }
    }
  ]


node_type: nodes-base.stravaTool
package_name: n8n-nodes-base
display_name: Strava Tool
description: Consume Strava API (AI Tool variant for use with AI Agents)
category: input
development_style: programmatic
version: 1.1
credentials_required:
  [
  {
  "name": "stravaOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-21 08:10:03
tool_variant_of: nodes-base.strava
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Strava node documentation
  description: Learn how to use the Strava node in n8n. Follow technical documentation to integrate Strava node into your workflows.
  contentType: [integration, reference]
  ---

  # Strava node

  Use the Strava node to automate work in Strava, and integrate Strava with other applications. n8n has built-in support for a wide range of Strava features, including creating new activities, and getting activity information. 

  On this page, you'll find a list of operations the Strava node supports and links to more resources.

  /// note | Credentials
  Refer to [Strava credentials](/integrations/builtin/credentials/strava.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Activity
      * Create a new activity
      * Get an activity
      * Get all activities
      * Get all activity comments
      * Get all activity kudos
      * Get all activity laps
      * Get all activity zones
      * Update an activity

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'strava') ]]

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Strava"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "activity",
      "options": [
        {
          "name": "Activity",
          "value": "activity"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new activity",
          "action": "Create an activity"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an activity",
          "action": "Get an activity"
        },
        {
          "name": "Get Comments",
          "value": "getComments",
          "description": "Get all activity comments",
          "action": "Get all activity comments"
        },
        {
          "name": "Get Kudos",
          "value": "getKudos",
          "description": "Get all activity kudos",
          "action": "Get all activity kudos"
        },
        {
          "name": "Get Laps",
          "value": "getLaps",
          "description": "Get all activity laps",
          "action": "Get all activity laps"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many activities",
          "action": "Get many activities"
        },
        {
          "name": "Get Streams",
          "value": "getStreams",
          "description": "Get activity streams",
          "action": "Get all activity streams"
        },
        {
          "name": "Get Zones",
          "value": "getZones",
          "description": "Get all activity zones",
          "action": "Get all activity zones"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an activity",
          "action": "Update an activity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the activity",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "string",
      "default": "",
      "description": "Type of activity. For example - Run, Ride etc.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ],
          "@version": [
            1
          ]
        }
      }
    },
    {
      "displayName": "Sport Type",
      "name": "sport_type",
      "type": "options",
      "default": "Run",
      "description": "Type of sport",
      "options": [
        {
          "name": "Alpine Ski",
          "value": "AlpineSki"
        },
        {
          "name": "Backcountry Ski",
          "value": "BackcountrySki"
        },
        {
          "name": "Badminton",
          "value": "Badminton"
        },
        {
          "name": "Canoeing",
          "value": "Canoeing"
        },
        {
          "name": "Crossfit",
          "value": "Crossfit"
        },
        {
          "name": "EBike Ride",
          "value": "EBikeRide"
        },
        {
          "name": "Elliptical",
          "value": "Elliptical"
        },
        {
          "name": "EMountain Bike Ride",
          "value": "EMountainBikeRide"
        },
        {
          "name": "Golf",
          "value": "Golf"
        },
        {
          "name": "Gravel Ride",
          "value": "GravelRide"
        },
        {
          "name": "Handcycle",
          "value": "Handcycle"
        },
        {
          "name": "HIIT",
          "value": "HighIntensityIntervalTraining"
        },
        {
          "name": "Hike",
          "value": "Hike"
        },
        {
          "name": "Ice Skate",
          "value": "IceSkate"
        },
        {
          "name": "Inline Skate",
          "value": "InlineSkate"
        },
        {
          "name": "Kayaking",
          "value": "Kayaking"
        },
        {
          "name": "Kitesurf",
          "value": "Kitesurf"
        },
        {
          "name": "Mountain Bike Ride",
          "value": "MountainBikeRide"
        },
        {
          "name": "Nordic Ski",
          "value": "NordicSki"
        },
        {
          "name": "Pickleball",
          "value": "Pickleball"
        },
        {
          "name": "Pilates",
          "value": "Pilates"
        },
        {
          "name": "Racquetball",
          "value": "Racquetball"
        },
        {
          "name": "Ride",
          "value": "Ride"
        },
        {
          "name": "Rock Climbing",
          "value": "RockClimbing"
        },
        {
          "name": "Roller Ski",
          "value": "RollerSki"
        },
        {
          "name": "Rowing",
          "value": "Rowing"
        },
        {
          "name": "Run",
          "value": "Run"
        },
        {
          "name": "Sail",
          "value": "Sail"
        },
        {
          "name": "Skateboard",
          "value": "Skateboard"
        },
        {
          "name": "Snowboard",
          "value": "Snowboard"
        },
        {
          "name": "Snowshoe",
          "value": "Snowshoe"
        },
        {
          "name": "Soccer",
          "value": "Soccer"
        },
        {
          "name": "Squash",
          "value": "Squash"
        },
        {
          "name": "Stair Stepper",
          "value": "StairStepper"
        },
        {
          "name": "Stand Up Paddling",
          "value": "StandUpPaddling"
        },
        {
          "name": "Surfing",
          "value": "Surfing"
        },
        {
          "name": "Swim",
          "value": "Swim"
        },
        {
          "name": "Table Tennis",
          "value": "TableTennis"
        },
        {
          "name": "Tennis",
          "value": "Tennis"
        },
        {
          "name": "Trail Run",
          "value": "TrailRun"
        },
        {
          "name": "Velomobile",
          "value": "Velomobile"
        },
        {
          "name": "Virtual Ride",
          "value": "VirtualRide"
        },
        {
          "name": "Virtual Row",
          "value": "VirtualRow"
        },
        {
          "name": "Virtual Run",
          "value": "VirtualRun"
        },
        {
          "name": "Walk",
          "value": "Walk"
        },
        {
          "name": "Weight Training",
          "value": "WeightTraining"
        },
        {
          "name": "Wheelchair",
          "value": "Wheelchair"
        },
        {
          "name": "Windsurf",
          "value": "Windsurf"
        },
        {
          "name": "Workout",
          "value": "Workout"
        },
        {
          "name": "Yoga",
          "value": "Yoga"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        },
        "hide": {
          "@version": [
            1
          ]
        }
      }
    },
    {
      "displayName": "Start Date",
      "name": "startDate",
      "type": "dateTime",
      "default": "",
      "description": "ISO 8601 formatted date time",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Elapsed Time (Seconds)",
      "name": "elapsedTime",
      "type": "number",
      "default": 0,
      "description": "In seconds",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Commute",
          "name": "commute",
          "type": "boolean",
          "default": false,
          "description": "Whether to mark as commute"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the activity"
        },
        {
          "displayName": "Distance",
          "name": "distance",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "description": "In meters"
        },
        {
          "displayName": "Trainer",
          "name": "trainer",
          "type": "boolean",
          "default": false,
          "description": "Whether to mark as a trainer activity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "string",
      "default": "",
      "description": "ID or email of activity",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Commute",
          "name": "commute",
          "type": "boolean",
          "default": false,
          "description": "Whether to mark as commute"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the activity"
        },
        {
          "displayName": "Gear ID",
          "name": "gear_id",
          "type": "string",
          "default": "",
          "description": "Identifier for the gear associated with the activity. ‘none’ clears gear from activity."
        },
        {
          "displayName": "Mute Activity",
          "name": "hide_from_home",
          "type": "boolean",
          "default": false,
          "description": "Do not publish to Home or Club feeds"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The name of the activity"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "default": "",
          "description": "Type of activity. For example - Run, Ride etc.",
          "displayOptions": {
            "show": {
              "@version": [
                1
              ]
            }
          }
        },
        {
          "displayName": "Sport Type",
          "name": "sport_type",
          "type": "options",
          "options": [
            {
              "name": "Alpine Ski",
              "value": "AlpineSki"
            },
            {
              "name": "Backcountry Ski",
              "value": "BackcountrySki"
            },
            {
              "name": "Badminton",
              "value": "Badminton"
            },
            {
              "name": "Canoeing",
              "value": "Canoeing"
            },
            {
              "name": "Crossfit",
              "value": "Crossfit"
            },
            {
              "name": "EBike Ride",
              "value": "EBikeRide"
            },
            {
              "name": "Elliptical",
              "value": "Elliptical"
            },
            {
              "name": "EMountain Bike Ride",
              "value": "EMountainBikeRide"
            },
            {
              "name": "Golf",
              "value": "Golf"
            },
            {
              "name": "Gravel Ride",
              "value": "GravelRide"
            },
            {
              "name": "Handcycle",
              "value": "Handcycle"
            },
            {
              "name": "HIIT",
              "value": "HighIntensityIntervalTraining"
            },
            {
              "name": "Hike",
              "value": "Hike"
            },
            {
              "name": "Ice Skate",
              "value": "IceSkate"
            },
            {
              "name": "Inline Skate",
              "value": "InlineSkate"
            },
            {
              "name": "Kayaking",
              "value": "Kayaking"
            },
            {
              "name": "Kitesurf",
              "value": "Kitesurf"
            },
            {
              "name": "Mountain Bike Ride",
              "value": "MountainBikeRide"
            },
            {
              "name": "Nordic Ski",
              "value": "NordicSki"
            },
            {
              "name": "Pickleball",
              "value": "Pickleball"
            },
            {
              "name": "Pilates",
              "value": "Pilates"
            },
            {
              "name": "Racquetball",
              "value": "Racquetball"
            },
            {
              "name": "Ride",
              "value": "Ride"
            },
            {
              "name": "Rock Climbing",
              "value": "RockClimbing"
            },
            {
              "name": "Roller Ski",
              "value": "RollerSki"
            },
            {
              "name": "Rowing",
              "value": "Rowing"
            },
            {
              "name": "Run",
              "value": "Run"
            },
            {
              "name": "Sail",
              "value": "Sail"
            },
            {
              "name": "Skateboard",
              "value": "Skateboard"
            },
            {
              "name": "Snowboard",
              "value": "Snowboard"
            },
            {
              "name": "Snowshoe",
              "value": "Snowshoe"
            },
            {
              "name": "Soccer",
              "value": "Soccer"
            },
            {
              "name": "Squash",
              "value": "Squash"
            },
            {
              "name": "Stair Stepper",
              "value": "StairStepper"
            },
            {
              "name": "Stand Up Paddling",
              "value": "StandUpPaddling"
            },
            {
              "name": "Surfing",
              "value": "Surfing"
            },
            {
              "name": "Swim",
              "value": "Swim"
            },
            {
              "name": "Table Tennis",
              "value": "TableTennis"
            },
            {
              "name": "Tennis",
              "value": "Tennis"
            },
            {
              "name": "Trail Run",
              "value": "TrailRun"
            },
            {
              "name": "Velomobile",
              "value": "Velomobile"
            },
            {
              "name": "Virtual Ride",
              "value": "VirtualRide"
            },
            {
              "name": "Virtual Row",
              "value": "VirtualRow"
            },
            {
              "name": "Virtual Run",
              "value": "VirtualRun"
            },
            {
              "name": "Walk",
              "value": "Walk"
            },
            {
              "name": "Weight Training",
              "value": "WeightTraining"
            },
            {
              "name": "Wheelchair",
              "value": "Wheelchair"
            },
            {
              "name": "Windsurf",
              "value": "Windsurf"
            },
            {
              "name": "Workout",
              "value": "Workout"
            },
            {
              "name": "Yoga",
              "value": "Yoga"
            }
          ],
          "default": "Run",
          "description": "Type of sport",
          "displayOptions": {
            "hide": {
              "@version": [
                1
              ]
            }
          }
        },
        {
          "displayName": "Trainer",
          "name": "trainer",
          "type": "boolean",
          "default": false,
          "description": "Whether to mark as a trainer activity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "string",
      "default": "",
      "description": "ID or email of activity",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "string",
      "default": "",
      "description": "ID or email of activity",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "getComments",
            "getLaps",
            "getKudos",
            "getZones",
            "getStreams"
          ]
        }
      }
    },
    {
      "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": [
            "activity"
          ],
          "operation": [
            "getComments",
            "getLaps",
            "getKudos",
            "getZones"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "getComments",
            "getLaps",
            "getKudos",
            "getZones"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Keys",
      "name": "keys",
      "type": "multiOptions",
      "default": [],
      "description": "Desired stream types to return",
      "options": [
        {
          "name": "Altitude",
          "value": "altitude"
        },
        {
          "name": "Cadence",
          "value": "cadence"
        },
        {
          "name": "Distance",
          "value": "distance"
        },
        {
          "name": "Gradient",
          "value": "grade_smooth"
        },
        {
          "name": "Heartrate",
          "value": "heartrate"
        },
        {
          "name": "Latitude / Longitude",
          "value": "latlng"
        },
        {
          "name": "Moving",
          "value": "moving"
        },
        {
          "name": "Temperature",
          "value": "temp"
        },
        {
          "name": "Time",
          "value": "time"
        },
        {
          "name": "Velocity",
          "value": "velocity_smooth"
        },
        {
          "name": "Watts",
          "value": "watts"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "getStreams"
          ]
        }
      }
    },
    {
      "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": [
            "activity"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new activity"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an activity"
    },
    {
      "operation": "getComments",
      "name": "Get Comments",
      "description": "Get all activity comments"
    },
    {
      "operation": "getKudos",
      "name": "Get Kudos",
      "description": "Get all activity kudos"
    },
    {
      "operation": "getLaps",
      "name": "Get Laps",
      "description": "Get all activity laps"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many activities"
    },
    {
      "operation": "getStreams",
      "name": "Get Streams",
      "description": "Get activity streams"
    },
    {
      "operation": "getZones",
      "name": "Get Zones",
      "description": "Get all activity zones"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an activity"
    }
  ]


node_type: nodes-base.strava
package_name: n8n-nodes-base
display_name: Strava
description: Consume Strava API
category: input
development_style: programmatic
version: 1.1
credentials_required:
  [
  {
  "name": "stravaOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Strava node documentation
  description: Learn how to use the Strava node in n8n. Follow technical documentation to integrate Strava node into your workflows.
  contentType: [integration, reference]
  ---

  # Strava node

  Use the Strava node to automate work in Strava, and integrate Strava with other applications. n8n has built-in support for a wide range of Strava features, including creating new activities, and getting activity information. 

  On this page, you'll find a list of operations the Strava node supports and links to more resources.

  /// note | Credentials
  Refer to [Strava credentials](/integrations/builtin/credentials/strava.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Activity
      * Create a new activity
      * Get an activity
      * Get all activities
      * Get all activity comments
      * Get all activity kudos
      * Get all activity laps
      * Get all activity zones
      * Update an activity

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'strava') ]]

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "activity",
      "options": [
        {
          "name": "Activity",
          "value": "activity"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a new activity",
          "action": "Create an activity"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get an activity",
          "action": "Get an activity"
        },
        {
          "name": "Get Comments",
          "value": "getComments",
          "description": "Get all activity comments",
          "action": "Get all activity comments"
        },
        {
          "name": "Get Kudos",
          "value": "getKudos",
          "description": "Get all activity kudos",
          "action": "Get all activity kudos"
        },
        {
          "name": "Get Laps",
          "value": "getLaps",
          "description": "Get all activity laps",
          "action": "Get all activity laps"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many activities",
          "action": "Get many activities"
        },
        {
          "name": "Get Streams",
          "value": "getStreams",
          "description": "Get activity streams",
          "action": "Get all activity streams"
        },
        {
          "name": "Get Zones",
          "value": "getZones",
          "description": "Get all activity zones",
          "action": "Get all activity zones"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update an activity",
          "action": "Update an activity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "The name of the activity",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "string",
      "default": "",
      "description": "Type of activity. For example - Run, Ride etc.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ],
          "@version": [
            1
          ]
        }
      }
    },
    {
      "displayName": "Sport Type",
      "name": "sport_type",
      "type": "options",
      "default": "Run",
      "description": "Type of sport",
      "options": [
        {
          "name": "Alpine Ski",
          "value": "AlpineSki"
        },
        {
          "name": "Backcountry Ski",
          "value": "BackcountrySki"
        },
        {
          "name": "Badminton",
          "value": "Badminton"
        },
        {
          "name": "Canoeing",
          "value": "Canoeing"
        },
        {
          "name": "Crossfit",
          "value": "Crossfit"
        },
        {
          "name": "EBike Ride",
          "value": "EBikeRide"
        },
        {
          "name": "Elliptical",
          "value": "Elliptical"
        },
        {
          "name": "EMountain Bike Ride",
          "value": "EMountainBikeRide"
        },
        {
          "name": "Golf",
          "value": "Golf"
        },
        {
          "name": "Gravel Ride",
          "value": "GravelRide"
        },
        {
          "name": "Handcycle",
          "value": "Handcycle"
        },
        {
          "name": "HIIT",
          "value": "HighIntensityIntervalTraining"
        },
        {
          "name": "Hike",
          "value": "Hike"
        },
        {
          "name": "Ice Skate",
          "value": "IceSkate"
        },
        {
          "name": "Inline Skate",
          "value": "InlineSkate"
        },
        {
          "name": "Kayaking",
          "value": "Kayaking"
        },
        {
          "name": "Kitesurf",
          "value": "Kitesurf"
        },
        {
          "name": "Mountain Bike Ride",
          "value": "MountainBikeRide"
        },
        {
          "name": "Nordic Ski",
          "value": "NordicSki"
        },
        {
          "name": "Pickleball",
          "value": "Pickleball"
        },
        {
          "name": "Pilates",
          "value": "Pilates"
        },
        {
          "name": "Racquetball",
          "value": "Racquetball"
        },
        {
          "name": "Ride",
          "value": "Ride"
        },
        {
          "name": "Rock Climbing",
          "value": "RockClimbing"
        },
        {
          "name": "Roller Ski",
          "value": "RollerSki"
        },
        {
          "name": "Rowing",
          "value": "Rowing"
        },
        {
          "name": "Run",
          "value": "Run"
        },
        {
          "name": "Sail",
          "value": "Sail"
        },
        {
          "name": "Skateboard",
          "value": "Skateboard"
        },
        {
          "name": "Snowboard",
          "value": "Snowboard"
        },
        {
          "name": "Snowshoe",
          "value": "Snowshoe"
        },
        {
          "name": "Soccer",
          "value": "Soccer"
        },
        {
          "name": "Squash",
          "value": "Squash"
        },
        {
          "name": "Stair Stepper",
          "value": "StairStepper"
        },
        {
          "name": "Stand Up Paddling",
          "value": "StandUpPaddling"
        },
        {
          "name": "Surfing",
          "value": "Surfing"
        },
        {
          "name": "Swim",
          "value": "Swim"
        },
        {
          "name": "Table Tennis",
          "value": "TableTennis"
        },
        {
          "name": "Tennis",
          "value": "Tennis"
        },
        {
          "name": "Trail Run",
          "value": "TrailRun"
        },
        {
          "name": "Velomobile",
          "value": "Velomobile"
        },
        {
          "name": "Virtual Ride",
          "value": "VirtualRide"
        },
        {
          "name": "Virtual Row",
          "value": "VirtualRow"
        },
        {
          "name": "Virtual Run",
          "value": "VirtualRun"
        },
        {
          "name": "Walk",
          "value": "Walk"
        },
        {
          "name": "Weight Training",
          "value": "WeightTraining"
        },
        {
          "name": "Wheelchair",
          "value": "Wheelchair"
        },
        {
          "name": "Windsurf",
          "value": "Windsurf"
        },
        {
          "name": "Workout",
          "value": "Workout"
        },
        {
          "name": "Yoga",
          "value": "Yoga"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        },
        "hide": {
          "@version": [
            1
          ]
        }
      }
    },
    {
      "displayName": "Start Date",
      "name": "startDate",
      "type": "dateTime",
      "default": "",
      "description": "ISO 8601 formatted date time",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Elapsed Time (Seconds)",
      "name": "elapsedTime",
      "type": "number",
      "default": 0,
      "description": "In seconds",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Commute",
          "name": "commute",
          "type": "boolean",
          "default": false,
          "description": "Whether to mark as commute"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the activity"
        },
        {
          "displayName": "Distance",
          "name": "distance",
          "type": "number",
          "typeOptions": {
            "minValue": 0
          },
          "default": 0,
          "description": "In meters"
        },
        {
          "displayName": "Trainer",
          "name": "trainer",
          "type": "boolean",
          "default": false,
          "description": "Whether to mark as a trainer activity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "string",
      "default": "",
      "description": "ID or email of activity",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Commute",
          "name": "commute",
          "type": "boolean",
          "default": false,
          "description": "Whether to mark as commute"
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Description of the activity"
        },
        {
          "displayName": "Gear ID",
          "name": "gear_id",
          "type": "string",
          "default": "",
          "description": "Identifier for the gear associated with the activity. ‘none’ clears gear from activity."
        },
        {
          "displayName": "Mute Activity",
          "name": "hide_from_home",
          "type": "boolean",
          "default": false,
          "description": "Do not publish to Home or Club feeds"
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "The name of the activity"
        },
        {
          "displayName": "Type",
          "name": "type",
          "type": "string",
          "default": "",
          "description": "Type of activity. For example - Run, Ride etc.",
          "displayOptions": {
            "show": {
              "@version": [
                1
              ]
            }
          }
        },
        {
          "displayName": "Sport Type",
          "name": "sport_type",
          "type": "options",
          "options": [
            {
              "name": "Alpine Ski",
              "value": "AlpineSki"
            },
            {
              "name": "Backcountry Ski",
              "value": "BackcountrySki"
            },
            {
              "name": "Badminton",
              "value": "Badminton"
            },
            {
              "name": "Canoeing",
              "value": "Canoeing"
            },
            {
              "name": "Crossfit",
              "value": "Crossfit"
            },
            {
              "name": "EBike Ride",
              "value": "EBikeRide"
            },
            {
              "name": "Elliptical",
              "value": "Elliptical"
            },
            {
              "name": "EMountain Bike Ride",
              "value": "EMountainBikeRide"
            },
            {
              "name": "Golf",
              "value": "Golf"
            },
            {
              "name": "Gravel Ride",
              "value": "GravelRide"
            },
            {
              "name": "Handcycle",
              "value": "Handcycle"
            },
            {
              "name": "HIIT",
              "value": "HighIntensityIntervalTraining"
            },
            {
              "name": "Hike",
              "value": "Hike"
            },
            {
              "name": "Ice Skate",
              "value": "IceSkate"
            },
            {
              "name": "Inline Skate",
              "value": "InlineSkate"
            },
            {
              "name": "Kayaking",
              "value": "Kayaking"
            },
            {
              "name": "Kitesurf",
              "value": "Kitesurf"
            },
            {
              "name": "Mountain Bike Ride",
              "value": "MountainBikeRide"
            },
            {
              "name": "Nordic Ski",
              "value": "NordicSki"
            },
            {
              "name": "Pickleball",
              "value": "Pickleball"
            },
            {
              "name": "Pilates",
              "value": "Pilates"
            },
            {
              "name": "Racquetball",
              "value": "Racquetball"
            },
            {
              "name": "Ride",
              "value": "Ride"
            },
            {
              "name": "Rock Climbing",
              "value": "RockClimbing"
            },
            {
              "name": "Roller Ski",
              "value": "RollerSki"
            },
            {
              "name": "Rowing",
              "value": "Rowing"
            },
            {
              "name": "Run",
              "value": "Run"
            },
            {
              "name": "Sail",
              "value": "Sail"
            },
            {
              "name": "Skateboard",
              "value": "Skateboard"
            },
            {
              "name": "Snowboard",
              "value": "Snowboard"
            },
            {
              "name": "Snowshoe",
              "value": "Snowshoe"
            },
            {
              "name": "Soccer",
              "value": "Soccer"
            },
            {
              "name": "Squash",
              "value": "Squash"
            },
            {
              "name": "Stair Stepper",
              "value": "StairStepper"
            },
            {
              "name": "Stand Up Paddling",
              "value": "StandUpPaddling"
            },
            {
              "name": "Surfing",
              "value": "Surfing"
            },
            {
              "name": "Swim",
              "value": "Swim"
            },
            {
              "name": "Table Tennis",
              "value": "TableTennis"
            },
            {
              "name": "Tennis",
              "value": "Tennis"
            },
            {
              "name": "Trail Run",
              "value": "TrailRun"
            },
            {
              "name": "Velomobile",
              "value": "Velomobile"
            },
            {
              "name": "Virtual Ride",
              "value": "VirtualRide"
            },
            {
              "name": "Virtual Row",
              "value": "VirtualRow"
            },
            {
              "name": "Virtual Run",
              "value": "VirtualRun"
            },
            {
              "name": "Walk",
              "value": "Walk"
            },
            {
              "name": "Weight Training",
              "value": "WeightTraining"
            },
            {
              "name": "Wheelchair",
              "value": "Wheelchair"
            },
            {
              "name": "Windsurf",
              "value": "Windsurf"
            },
            {
              "name": "Workout",
              "value": "Workout"
            },
            {
              "name": "Yoga",
              "value": "Yoga"
            }
          ],
          "default": "Run",
          "description": "Type of sport",
          "displayOptions": {
            "hide": {
              "@version": [
                1
              ]
            }
          }
        },
        {
          "displayName": "Trainer",
          "name": "trainer",
          "type": "boolean",
          "default": false,
          "description": "Whether to mark as a trainer activity"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "string",
      "default": "",
      "description": "ID or email of activity",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Activity ID",
      "name": "activityId",
      "type": "string",
      "default": "",
      "description": "ID or email of activity",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "getComments",
            "getLaps",
            "getKudos",
            "getZones",
            "getStreams"
          ]
        }
      }
    },
    {
      "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": [
            "activity"
          ],
          "operation": [
            "getComments",
            "getLaps",
            "getKudos",
            "getZones"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "getComments",
            "getLaps",
            "getKudos",
            "getZones"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Keys",
      "name": "keys",
      "type": "multiOptions",
      "default": [],
      "description": "Desired stream types to return",
      "options": [
        {
          "name": "Altitude",
          "value": "altitude"
        },
        {
          "name": "Cadence",
          "value": "cadence"
        },
        {
          "name": "Distance",
          "value": "distance"
        },
        {
          "name": "Gradient",
          "value": "grade_smooth"
        },
        {
          "name": "Heartrate",
          "value": "heartrate"
        },
        {
          "name": "Latitude / Longitude",
          "value": "latlng"
        },
        {
          "name": "Moving",
          "value": "moving"
        },
        {
          "name": "Temperature",
          "value": "temp"
        },
        {
          "name": "Time",
          "value": "time"
        },
        {
          "name": "Velocity",
          "value": "velocity_smooth"
        },
        {
          "name": "Watts",
          "value": "watts"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "getStreams"
          ]
        }
      }
    },
    {
      "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": [
            "activity"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "activity"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    }
  ]

operations:
  [
    {
      "operation": "create",
      "name": "Create",
      "description": "Create a new activity"
    },
    {
      "operation": "get",
      "name": "Get",
      "description": "Get an activity"
    },
    {
      "operation": "getComments",
      "name": "Get Comments",
      "description": "Get all activity comments"
    },
    {
      "operation": "getKudos",
      "name": "Get Kudos",
      "description": "Get all activity kudos"
    },
    {
      "operation": "getLaps",
      "name": "Get Laps",
      "description": "Get all activity laps"
    },
    {
      "operation": "getAll",
      "name": "Get Many",
      "description": "Get many activities"
    },
    {
      "operation": "getStreams",
      "name": "Get Streams",
      "description": "Get activity streams"
    },
    {
      "operation": "getZones",
      "name": "Get Zones",
      "description": "Get all activity zones"
    },
    {
      "operation": "update",
      "name": "Update",
      "description": "Update an activity"
    }
  ]


node_type: nodes-base.stravaTrigger
package_name: n8n-nodes-base
display_name: Strava Trigger
description: Starts the workflow when Strava events occur
category: trigger
development_style: programmatic
version: 1
operations: []
credentials_required:
  [
  {
  "name": "stravaOAuth2Api",
  "required": true
  }
  ]

outputs:
  [
  "main"
  ]

updated_at: 2026-01-21 08:10:03
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Strava Trigger node documentation
  description: Learn how to use the Strava Trigger node in n8n. Follow technical documentation to integrate Strava Trigger node into your workflows.
  contentType: [integration, reference]
  ---

  # Strava Trigger node

  [Strava](https://www.strava.com/){:target=_blank .external-link} is an internet service for tracking human exercise which incorporates social network features.

  /// note | Credentials
  You can find authentication information for this node [here](/integrations/builtin/credentials/strava.md).
  ///

  ///  note  | Examples and templates
  For usage examples and templates to help you get started, refer to n8n's [Strava Trigger integrations](https://n8n.io/integrations/strava-trigger/){:target=_blank .external-link} page.
  ///

  ## Events

  - **\[All\]**
      - \[All\]
      - Created
      - Deleted
      - Updated
  - **Activity**
      - \[All\]
      - Created
      - Deleted
      - Updated
  - **Athlete**
      - \[All\]
      - Created
      - Deleted
      - Updated

properties_schema:
  [
    {
      "displayName": "Object",
      "name": "object",
      "type": "options",
      "default": "*",
      "options": [
        {
          "name": "[All]",
          "value": "*"
        },
        {
          "name": "Activity",
          "value": "activity"
        },
        {
          "name": "Athlete",
          "value": "athlete"
        }
      ]
    },
    {
      "displayName": "Event",
      "name": "event",
      "type": "options",
      "default": "*",
      "options": [
        {
          "name": "[All]",
          "value": "*"
        },
        {
          "name": "Created",
          "value": "create"
        },
        {
          "name": "Deleted",
          "value": "delete"
        },
        {
          "name": "Updated",
          "value": "update"
        }
      ]
    },
    {
      "displayName": "Resolve Data",
      "name": "resolveData",
      "type": "boolean",
      "default": true,
      "description": "By default the webhook-data only contain the Object ID. If this option gets activated, it will resolve the data automatically."
    },
    {
      "displayName": "Options",
      "name": "options",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Delete If Exist",
          "name": "deleteIfExist",
          "type": "boolean",
          "default": false,
          "description": "Strava allows just one subscription at all times. If you want to delete the current subscription to make room for a new subscription with the current parameters, set this parameter to true. Keep in mind this is a destructive operation."
        }
      ]
    }
  ]


node_type: nodes-base.stripeTool
package_name: n8n-nodes-base
display_name: Stripe Tool
description: Consume the Stripe API (AI Tool variant for use with AI Agents)
category: transform
development_style: programmatic
version: 1
operations:
  [
  {
  "operation": "get",
  "name": "Get",
  "description": "Get a balance"
  }
  ]

credentials_required:
  [
  {
  "name": "stripeApi",
  "required": true
  }
  ]

outputs:
  [
  {
  "type": "ai_tool",
  "displayName": "Tool"
  }
  ]

output_names:
  [
  "Tool"
  ]

updated_at: 2026-01-21 08:10:03
tool_variant_of: nodes-base.stripe
documentation:
  ---
  #https://www.notion.so/n8n/Frontmatter-432c2b8dff1f43d4b1c8d20075510fe4
  title: Stripe node documentation
  description: Learn how to use the Stripe node in n8n. Follow technical documentation to integrate Stripe node into your workflows.
  contentType: [integration, reference]
  ---

  # Stripe node

  Use the Stripe node to automate work in Stripe, and integrate Stripe with other applications. n8n has built-in support for a wide range of Stripe features, including getting balance, creating charge, and deleting customers. 

  On this page, you'll find a list of operations the Stripe node supports and links to more resources.

  /// note | Credentials
  Refer to [Stripe credentials](/integrations/builtin/credentials/stripe.md) for guidance on setting up authentication. 
  ///

  ## Operations

  * Balance
      * Get a balance
  * Charge
      * Create a charge
      * Get a charge
      * Get all charges
      * Update a charge
  * Coupon
      * Create a coupon
      * Get all coupons
  * Customer
      * Create a customer
      * Delete a customer
      * Get a customer
      * Get all customers
      * Update a customer
  * Customer Card
      * Add a customer card
      * Get a customer card
      * Remove a customer card
  * Source
      * Create a source
      * Delete a source
      * Get a source
  * Token
      * Create a token

  ## Templates and examples

  <!-- see https://www.notion.so/n8n/Pull-in-templates-for-the-integrations-pages-37c716837b804d30a33b47475f6e3780 -->
  [[ templatesWidget(page.title, 'stripe') ]]

  --8<-- "_snippets/integrations/builtin/app-nodes/operation-not-supported.md"

properties_schema:
  [
    {
      "displayName": "Tool Description",
      "name": "toolDescription",
      "type": "string",
      "default": "",
      "required": false,
      "description": "Description for the AI to understand what this tool does and when to use it",
      "typeOptions": {
        "rows": 3
      },
      "placeholder": "e.g., Use this tool to interact with Stripe"
    },
    {
      "displayName": "Resource",
      "name": "resource",
      "type": "options",
      "default": "balance",
      "options": [
        {
          "name": "Balance",
          "value": "balance"
        },
        {
          "name": "Charge",
          "value": "charge"
        },
        {
          "name": "Coupon",
          "value": "coupon"
        },
        {
          "name": "Customer",
          "value": "customer"
        },
        {
          "name": "Customer Card",
          "value": "customerCard"
        },
        {
          "name": "Meter Event",
          "value": "meterEvent"
        },
        {
          "name": "Source",
          "value": "source"
        },
        {
          "name": "Token",
          "value": "token"
        }
      ],
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Get",
          "value": "get",
          "description": "Get a balance",
          "action": "Get a balance"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "balance"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Add",
          "value": "add",
          "description": "Add a customer card",
          "action": "Add a customer card"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a customer card",
          "action": "Get a customer card"
        },
        {
          "name": "Remove",
          "value": "remove",
          "description": "Remove a customer card",
          "action": "Remove a customer card"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customerCard"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to be associated with this card",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customerCard"
          ],
          "operation": [
            "add"
          ]
        }
      }
    },
    {
      "displayName": "Card Token",
      "name": "token",
      "type": "string",
      "default": "",
      "description": "Token representing sensitive card information",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customerCard"
          ],
          "operation": [
            "add"
          ]
        }
      },
      "typeOptions": {
        "password": true
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer whose card to remove",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customerCard"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Card ID",
      "name": "cardId",
      "type": "string",
      "default": "",
      "description": "ID of the card to remove",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customerCard"
          ],
          "operation": [
            "remove"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer whose card to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customerCard"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Source ID",
      "name": "sourceId",
      "type": "string",
      "default": "",
      "description": "ID of the source to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customerCard"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a charge",
          "action": "Create a charge"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a charge",
          "action": "Get a charge"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many charges",
          "action": "Get many charges"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a charge",
          "action": "Update a charge"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to be associated with this charge",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Amount",
      "name": "amount",
      "type": "number",
      "default": 0,
      "description": "Amount in cents to be collected for this charge, e.g. enter <code>100</code> for $1.00",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "maxValue": 99999999
      }
    },
    {
      "displayName": "Currency Name or ID",
      "name": "currency",
      "type": "options",
      "default": "",
      "description": "Three-letter ISO currency code, e.g. <code>USD</code> or <code>EUR</code>. It must be a <a href=\"https://stripe.com/docs/currencies\">Stripe-supported currency</a>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCurrencies"
      }
    },
    {
      "displayName": "Source ID",
      "name": "source",
      "type": "string",
      "default": "",
      "description": "ID of the customer's payment source to be charged",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Arbitrary text to describe the charge to create"
        },
        {
          "displayName": "Metadata",
          "name": "metadata",
          "type": "fixedCollection",
          "default": [],
          "placeholder": "Add Metadata Item",
          "description": "Set of key-value pairs to attach to the charge to create",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Metadata Properties",
              "name": "metadataProperties",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Receipt Email",
          "name": "receipt_email",
          "type": "string",
          "default": "",
          "description": "Email address to which the receipt for this charge will be sent"
        },
        {
          "displayName": "Shipping",
          "name": "shipping",
          "type": "fixedCollection",
          "description": "Shipping information for the charge",
          "placeholder": "Add Field",
          "typeOptions": {
            "multipleValues": true
          },
          "default": [],
          "options": [
            {
              "displayName": "Shipping Properties",
              "name": "shippingProperties",
              "values": [
                {
                  "displayName": "Recipient Name",
                  "name": "name",
                  "type": "string",
                  "description": "Name of the person who will receive the shipment",
                  "default": ""
                },
                {
                  "displayName": "Address",
                  "name": "address",
                  "type": "fixedCollection",
                  "default": {},
                  "placeholder": "Add Field",
                  "options": [
                    {
                      "displayName": "Details",
                      "name": "details",
                      "values": [
                        {
                          "displayName": "Line 1",
                          "name": "line1",
                          "description": "Address line 1 (e.g. street, PO Box, or company name)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Line 2",
                          "name": "line2",
                          "description": "Address line 2 (e.g. apartment, suite, unit, or building)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "City",
                          "name": "city",
                          "description": "City, district, suburb, town, or village",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "State",
                          "name": "state",
                          "description": "State, county, province, or region",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Country",
                          "name": "country",
                          "description": "Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Postal Code",
                          "name": "postal_code",
                          "description": "ZIP or postal code",
                          "type": "string",
                          "default": ""
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Charge ID",
      "name": "chargeId",
      "type": "string",
      "default": "",
      "description": "ID of the charge to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Charge ID",
      "name": "chargeId",
      "type": "string",
      "default": "",
      "description": "ID of the charge to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Arbitrary text to describe the charge to update"
        },
        {
          "displayName": "Metadata",
          "name": "metadata",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Metadata Item",
          "description": "Set of key-value pairs to attach to the charge to update",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Metadata Properties",
              "name": "metadataProperties",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Receipt Email",
          "name": "receipt_email",
          "type": "string",
          "default": "",
          "description": "The email address to which the receipt for this charge will be sent"
        },
        {
          "displayName": "Shipping",
          "name": "shipping",
          "type": "fixedCollection",
          "default": {},
          "description": "Shipping information for the charge",
          "placeholder": "Add Field",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Shipping Properties",
              "name": "shippingProperties",
              "default": {},
              "values": [
                {
                  "displayName": "Recipient Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Recipient Address",
                  "name": "address",
                  "type": "fixedCollection",
                  "default": {},
                  "placeholder": "Add Address Details",
                  "options": [
                    {
                      "displayName": "Details",
                      "name": "details",
                      "values": [
                        {
                          "displayName": "Line 1",
                          "name": "line1",
                          "description": "Address line 1 (e.g. street, PO Box, or company name)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Line 2",
                          "name": "line2",
                          "description": "Address line 2 (e.g. apartment, suite, unit, or building)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "City",
                          "name": "city",
                          "description": "City, district, suburb, town, or village",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "State",
                          "name": "state",
                          "description": "State, county, province, or region",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Country",
                          "name": "country",
                          "description": "Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Postal Code",
                          "name": "postal_code",
                          "description": "ZIP or postal code",
                          "type": "string",
                          "default": ""
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "charge"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a coupon",
          "action": "Create a coupon"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many coupons",
          "action": "Get many coupons"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "coupon"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Apply",
      "name": "duration",
      "type": "options",
      "default": "once",
      "description": "How long the discount will be in effect",
      "options": [
        {
          "name": "Forever",
          "value": "forever"
        },
        {
          "name": "Once",
          "value": "once"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "coupon"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Discount Type",
      "name": "type",
      "type": "options",
      "default": "percent",
      "description": "Whether the coupon discount is a percentage or a fixed amount",
      "options": [
        {
          "name": "Fixed Amount (in Cents)",
          "value": "fixedAmount"
        },
        {
          "name": "Percent",
          "value": "percent"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "coupon"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Amount Off",
      "name": "amountOff",
      "type": "number",
      "default": 0,
      "description": "Amount in cents to subtract from an invoice total, e.g. enter <code>100</code> for $1.00",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "coupon"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "fixedAmount"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "maxValue": 99999999
      }
    },
    {
      "displayName": "Currency Name or ID",
      "name": "currency",
      "type": "options",
      "default": "",
      "description": "Three-letter ISO currency code, e.g. <code>USD</code> or <code>EUR</code>. It must be a <a href=\"https://stripe.com/docs/currencies\">Stripe-supported currency</a>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "coupon"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "fixedAmount"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCurrencies"
      }
    },
    {
      "displayName": "Percent Off",
      "name": "percentOff",
      "type": "number",
      "default": 1,
      "description": "Percentage to apply with the coupon",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "coupon"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "percent"
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 100
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "coupon"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "coupon"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a customer",
          "action": "Create a customer"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a customer",
          "action": "Delete a customer"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a customer",
          "action": "Get a customer"
        },
        {
          "name": "Get Many",
          "value": "getAll",
          "description": "Get many customers",
          "action": "Get many customers"
        },
        {
          "name": "Update",
          "value": "update",
          "description": "Update a customer",
          "action": "Update a customer"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Name",
      "name": "name",
      "type": "string",
      "default": "",
      "description": "Full name or business name of the customer to create",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "fixedCollection",
          "description": "Address of the customer to create",
          "placeholder": "Add Field",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "Line 1",
                  "name": "line1",
                  "description": "Address line 1 (e.g. street, PO Box, or company name)",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 2",
                  "name": "line2",
                  "description": "Address line 2 (e.g. apartment, suite, unit, or building)",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "description": "City, district, suburb, town, or village",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "description": "State, county, province, or region",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "description": "Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postal_code",
                  "description": "ZIP or postal code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Arbitrary text to describe the customer to create"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Email of the customer to create"
        },
        {
          "displayName": "Metadata",
          "name": "metadata",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Metadata Item",
          "description": "Set of key-value pairs to attach to the customer to create",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Metadata Properties",
              "name": "metadataProperties",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "Telephone number of the customer to create"
        },
        {
          "displayName": "Shipping",
          "name": "shipping",
          "type": "fixedCollection",
          "default": {},
          "description": "Shipping information for the customer",
          "typeOptions": {
            "multipleValues": true
          },
          "placeholder": "Add Field",
          "options": [
            {
              "displayName": "Shipping Properties",
              "name": "shippingProperties",
              "values": [
                {
                  "displayName": "Recipient Name",
                  "name": "name",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Recipient Address",
                  "name": "address",
                  "type": "fixedCollection",
                  "default": {},
                  "placeholder": "Add Address Details",
                  "options": [
                    {
                      "displayName": "Details",
                      "name": "details",
                      "values": [
                        {
                          "displayName": "Line 1",
                          "name": "line1",
                          "description": "Address line 1 (e.g. street, PO Box, or company name)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Line 2",
                          "name": "line2",
                          "description": "Address line 2 (e.g. apartment, suite, unit, or building)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "City",
                          "name": "city",
                          "description": "City, district, suburb, town, or village",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "State",
                          "name": "state",
                          "description": "State, county, province, or region",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Country",
                          "name": "country",
                          "description": "Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Postal Code",
                          "name": "postal_code",
                          "description": "ZIP or postal code",
                          "type": "string",
                          "default": ""
                        }
                      ]
                    }
                  ]
                },
                {
                  "displayName": "Recipient Phone",
                  "name": "phone",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Return All",
      "name": "returnAll",
      "type": "boolean",
      "default": false,
      "description": "Whether to return all results or only up to a given limit",
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Limit",
      "name": "limit",
      "type": "number",
      "default": 50,
      "description": "Max number of results to return",
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "getAll"
          ],
          "returnAll": [
            false
          ]
        }
      },
      "typeOptions": {
        "minValue": 1,
        "maxValue": 1000
      }
    },
    {
      "displayName": "Filters",
      "name": "filters",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Customer's email to filter by"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "getAll"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to update",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Update Fields",
      "name": "updateFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Address",
          "name": "address",
          "type": "fixedCollection",
          "description": "Address of the customer to update",
          "placeholder": "Add Field",
          "default": {},
          "options": [
            {
              "displayName": "Details",
              "name": "details",
              "values": [
                {
                  "displayName": "Line 1",
                  "name": "line1",
                  "description": "Address line 1 (e.g. street, PO Box, or company name)",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Line 2",
                  "name": "line2",
                  "description": "Address line 2 (e.g. apartment, suite, unit, or building)",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "City",
                  "name": "city",
                  "description": "City, district, suburb, town, or village",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "State",
                  "name": "state",
                  "description": "State, county, province, or region",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Country",
                  "name": "country",
                  "description": "Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Postal Code",
                  "name": "postal_code",
                  "description": "ZIP or postal code",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Description",
          "name": "description",
          "type": "string",
          "default": "",
          "description": "Arbitrary text to describe the customer to create"
        },
        {
          "displayName": "Email",
          "name": "email",
          "type": "string",
          "placeholder": "name@email.com",
          "default": "",
          "description": "Email of the customer to create"
        },
        {
          "displayName": "Metadata",
          "name": "metadata",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Metadata Item",
          "description": "Set of key-value pairs to attach to the customer to create",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Metadata Properties",
              "name": "metadataProperties",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Name",
          "name": "name",
          "type": "string",
          "default": "",
          "description": "Full name or business name of the customer to create"
        },
        {
          "displayName": "Phone",
          "name": "phone",
          "type": "string",
          "default": "",
          "description": "Telephone number of this customer"
        },
        {
          "displayName": "Shipping",
          "name": "shipping",
          "type": "fixedCollection",
          "description": "Shipping information for the customer",
          "placeholder": "Add Field",
          "typeOptions": {
            "multipleValues": true
          },
          "default": {},
          "options": [
            {
              "displayName": "Shipping Properties",
              "name": "shippingProperties",
              "values": [
                {
                  "displayName": "Recipient Name",
                  "name": "name",
                  "type": "string",
                  "default": "",
                  "description": "Name of the person who will receive the shipment"
                },
                {
                  "displayName": "Recipient Address",
                  "name": "address",
                  "type": "fixedCollection",
                  "default": {},
                  "placeholder": "Add Address Details",
                  "options": [
                    {
                      "displayName": "Details",
                      "name": "details",
                      "values": [
                        {
                          "displayName": "Line 1",
                          "name": "line1",
                          "description": "Address line 1 (e.g. street, PO Box, or company name)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Line 2",
                          "name": "line2",
                          "description": "Address line 2 (e.g. apartment, suite, unit, or building)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "City",
                          "name": "city",
                          "description": "City, district, suburb, town, or village",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "State",
                          "name": "state",
                          "description": "State, county, province, or region",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Country",
                          "name": "country",
                          "description": "Two-letter country code (<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\">ISO 3166-1 alpha-2</a>)",
                          "type": "string",
                          "default": ""
                        },
                        {
                          "displayName": "Postal Code",
                          "name": "postal_code",
                          "description": "ZIP or postal code",
                          "type": "string",
                          "default": ""
                        }
                      ]
                    }
                  ]
                },
                {
                  "displayName": "Recipient Phone",
                  "name": "phone",
                  "type": "string",
                  "default": "",
                  "description": "Phone number of the person who will receive the shipment"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "customer"
          ],
          "operation": [
            "update"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a meter event",
          "action": "Create a meter event"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "meterEvent"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Event Name",
      "name": "eventName",
      "type": "string",
      "default": "",
      "description": "The name of the meter event. Corresponds with the event_name field on a meter.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "meterEvent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "The Stripe customer ID associated with this meter event",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "meterEvent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Value",
      "name": "value",
      "type": "number",
      "default": 1,
      "description": "The value of the meter event. Must be an integer. Can be positive or negative.",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "meterEvent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Identifier",
          "name": "identifier",
          "type": "string",
          "default": "",
          "description": "A unique identifier for the event. If not provided, one will be generated. Uniqueness is enforced within a rolling 24 hour window."
        },
        {
          "displayName": "Timestamp",
          "name": "timestamp",
          "type": "dateTime",
          "default": "",
          "description": "The time of the event. Measured in seconds since the Unix epoch. Must be within the past 35 calendar days or up to 5 minutes in the future. Defaults to current time if not specified."
        },
        {
          "displayName": "Custom Payload Properties",
          "name": "customPayload",
          "type": "fixedCollection",
          "default": {},
          "placeholder": "Add Custom Property",
          "description": "Additional custom properties to include in the event payload. Use this for custom meter configurations with non-default payload keys.",
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Properties",
              "name": "properties",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": "",
                  "description": "The property key"
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": "",
                  "description": "The property value"
                }
              ]
            }
          ]
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "meterEvent"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "get",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a source",
          "action": "Create a source"
        },
        {
          "name": "Delete",
          "value": "delete",
          "description": "Delete a source",
          "action": "Delete a source"
        },
        {
          "name": "Get",
          "value": "get",
          "description": "Get a source",
          "action": "Get a source"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer to attach the source to",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "options",
      "default": "wechat",
      "description": "Type of source (payment instrument) to create",
      "options": [
        {
          "name": "WeChat",
          "value": "wechat"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Amount",
      "name": "amount",
      "type": "number",
      "default": 0,
      "description": "Amount in cents to be collected for this charge, e.g. enter <code>100</code> for $1.00",
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "minValue": 0,
        "maxValue": 99999999
      }
    },
    {
      "displayName": "Currency Name or ID",
      "name": "currency",
      "type": "options",
      "default": "",
      "description": "Three-letter ISO currency code, e.g. <code>USD</code> or <code>EUR</code>. It must be a <a href=\"https://stripe.com/docs/currencies\">Stripe-supported currency</a>. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ],
          "operation": [
            "create"
          ]
        }
      },
      "typeOptions": {
        "loadOptionsMethod": "getCurrencies"
      }
    },
    {
      "displayName": "Additional Fields",
      "name": "additionalFields",
      "type": "collection",
      "default": {},
      "options": [
        {
          "displayName": "Metadata",
          "name": "metadata",
          "type": "fixedCollection",
          "placeholder": "Add Metadata Item",
          "description": "Set of key-value pairs to attach to the source to create",
          "default": {},
          "typeOptions": {
            "multipleValues": true
          },
          "options": [
            {
              "displayName": "Metadata Properties",
              "name": "metadataProperties",
              "values": [
                {
                  "displayName": "Key",
                  "name": "key",
                  "type": "string",
                  "default": ""
                },
                {
                  "displayName": "Value",
                  "name": "value",
                  "type": "string",
                  "default": ""
                }
              ]
            }
          ]
        },
        {
          "displayName": "Statement Descriptor",
          "name": "statement_descriptor",
          "type": "string",
          "default": "",
          "description": "Arbitrary text to display on the customer's statement"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Customer ID",
      "name": "customerId",
      "type": "string",
      "default": "",
      "description": "ID of the customer whose source to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Source ID",
      "name": "sourceId",
      "type": "string",
      "default": "",
      "description": "ID of the source to delete",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ],
          "operation": [
            "delete"
          ]
        }
      }
    },
    {
      "displayName": "Source ID",
      "name": "sourceId",
      "type": "string",
      "default": "",
      "description": "ID of the source to retrieve",
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "source"
          ],
          "operation": [
            "get"
          ]
        }
      }
    },
    {
      "displayName": "Operation",
      "name": "operation",
      "type": "options",
      "default": "create",
      "options": [
        {
          "name": "Create",
          "value": "create",
          "description": "Create a token",
          "action": "Create a token"
        }
      ],
      "displayOptions": {
        "show": {
          "resource": [
            "token"
          ]
        }
      },
      "noDataExpression": true
    },
    {
      "displayName": "Type",
      "name": "type",
      "type": "options",
      "default": "cardToken",
      "description": "Type of token to create",
      "options": [
        {
          "name": "Card Token",
          "value": "cardToken"
        }
      ],
      "required": true,
      "displayOptions": {
        "show": {
          "resource": [
            "token"
          ],
          "operation": [
            "create"
          ]
        }
      }
    },
    {
      "displayName": "Card Number",
      "name": "number",
      "type": "string",
      "default": "",
      "displayOptions": {
        "show": {
          "resource": [
            "token"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "cardToken"
          ]
        }
      }
    },
    {
      "displayName": "CVC",
      "name": "cvc",
      "type": "string",
      "default": "",
      "description": "Security code printed on the back of the card",
      "displayOptions": {
        "show": {
          "resource": [
            "token"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "cardToken"
          ]
        }
      }
    },
    {
      "displayName": "Expiration Month",
      "name": "expirationMonth",
      "type": "string",
      "default": "",
      "description": "Number of the month when the card will expire",
      "displayOptions": {
        "show": {
          "resource": [
            "token"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "cardToken"
          ]
        }
      }
    },
    {
      "displayName": "Expiration Year",
      "name": "expirationYear",
      "type": "string",
      "default": "",
      "description": "Year when the card will expire",
      "displayOptions": {
        "show": {
          "resource": [
            "token"
          ],
          "operation": [
            "create"
          ],
          "type": [
            "cardToken"
          ]
        }
      }
    }
  ]


