A reporting tool can export a CSV to your computer while the people who need it work in Slack. Set up a Deltify workflow to watch the export folder and send a channel message whenever a new CSV arrives. The Deltify desktop agent watches the folder on macOS or Windows. Deltify runs the Slack step through your workspace’s connection.

1. Pair a computer and choose a folder

Install the agent, then pair it from Settings → Devices in your Deltify workspace. In the agent’s Capabilities settings, add the folder you want to monitor to Allowed folders. The agent enables file watching by default and requires at least one allowed folder. Use a dedicated export folder so the watch only sees files relevant to the workflow.

2. Configure the File watch trigger

Create a workflow from a blank canvas. Add a File watch trigger and configure these fields.

Field Example
Path The export folder’s absolute path, such as /Users/you/Reports/Incoming or C:\Reports\Incoming
Glob *.csv
Events Created
Device The computer that receives the reports

The trigger provides the file name in {{trigger.name}}, the path in {{trigger.path}}, and the originating device in {{trigger.deviceId}}. These fields let you send a useful message while keeping the CSV itself on the device.

3. Connect Slack and test with a new file

Connect Slack from Settings → Connectors. Add Slack → Send channel message, connect it to the trigger, and choose a test channel the connection can post to. In the message field, enter New report ready: {{trigger.name}}.

Save and enable the workflow while the paired computer is online. Wait for the watch to start, then create a new test CSV in the folder. Open Runs & logs to confirm the file name was captured and check the Slack channel for the message. Files already in the folder when you first enable the watch establish its starting state.

4. Add a local Python step when you need a summary

To include a row count, insert Run code before the Slack action. Configure the Python Code interpreter in the desktop agent, set the step’s execution target to Device, and select Device from trigger. Enter {"path":"{{trigger.path}}"} in the input field and select Python as the language. Use this example for a UTF-8 CSV with a header row.

import csv

with open(input["path"], encoding="utf-8-sig", newline="") as report:
    rows = csv.reader(report)
    next(rows, None)
    output = {"rows": sum(1 for row in rows if row)}

In the Slack step, use the reference picker to insert the code step’s result.rows value. The workflow passes the row count to Slack. The CSV stays on the computer, and the workflow run records the output you return from the script.

If a new file does not trigger a run

  • Confirm the workflow is enabled, the agent shows as online, and the trigger’s folder is inside an allowed root.
  • Create a fresh file with a matching name. If your exporter overwrites the same file, configure the watch for modified events and test how that exporter writes files.
  • If Python sees a partially written export, have the exporter write to a temporary filename and move the completed CSV into the watched folder. Test this with your exporter before switching to the real channel.
  • If the run appears but the message fails, check the Slack connection and its access to the selected channel.

You can build and test this workflow without an AI key. Start free with Deltify or download the desktop agent to set up the folder watch.