Create a Google Doc and Share it to Slack - using Fastn UCL

In this guide, you’ll create a Google Doc with some content and automatically share it to a Slack channel. We’ll use Fastn to connect the two apps and make the workflow run in just a few steps.

What we will achieve

  • Create a Google Doc with predefined content

  • Connect Google Docs and Slack using Fastn UCL

  • Automatically share the document to a Slack channel

Step 1: Configure Actions in Fastn UCL

  • Log in to Fastn UCL from ucl.dev.

  • After you log in, you can select a workspace, after which you'll be directed to the next page to set up your integrations.

When you first log in to Fastn UCL, a workspace titled "My Workspace" is created by default. If you wish to create new workspaces and select from them, subscribe to Fastn UCL.

  • On the next screen, search for and select the Connectors you want your AI assistant to use. Start by searching for Slack and Google Docs, then enable both.

    For each connector:

    • Click “Connect My Account” and follow the steps to authorize access to your Slack workspace and Google account.

    • Click “Enable” to choose the actions you want, like Send Message for Slack

Ensure that you have the right permission to authorize Slack and Google Docs.

or Create Document for Google Docs.

Step 2: Use Fastn’s AI Agent to Perform Automated Actions

Now that your connectors are set up, you can use Fastn’s AI agent to create and automate actions across apps like Google Docs and Slack.

After opening your AI agent;

  • Start by giving the command to create a Google Doc.

Example: “Create a Google Doc titled ‘Model Context Protocol'.

Once the document is created, you can ask the agent to generate content for it.

Command: “Write content of 500 words in the document.”

The assistant will write directly into the Google Doc, and you can view the generated content in real time by opening the document link provided in the chat.

  • Next, instruct the agent to send the document to a Slack channel. Example: “Send this document to the #ChannelName channel.”

  • You can also include a custom message to go along with the doc. Example: “Here’s the Google Doc.”

  • The AI Action Agent will show you details fetched regarding the channel. Click Run Tool to proceed.

  • Once done, you’ll see the Google Doc shared as a message in your selected Slack channel, complete with the link and message you provided.

Last updated

Was this helpful?