Samba (SMB2) Trigger icon

Samba (SMB2) Trigger

Trigger a workflow on Samba (SMB2) filesystem changes

Samba (SMB2) Trigger

AI-generated

Overview

This node triggers a workflow based on changes detected in a Samba (SMB2) filesystem. It is useful for monitoring specific folders or files on an SMB2 share and reacting to events such as file creation, deletion, or updates. For example, it can be used to automate processing of files as soon as they are added or modified in a shared network folder.

Use Case Examples

  1. Trigger a workflow when a new file is created in a specific folder on an SMB2 share.
  2. Trigger a workflow when a file is updated in a specific folder, optionally watching subfolders recursively.

Properties

Name Meaning
Trigger On Specifies whether to watch changes involving a specific folder.
Recursive Determines whether to watch changes recursively in subfolders.
Folder The folder path to watch for changes.
Watch For The type of event to trigger the node on, such as file created, deleted, or updated.

Output

JSON

  • body - Contains details about the filesystem change event, including the type of change and affected file or folder.

Dependencies

  • Requires an SMB2 API credential to connect to the Samba server.

Troubleshooting

  • Connection errors to the SMB server may occur if credentials are incorrect or the server is unreachable. Verify the SMB2 API credentials and network connectivity.
  • The node only triggers on specified event types; ensure the correct event is selected to match the desired trigger condition.
  • Recursive watching of subfolders is optional; if enabled, it may increase resource usage and event volume.

Discussion