ServiceNow and Gmail Integration with MuleSoft with detailed Demo
A brief agenda:
> Networking and Knowledge sharing.
> MuleSoft Latest Product Release Updates.
> Gmail Integration with MuleSoft
> ServiceNow Integration with MuleSoft
> Demo
Driving Behavioral Change for Information Management through Data-Driven Gree...
Mumbai MuleSoft Meetup #18
1. 26th June 2021
Mumbai MuleSoft Meetup Group
Email Service and ServiceNow
integration in Mule 4
2. Guidelines for Mumbai MuleSoft Meetup #17
[Virtual]
● Welcome to Mumbai MuleSoft Meetup! We will start our introduction session at 5 pm IST.
● Once you join write down your registered name in chat section so that we can provide you
audio/video access in Bevy.
● Please keep yourself muted unless you have any question.
● We encourage keeping your video on for making our meetup interactive.
● You'll can also write down your questions in chat section.
● We appreciate your valuable feedback. Thanks.
2
3. 3
● Introductions
● Email and ServiceNow Integration in Mule 4
● Demo
● Quiz
● Networking time
Agenda
4. 4
●About the organizer:
○ Sudeshna Mitra
○ Manish Yadav
○ Akshata Sawant
○ Parth Rawat
●About the sponsor:
○ MuleSoft
Introductions
A SHOW OF HANDS:
Who is new to this Meetup?
7. 7
● Setting up email and service-now account with configuration
● Integrating email service with MuleSoft
● Integrating service-now with MuleSoft
● Challenges while connecting to email and service-now
● Use Case
● Demo
Agenda
8. 8
● Allowed Mail Servers are POP3, IMAP and SMTP.
● Allowed operations are:
○ Delete
○ Expunge Folder
○ List
○ Mark as Deleted
○ Mark as Read
● Latest connector version: 1.4.1 (https://docs.mulesoft.com/email-connector/1.4/email-send)
● Maven Dependency:
Email Configuration
10. 10
● Authenticating a user: Google support DKIM (Domain Keys Identified Mail) which is an email
authentication technique that allows the receiver to check that an email was indeed sent and
authorized by the owner of that domain. This is done by giving the email a digital signature.
● Spamming of Inbox: MuleSoft's Objectstore can be leveraged to check Subject and From
Address. If the user tries to send multiple mails with same subject/address, first email will be
queued while others are rejected.
● Working on secure protocols like SMPTS and IMAPS needs certificates from the mail server.
● Application can listen/send ‘n’ number of distinct mails.
Challenges Observed
11. 11
● About: ServiceNow is a cloud-based software platform for IT Service Management (ITSM)
which helps to automate IT Business Management. It is designed based on ITIL guidelines to
provide service-orientation for tasks, activities, and processes. It uses machine learning to
leverage data and workflows to help businesses become faster and scalable.
● Key Features Available:
o Ease of customization
o Better Support to your customers with low maintenance cost
o Real time analysis and reporting
o Data confidentiality and integrity
o Improved operational tracking
o On-demand IT Service Management
o Instance-based implementation
o Low configuration requirement to quickly running within an enterprise
ServiceNow
12. ● Latest connector version: 6.9.1 (https://docs.mulesoft.com/servicenow-connector/6.9/)
● In the recent change by ServiceNow team, an instance hibernates after few hours of inactivity
and needs to wake up before starting a process either manually or through a HTTP request
which takes usually 2-3 minutes.
https://developer.servicenow.com/blog.do?p=/post/hibernation-and-developer-instances/
● Allowed operations are:
○ Invoke
○ Unauthorize
● Sample XML Payload:
● Maven Dependency:
12
ServiceNow Configuration
16. 1] List the mail servers that Gmail allows
○ …
○ …
○ …
16
17. 2] Service Now instance hibernates after few
hours of inactivity?
● True
● False
17
18. 3] List the deployment options available for
Mule application
○ …
○ …
○ …
18
19. 19
● Share:
○ Tweet using the hashtag #MuleSoftMeetups
○ Invite your network to join: https://meetups.mulesoft.com/mumbai/
● Feedback:
○ Fill out the survey feedback and suggest topics for upcoming events
○ Contact MuleSoft at meetups@mulesoft.com for ways to improve the program
What’s next?