Purpose
I want to get the text entered in the Slack App mention trigger node.
Background
I created the following workflow:
- Get messages posted via Slack App mention
- Process the retrieved message
- Gemini responds to the processed message
- Reply with the response content to Slack
Recently, an error “Invalid variable” started appearing in the workflow checklist.
In the node “Process the retrieved message”, App mention/raw_payload/event/text is used as an input variable, and this input variable is said to be invalid.
Even when trying to set it again, App mention/raw_payload/event/text was no longer selectable.
As of December last year, there should have been no error, but does anyone know the reason for this?
It would be easier to comment if you could share the DSL file!
Received a response from support as follows, so I will close this.
@kurokobo Thank you for looking into this!
Problem (Issue)
This is a confirmed bug related to the App Mention trigger.
While output variables are displayed correctly during the initial setup, they become empty if you close the node once and reopen it.
What’s happening
- When first entering the trigger node: output variables are displayed correctly
- If you exit the node once and re-enter: the output variables section becomes empty
- The Slack-side settings are correct, and it is not due to a misconfiguration
- This is caused by a bug in the process of saving/loading the output schema state (schema state) when revisiting the trigger node
Temporary Workaround
As a workaround until this bug is fixed, please try the following:
- Delete the current App Mention trigger node
- Add a new App Mention trigger node
- Reconfigure the trigger
- Before exiting the node, immediately configure the downstream (subsequent) nodes that use the output variables
This bug has been reported to the engineering team, and they are investigating and working on a fix.
1 Like