Loading...

A Slack channel is a virtual space within the Slack platform where team members can communicate with each other through messages, calls, file sharing, and integrations. Channels can be organized around specific projects, departments, or topics, and they can be either public (open to all members) or private (restricted to invited members). 

By using channels, teams can collaborate and stay organized in real-time, regardless of their physical location. 

In this issue today, we will share how to create a Slack channel while creating a new opportunity record when the deal is closed. So, let’s get started!

Create Slack Channel, Installing Slack app in Salesforce, Salesforce development solutions, Slack app in Salesforce, salesforce for slack, salesforce Slack WorkSpace, slack automation, slack automation with salesforce,

Installing Slack app in Salesforce

Before we start, you need to install the Slack App in your Salesforce org from Salesforce AppExchange. Click on the link here to install the Slack app.

Steps to create a slack channel and add a user with the opportunity record in the channel

  • Step 1: We will create a channel and add an opportunity record in the channel to create Record Trigger Flow.
  1. In Quick Find Box Search Flows.
  2. Select Record Trigger Flow.
  3. Select the opportunity object.
  4. Configure Trigger.
  5. Add condition Requirements.
  6. Optimize the flow of Actions and Related Records.
  7. Check box check: Include a Run Asynchronously path to access an external system after the original transaction for the triggering record is successfully committed.
Create Slack Channel, Installing Slack app in Salesforce, Salesforce development solutions, Slack app in Salesforce, salesforce for slack, salesforce Slack WorkSpace, slack automation, slack automation with salesforce,
  • Step 2: In Run Asynchronously to add Slack Apex Action Create Channel.
  1. Add Slack App.
  2. Add Slack workspace.
  3. Add Execute Action As.
  4. Add Slack Channel Name.
  5. Add Channel Type.
Create Slack Channel, Installing Slack app in Salesforce, Salesforce development solutions, Slack app in Salesforce, salesforce for slack, salesforce Slack WorkSpace, slack automation, slack automation with salesforce,
  • Step 3: After that, we will add a user. For that first, we will create resources.
  1. Click Variable.
  2. Give API name.
  3. Data Type set as Text.
  4. In Flow, we Add Assignments for Add user id.
Create Slack Channel, Installing Slack app in Salesforce, Salesforce development solutions, Slack app in Salesforce, salesforce for slack, salesforce Slack WorkSpace, slack automation, slack automation with salesforce,
  • Step 4: Add Apex action to invite users.
  1. Add Slack App.
  2. Add Slack WorkSpace.
  3. Add Execute Action As.
  4. Add Slack Channel ID.
  5. Add Slack Workspace ID for Channel.
  6. Add Salesforce User ID Collection Resource.
Create Slack Channel, Installing Slack app in Salesforce, Salesforce development solutions, Slack app in Salesforce, salesforce for slack, salesforce Slack WorkSpace, slack automation, slack automation with salesforce,
  • Step 5: Add Apex Action Send Slack Message.
  1. Add Slack App.
  2. Add Slack WorkSpace.
  3. Add Execute Action As.
  4. Add Slack Conversation ID.
  5. Add Slack Message.

To add Slack messages we will create a resource Select a text template and give an API Name And give View as Plain text.

Create Slack Channel, Installing Slack app in Salesforce, Salesforce development solutions, Slack app in Salesforce, salesforce for slack, salesforce Slack WorkSpace, slack automation, slack automation with salesforce,
  • Final Step: In the end, the Flow will look like this.
Create Slack Channel, Installing Slack app in Salesforce, Salesforce development solutions, Slack app in Salesforce, salesforce for slack, salesforce Slack WorkSpace, slack automation, slack automation with salesforce,
  • Now we will create an opportunity record and opportunity record sync with Slack and add a channel in Slack with an opportunity Record.
Create Slack Channel, Installing Slack app in Salesforce, Salesforce development solutions, Slack app in Salesforce, salesforce for slack, salesforce Slack WorkSpace, slack automation, slack automation with salesforce,

Conclusion

Hope you find this article article. To get more updates on the latest Salesforce development solutions, stay tuned to our blogs. Until the next blog, happy coding!

No Data Found.

Related Articles
How to Integrate NikoHealth to Salesforce

Healthcare organizations using NikoHealth often need patient, insurance, order, invoice, and prescription data available inside Salesforce. As data grows, manually updating records across systems becomes difficult and can lead to delays, duplicate work, and data inconsistencies. NikoHealth to Salesforce integration helps solve this challenge by automatically synchronizing data between both platforms. Instead of building custom […]

Read More
Orchestrator vs. Traditional Flows

Businesses use Salesforce automation to reduce manual work, improve efficiency, and automate repetitive business processes. Two commonly used automation approaches inside Salesforce are Traditional Flows and Flow Orchestrator. Traditional Flows are mainly used for simple automation tasks such as updating records, sending notifications, creating tasks, and automating business logic. Flow Orchestrator is designed for more […]

Read More
The Rise of Agentic Government_ What Salesforce’s 2026 Insights Mean for the Future of Public Sector AI

Government technology has often been seen as slower to evolve than the private sector. But Salesforce’s latest research challenges that idea in a big way. In fact, the new findings suggest that public sector organizations may now be moving faster than many businesses when it comes to adopting AI agents and preparing for a more […]

Read More
How To Use Email Service in APEX

Managing approvals, updates, and record changes directly from email can significantly improve efficiency within Salesforce workflows. Instead of logging in, navigating records, and manually updating fields, users can simply respond to emails and trigger automated updates using Email Service in APEX. This approach is especially useful for businesses leveraging Salesforce automation and looking to enhance […]

Read More
Design and Implementation of Salesforce Jira Task Integration 1 1

Businesses have been using Salesforce for CRM operations and Jira for Agile project tracking. However, without integration, teams manually update both systems, leading to data inconsistency and inefficiency.This mechanism establishes a real-time integration between Salesforce and Jira, allowing seamless synchronization of tasks and agile board statuses.  A custom Salesforce dashboard was developed that replicates Jira-style […]

Read More
Dark Mode in Salesforce Enabling It and Creating Theme Ready Lightning Web Components with SLDS 2.0 1 1

With the Winter ’26 release, Salesforce introduced Dark Mode in Lightning Experience. Dark Mode has been introduced as a beta feature in Winter ’26, and at first it was available only for Starter Edition orgs. It is now rolling out further with Spring ’26 to Professional, Enterprise, and Developer editions. To use Dark Mode, Salesforce […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203239658
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
6D - 7398 Yonge St #1124 Thornhill, ON L4J 8J2 Canada +1(262) 310-7818