Box to slack notification

Trying to set up a simple notification from box to slack.
When a file is uploaded to a box folder, i want a slack message on a channel to show the file name and link to the file on box.
At the moment, it only shows the the custom text.
“Include link to workflow” is set to true.

Hi @paul,

To set up a notification from Box to Slack when a file is uploaded, you can follow these steps:

  1. Create a new workflow and add the Box - New File Event trigger. Connect your Box account and select the target folder.
  2. Add the Slack - Send a Custom Message action to your workflow. Connect your Slack account and select the desired channel.
  3. In the “Text” field, you can use the event data from the Box trigger to include the file name and link to the file. For example:
New file uploaded to Box: ${steps.trigger.event.item.name} - https://app.box.com/file/${steps.trigger.event.item.id}

This will send a message to the selected Slack channel with the file name and a link to the file on Box when a new file is uploaded.

Make sure to test your workflow to ensure it’s working as expected.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.