nextcloud-webhooks icon indicating copy to clipboard operation
nextcloud-webhooks copied to clipboard

Flow: Webhook fails for "Tag assigned" trigger when using a User Tag selected via the "System Tag" condition

Open SimonBlancoE opened this issue 8 months ago • 1 comments

Problem Description:

Webhooks configured via Nextcloud Flow are not triggering when a user-created tag (collaborative tag) is assigned to a file, even though the Flow rule seems correctly configured using the available UI options. Webhooks do trigger successfully for other events like "File created" using the same webhook URL, indicating the webhook receiver and basic Flow functionality are working.

The issue seems related to how user tags are handled within the Flow conditions for the "Tag assigned" trigger.

Steps to Reproduce:

Create a standard user tag (e.g., MyUserTag). Go to Settings -> Administration -> Flow -> Create new flow. Set the trigger ("When") to "Tag assigned". Add a condition . The only available tag-related condition appears to be "System Tag". Select the operator "Is tagged with". The dropdown list presented here correctly shows user-created tags. Select the user tag created in step 1 (e.g., MyUserTag). Set the action to "Send webhook" and provide a valid webhook URL Save and activate the Flow rule. Assign the user tag (MyUserTag) to any file via the Web UI. Expected Behavior:

The configured webhook should receive a POST request when the MyUserTag is assigned to the file.

Actual Behavior:

The webhook does not receive any request when the user tag is assigned. No errors related to Flow rule evaluation or webhook action failure are immediately obvious in the Nextcloud debug log (loglevel 0). (Note: Logs mainly show the tag assignment event itself, but the rule doesn't seem to fire the action).

SimonBlancoE avatar Mar 30 '25 09:03 SimonBlancoE

I guess this issue is related to Tagging in general - see https://github.com/nextcloud/server/issues/51849

D592VN5 avatar Apr 08 '25 05:04 D592VN5