21 Aug, 2021 5.30 PM
MYT
Selangor, Malaysia Meetup
Agenda
•Introduction Of Organizers and Speakers
•Community Details!
•Integration with Google hangout
•Q & A
•Trivia Quiz
2
Selangor, Malaysia Meetup Leader
3
Speaker for the day!
4
Community Details
•Register for Meetups : https://meetups.mulesoft.com
•Register for Official Training platform : https://training.mulesoft.com
•MuleSoft forum : https://help.mulesoft.com
•For all blogs : https://blogs.mulesoft.com/
•Anypoint platform : https://anypoint.mulesoft.com
5
Ravi Singh
Integration Architect at Saama Technologies, India
Integration Of Mulesoft With Slack - With Use Cases
2
Agenda
• Slack Integration :-
- What is Slack
- How to Connect Slack
- Mulesoft And Slack
- Demo Application
- Use Cases
2
What is Slack?
● SLACK stands for Searchable Log of All Conversations and
Knowledge
● Slack is a new way to communicate with your team. It's faster,
better organised and more secure than email
● There are two main ways to communicate in Slack: channels
and direct messages (DMs)
● Emoji reactions, @mentions, threads, Video chat and many
more
● Search options
● Alerts, notification, DND
9
How It Looks?
10
Salesforce Recently Acquired Slack
● Salesforce recently acquired Slack
● May see better out of box connector for Slack
● Slack may be bundled with Salesforce and Mulesoft
11
Slack API
● Oauth Token
● API call using fixed token
12
Mulesoft And Slack Integration
● Out of Box Connector using Oauth
● Direct API call using http connector - fixed token
13
Slack Oauth Flow
14
Slack Oauth Flow - Detail
Setup App in Slack
● Create a new App via Slack API
15
Setup App in Slack
● Select
Features
16
Setup App in Slack
● Select Scopes
17
Setup App in Slack
● Redirect URL
18
Setup App in Slack
Get your client id
and secret
19
Setup App in Slack
Create Your
Channel
20
Use Case 1 - Send Notification to Slack
21
%dw 2.0
output application/json
---
{
channel: vars.channel,
text: vars.text,
}
SetUp Slack Connector
● Setup the config
22
Setup the Message
23
%dw 2.0
output application/json
---
{
channel: vars.channel,
text: vars.text,
}
Oauth Dance
24
Oauth dance - https://localhost:8083/authorize
Send Message- Examples
25
Set Notification In Slack Based on Keyword
26
27
Use Case 2 - Run Mulesoft Application
from Slack
● Run Cloudhubs and on premise apps using Slash Command
28
Use Case 2 - Run Mulesoft Application
from Slack
● Run Cloudhubs and on premise apps using Slash Command
● For example if you send a command like /weather 94070
29
Other Slack Use Cases
● Completely remove Email notification with Slack
● Use @mention someone to create specific alert
● Automate L2/L3 support
● Use Slash command to create automated chat/command flow
Questions ?
Trivia Quiz !
Enter Your Full Valid Name (no nick Names are allowed)
Only those who have registered and joined the session will be
allowed!
1. Go to Browser
Enter :
quizizz.com/join
2. Wait for code
3. Enter your name
Thank you

MuleSoft Slack Integration - meetup