workflows.fit
Back to n8n workflows
n8n templateFreeBy Alok Singh

Automated Google Sheet to CSV conversion via Slack messages

Step 1: Slack Trigger The workflow starts whenever your Slack bot is mentioned or receives an event in a channel. The message that triggered it (including text and channel info) is passed into the workflow. Step 2: Ex...

Data & StorageProductivityCommunicationHITLDevelopmentCore NodesSlack TriggerFunction
Loading interactive preview...

Template notes

Step 1: Slack Trigger

The workflow starts whenever your Slack bot is mentioned or receives an event in a channel. The message that triggered it (including text and channel info) is passed into the workflow.

Step 2: Extract the Sheet ID

The workflow looks inside the Slack message for a Google Sheets link. If it finds one, it extracts the unique spreadsheet ID from that link. It also keeps track of the Slack channel where the message came from. If no link is found, the workflow stops quietly.

Step 3: Read Data from Google Sheet

Using the sheet ID, the workflow connects to Google Sheets and reads the data from the chosen tab (the specific sheet inside the spreadsheet). This gives the workflow all the rows and columns of data from that tab.

Step 4: Convert Data to CSV

The rows pulled from Google Sheets are then converted into a CSV file. At this point, the workflow has the spreadsheet data neatly packaged as a file.