I have a workflow in which I need to notify certain users via Slack when something happens. I have stored these slack user IDs in a global variable (using the Storage action). I can pull the slack user IDs just fine; when I test the Get Value action, the correct value is returned.
However, when I set up a step to send a DM to the user via Slack, the step won’t let me continue to the test screen. The variable is clearly being pulled into the username field just fine, but the Continue button is grayed out. I tried setting the username to a direct reference to a username (using the To Username tab to select a user, rather than the Custom tab to pull in my variable). That works fine. If I do that, and then switch to Custom, pulling in my variable, it looks like it works fine and I can click the Continue button. But when I test, it’s sending to the directly-selected username, rather than the variable. If I click back on the Set Up Action section of the Slack step, I see the directly-selected username, NOT the variable.
This is new behavior. I have been able to send a message to a user by pulling in their username dynamically in the past. Did Zapier introduce a bug into the Slack connector?
Best answer by Janine_Anderson
View original