Learn how to copy Slack messages with user information from one channel to another using Pabbly Connect. This step-by-step guide simplifies the automation process. Learn to create powerful connections between your critical applications without requiring specialized programming knowledge or extensive technical background.

Watch Step By Step Video Tutorial Below


1. Setting Up Pabbly Connect for Slack Automation

To copy Slack messages with user’s information from one channel to another, you need to set up Pabbly Connect. Begin by signing up for a free account on the Pabbly Connect website. Once registered, sign in to access the dashboard.

From the dashboard, click on the ‘Create Workflow’ button. You can name your workflow, for example, ‘Copy Slack Messages Automatically.’ After naming, click the ‘Create’ button to proceed to the workflow page. This is where you will set up the trigger and action for your automation.


2. Configuring the Trigger in Slack

The first step involves configuring the trigger in Pabbly Connect. Select Slack as the trigger application and choose the event as ‘New Message.’ Click on the ‘Connect’ button to set up the connection.

  • Choose ‘Add New Connection’ and click on ‘Connect with Slack’.
  • Select the token type as ‘User’ for the connection.
  • Authorize access to your Slack workspace by clicking on ‘Allow’.

Once the connection is established, select the channel name, such as ‘General Channel’. After this, click on the ‘Save and Send Test Request’ button to fetch the details of the most recent message received in the selected channel.


3. Fetching User Details from Slack

After fetching the latest message, it’s essential to retrieve the user’s details using the user ID obtained from the trigger. For this, add a new action step in Pabbly Connect and select Slack again. Choose the action event as ‘Get User by ID’.

Connect to Slack using the existing connection you set up earlier. In the user ID field, map the user ID received from the previous step. Click on the ‘Save and Send Test Request’ button. You will receive a response containing the user’s real name and other details, which are necessary for sending the message to another channel.


4. Sending the Message to Another Channel

With the user details fetched, the next step is to send the copied message to another Slack channel. In Pabbly Connect, add another action step and select Slack as the application again. Choose the action event as ‘Send Channel Message’.

  • Select the target channel where you want to send the message, such as ‘Random Channel’.
  • Compose the message by including the user’s real name and the original message text.

Once you’ve set the message content, click on the ‘Save and Send Test Request’ button to check if the message is sent successfully to the specified channel. If successful, you will see the message appear in the target channel.


5. Finalizing the Automation Workflow

After successfully setting up the message sending action, your automation workflow is complete. With Pabbly Connect, you only need to set this up once, and it will run automatically whenever a message is received in the specified channel.

This automation allows your team to stay informed about conversations happening in different channels without manual effort. You can clone this workflow in your own Pabbly Connect account to start using it instantly.


Conclusion

In this tutorial, we explored how to use Pabbly Connect to automate the process of copying Slack messages with user information from one channel to another. This integration enhances productivity by keeping team members updated effortlessly.

Ensure you check out Pabbly Connect to create business automation workflows and reduce manual tasks. Pabbly Connect currently offer integration with 2,000+ applications.