Create a Google Doc and share it to Slack - using 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 UCL
Automatically share the document to a Slack channel
1. Selecting Your Workspace in UCL
Log in to UCL from ucl.dev.
After you log in, you can select a workspace or create a new one by clicking on the Create Workspace button, after which you'll be directed to the next page to set up your integrations.

2. Choose Apps & Actions
Selecting your workspace will take you to the Connect Page in your Dashboard. You can Choose the Apps You Need, along with viewing your selected apps and enabled actions.

Actions represent the functions you can perform within each app.
From the Connecting Existing Apps button, you can browse and connect to any app available in UCL.
For this use case, we need to connect the Google Docs and Slack apps with the Create Doc and Send Message Actions, respectively.
You can select any app by checking the top-right box on the app and click on Select Tools to modify your action selection and then finalize this setup by clicking the Confirm Action button in the right-bottom.

Google Docs
You need to authenticate your Google account, after which the Google Docs App will appear as Connected.
From Select Tools, you can enable the Create Doc Action.

Slack
Similarly, you need to connect the Slack App and enable the Send Message Action.

You will now be able to see the selected apps with enabled actions on your dashboard.

3. Test in Playground
You can use the Playground (from the three-dot menu, top right) in your dashboard to test all your connected apps.

Creating a Google Doc and Sending it to Slack
In the AI Assistant, enter the prompt describing the action you want to perform. For example:
Create a Google Doc titled "MCP Server"

Next, you can give a command to add content to the document or send it to a Slack channel right away.
Send the doc to slack channel *channel_name*

For every command prompt, the assistant would ask you to confirm execution by clicking on the Run Tool button.

Once successful, you will see a success message in the assistant, and the document will be sent to the potential Slack channel.

This setup allows you to automate and streamline document creation and sharing it across different platforms using natural language, making workflows faster and more efficient.
Last updated
Was this helpful?