Slack logo
Google Drive logo

Workflow template

Archive Slack messages as Google Drive text files

Save Slack messages containing [Archive] as UTF-8 text files in Drive. Include the source text, author and channel IDs, timestamp and source-channel URL in a file named from Slack identifiers.

How it works

From an archive-marked Slack message to a Drive text file

1 Trigger · 1 Action
Slack1 · Trigger

New Keyword Mention

Observe new human messages containing [Archive] anywhere without case sensitivity, including matching thread replies. Ignore bots; an empty Channels selection watches all channels accessible to the connection.

Google Drive2 · Action

Save Slack message as a text file

Create a text/plain UTF-8 file named Slack-{workspace}-{channel}-{timestamp}.txt. Put the complete message and source metadata in it, using the selected folder or My Drive when no parent is chosen.

The result

A captured message in an ID-named text file

Example Drive Slack capture

Slack-TEXAMPLE71-CEXAMPLE71-1789588800.000071.txt

[Archive] Bremen handoff: the onboarding checklist is ready for the support team. Author ID: UEXAMPLE71 Channel ID: CEXAMPLE71 Message timestamp: 1789588800.000071 Source channel: https://app.slack.com/client/TEXAMPLE71/CEXAMPLE71

Fictional capture. The URL opens the source channel. Slack mentions and formatting remain source text; attached files and surrounding thread history are not included.

Before activation

Set up your workflow

  1. Choose the Slack archive scope

    Connect Slack, select source channels and add FastHook to them. Retain the prefilled [Archive] marker and ignored bots. Leaving Channels empty watches all accessible channels, so review that scope before activation.

  2. Choose the Drive folder

    Connect Google Drive and optionally browse to a writable destination folder. Leaving Parent folder empty saves to My Drive. Review destination access because the files contain copied Slack messages.

  3. Post a new fictional archive note

    Activate and post a human message containing [Archive]. Verify the workspace/channel/timestamp filename and the message plus metadata in the UTF-8 file. Open the source link with Slack access.

Details and limitations
  • This captures selected messages, not a workspace backup. Existing messages, edits, deletions, attached files and thread history are not synchronized. New matching human replies qualify, and bot messages are ignored.

  • Names and contents retain source identifiers. The filename contains workspace ID, channel ID and the original Slack timestamp, followed by .txt. The body includes author/channel IDs and a channel URL; no mention or formatting conversion is performed.

  • Access follows the Drive destination. No public-sharing action is added. Destination readers see the copied text independently of Slack access, while the source link still requires Slack access. Manual reruns can create another file instead of updating the first.

Questions about this template

Where is the file saved without a selected folder?

In My Drive. Selecting a writable parent folder changes the destination. Files follow that location’s access and no public-sharing action is included.

How is the text file named?

The mapping uses Slack-{workspace ID}-{channel ID}-{message timestamp}.txt. The body includes the original text, author and channel IDs, timestamp and a source-channel link.

Does [Archive] capture files or a full thread?

No. It captures the matching message text and metadata only. Attached files, surrounding thread history and existing messages are not copied, though new matching human replies can create their own files.

Will later edits change the saved file?

No. This is one-way capture of new matches, not a workspace backup or synchronization. Edits and deletions do not update files, and manual reruns can create duplicates.