SlideShare a Scribd company logo
Introduction to Azure Logic Apps | Creating Logic App for Salesforce
Integration
Azure App Services
Azure App Services is an integrated service which allows to create web and mobile applications
from any platform or for any device. This includes Logic Apps and API apps capabilities along
with built in connectors which allows us to integrate with Saas (Salesforce, Dynamics CRM etc.)
and on premise applications (Oracle, Facebook, twitter etc).
Azure App services may integrate different type of apps which can be:
1. Web Apps
2. Mobile Apps
3. Logic Apps
4. API apps
Azure App Service enables you to easily create Web + Mobile + Logic + API Apps:
Web Apps: -> We can create web applications inside Azure App service platform as we used to
build azure websites previously. They provide similar functionalities and flexibilities.
Mobile Apps:​-> We can create mobile applications inside Azure App service platform as we
used to build azure mobile applications previously. We can create web+mobile application within
this platform instead of creating them differently. They both can use the same backend and we
can manage our resources in a better way.
Logic Apps:​-> The Logic App enables you to automate workflows and business processes.
Logic apps are like workflows that can run on any API call, update record action or on specific
time. You can create logic app using json file or Logic App designer available in this platform.
Within the workflow, you can update or retrieve records from ​Saas ​applications, post a message
on Facebook or Twitter etc. Azure App services provide various built in connectors that can be
used to create or automate your Logic App workflows.
API Apps:​-> API apps allows us to call or consume API calls within this platform including both
APIs you create (using a framework like ASP.NET Web API or the equivalent in other
languages) as well as APIs from other SaaS and cloud providers. We can optionally integrate
these APIs with Logic Apps.
Logic Apps
Logic Apps are designer-first integration services that can create workflows. They integrate with
various SaaS and enterprise applications. Azure Logic Apps and Functions are the backbone of
serverless architecture in Azure. They both allow developers to quickly create and deploy code
to the cloud that needs to be scalable, lightweight and fast.
Components of Logic Apps
LogicApps consist of four components; connectors, triggers, conditions and actions.
Connectors:​-> Connectors allow us to connect to the services. These are the code blocks
coupled together to connect to service. Each connector has its own API and needs credentials
for accessing the service.
Triggers: ​-> Triggers are used with connectors to initiate your workflow. Each API provide
related triggers. You can select based on your requirement.
Actions​:-> Actions are the steps in the workflow. Each trigger, condition and function are
considered as actions. Action is the task that we do with the input received from the connector.
Like Sending mail, updating the salesforce records etc.
Conditions​:-> Conditions are optional. You can use any conditional loops like foreach, if else,
do until etc. These are used to insert some logic into your workflow.
You can create logic Apps directly on Azure portal or can be created using visual studio 2015 or
later.
Creation of Logic App
Here I am creating a logic app for the integration between Salesforce and My azure Database. I
have created few tables in my Azure database out of which two are Contacts and Accounts
table. Following screenshot will show the DB design of these two tables.
Now, we will create the logic app. Login into azure portal. Click on ​Create a resource​ -> ​Web​ ->
Logic App​ as shown in following screenshot.
Now, When we click on Logic App, following screen will appear.
Add required details for app name, subscription, location etc. as shown above and click on
create button. “​Deployment is in progress​” message will start showing in the Notification area.
After 1 or 2 minutes when deployment will be successful, following screen will appear.
Click on ‘​Go To Resource​’ button to enter your application area in portal, where you will be able
to see your application related information, settings and actions etc. as shown below. At the top
of the screen in the Overview section, click on the logic App name link to see the UI of logic
App.
First Screen that will be shown to us in Logic APP is its designer. Following screenshot is
showing the Logic App designer.
Logic App always starts with a trigger. You can also see some default triggers provided by
Azure. If you want to implement your custom trigger, click on Blank Logic App template and
following options will appear.
First, List of various supported connectors will appear. When you click on your required
connector, it will ask you to login to your account on that connector so that you can connect with
that application. In our case, we will select the salesforce connector and it will ask us for
salesforce credentials. After successfully login to our salesforce account, it will show us
salesforce supported triggers (like ‘​When a record is created​’ and ‘​When a record is modified​’)
as follows:
Now, as per your requirement, select appropriate trigger. I have selected the ​‘Create’ ​trigger and
then it will ask for details like ‘trigger will work on which salesforce object and interval’, ‘when
this trigger will run?’ etc. as shown in following screenshot.
Then, we can add new step in our workflow which gives us options like ‘​Add an action​’ or ‘​Add a
condition​’ etc. Now, users can add any conditions. I have added condition - ‘​if email of contact
contains “​banita​” then it will add the contact in my azure database otherwise it will do nothing​’.
If my condition is true, I want to insert the row in SQL DB. So, In ‘​if true​’ condition, Choose an
action, select the connector first i.e. on which application you want to connect and perform the
action (which is ​SQL Server in our case). Then, choose the action as shown in following
screenshot.
Select the Insert row action and add the required details as shown below
Now, my workflow is complete. You can add any number of conditions and actions in one
workflow. As workflow always starts with trigger. So, you need to create the logic app per
trigger. You can not add multiple disconnected triggers in one workflow.
Now, Save your Logic App and click on Run button shown in above screenshot.
Now, our trigger starts with creating the contact in salesforce account. So, create the ​Contact ​in
salesforce. I have created the ​Contact ​but did not provided the email in that ​Contact ​then
following error appears when our workflow executes.
Workflows shows the error details. As we can see in the screenshot, our condition is not running
properly as specified in the error details. Next time, I provided the correct email and saved the
record again, another error came as shown in the following screenshot.
I have created the ​AccountID ​as foreign key in our Contact table. Currently, In my database,
there is only one account ‘BJSolutions’ and I have provided the different account in the ​Contact
details So, workflow shows the above error.
Now, I have provided all the correct details as shown below.
Workflow executed successfully this time as shown below
Now, we need to check in our DB whether this contact information is inserted in our DB or not.
Details of contact is added successfully in our Azure DB as shown below
You can check the Status of your Logic APP in the overview page of you logic App like how
many times it ran. You can further check the details related to each time it ran as shown in the
screenshot below.
Click on the row for which you want to check the details as shown below:
Click on Run details button shown in the top header and further details related to this run will be
shown as follows:
Logic App is created per trigger. And you can create as many logic apps as required.

More Related Content

What's hot

Integration with sales force
Integration with sales forceIntegration with sales force
Integration with sales force
Son Nguyen
 
Tips and Tricks for new async web client capabilities on model driven apps
Tips and Tricks for new async web client capabilities on model driven appsTips and Tricks for new async web client capabilities on model driven apps
Tips and Tricks for new async web client capabilities on model driven apps
Mehdi El Amri
 
AI: Mobile Apps That Understands Your Intention When You Typed
AI: Mobile Apps That Understands Your Intention When You TypedAI: Mobile Apps That Understands Your Intention When You Typed
AI: Mobile Apps That Understands Your Intention When You Typed
Marvin Heng
 
Creating AppStream users through User Pool
Creating AppStream users through User Pool Creating AppStream users through User Pool
Creating AppStream users through User Pool
Subramanyam Vemala
 
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
NCCOMMS
 
Amazon Rekognition Workshop
Amazon Rekognition WorkshopAmazon Rekognition Workshop
Amazon Rekognition Workshop
Amazon Web Services
 
Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11vraopolisetti
 
AnDevCon - A Primer to Sync Adapters
AnDevCon - A Primer to Sync AdaptersAnDevCon - A Primer to Sync Adapters
AnDevCon - A Primer to Sync AdaptersKiana Tennyson
 
Rest security in mule
Rest security in muleRest security in mule
Rest security in mule
Son Nguyen
 
Outlook Signature
Outlook SignatureOutlook Signature
Outlook Signature
WimHeb
 
Siebel Web Service
Siebel Web ServiceSiebel Web Service
Siebel Web Service
NAVINKUMAR RAI
 
Adding you API to ApiDD
Adding you API to ApiDDAdding you API to ApiDD
Adding you API to ApiDD
apidd
 
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
BlueMetalInc
 
Implement Authorization in your Apps with Microsoft identity platform-June 2020
Implement Authorization in your Apps with Microsoft identity platform-June 2020Implement Authorization in your Apps with Microsoft identity platform-June 2020
Implement Authorization in your Apps with Microsoft identity platform-June 2020
Microsoft 365 Developer
 
Microsoft identity platform community call-May 2020
Microsoft identity platform community call-May 2020Microsoft identity platform community call-May 2020
Microsoft identity platform community call-May 2020
Microsoft 365 Developer
 
Building a YellowAnt application with .NET
Building a YellowAnt application with .NETBuilding a YellowAnt application with .NET
Building a YellowAnt application with .NET
Vishwa Krishnakumar
 
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010,Claims-Based Identity, Facebook, and the CloudSharePoint 2010,Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
Danny Jessee
 
Webservices in SalesForce (part 1)
Webservices in SalesForce (part 1)Webservices in SalesForce (part 1)
Webservices in SalesForce (part 1)
Mindfire Solutions
 
Integration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESBIntegration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESB
Sanjeet Pandey
 

What's hot (19)

Integration with sales force
Integration with sales forceIntegration with sales force
Integration with sales force
 
Tips and Tricks for new async web client capabilities on model driven apps
Tips and Tricks for new async web client capabilities on model driven appsTips and Tricks for new async web client capabilities on model driven apps
Tips and Tricks for new async web client capabilities on model driven apps
 
AI: Mobile Apps That Understands Your Intention When You Typed
AI: Mobile Apps That Understands Your Intention When You TypedAI: Mobile Apps That Understands Your Intention When You Typed
AI: Mobile Apps That Understands Your Intention When You Typed
 
Creating AppStream users through User Pool
Creating AppStream users through User Pool Creating AppStream users through User Pool
Creating AppStream users through User Pool
 
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
 
Amazon Rekognition Workshop
Amazon Rekognition WorkshopAmazon Rekognition Workshop
Amazon Rekognition Workshop
 
Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11
 
AnDevCon - A Primer to Sync Adapters
AnDevCon - A Primer to Sync AdaptersAnDevCon - A Primer to Sync Adapters
AnDevCon - A Primer to Sync Adapters
 
Rest security in mule
Rest security in muleRest security in mule
Rest security in mule
 
Outlook Signature
Outlook SignatureOutlook Signature
Outlook Signature
 
Siebel Web Service
Siebel Web ServiceSiebel Web Service
Siebel Web Service
 
Adding you API to ApiDD
Adding you API to ApiDDAdding you API to ApiDD
Adding you API to ApiDD
 
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
Apps 101 - Moving to the SharePoint 2013 App Model - Presented 7/27/13 at Sha...
 
Implement Authorization in your Apps with Microsoft identity platform-June 2020
Implement Authorization in your Apps with Microsoft identity platform-June 2020Implement Authorization in your Apps with Microsoft identity platform-June 2020
Implement Authorization in your Apps with Microsoft identity platform-June 2020
 
Microsoft identity platform community call-May 2020
Microsoft identity platform community call-May 2020Microsoft identity platform community call-May 2020
Microsoft identity platform community call-May 2020
 
Building a YellowAnt application with .NET
Building a YellowAnt application with .NETBuilding a YellowAnt application with .NET
Building a YellowAnt application with .NET
 
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010,Claims-Based Identity, Facebook, and the CloudSharePoint 2010,Claims-Based Identity, Facebook, and the Cloud
SharePoint 2010, Claims-Based Identity, Facebook, and the Cloud
 
Webservices in SalesForce (part 1)
Webservices in SalesForce (part 1)Webservices in SalesForce (part 1)
Webservices in SalesForce (part 1)
 
Integration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESBIntegration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESB
 

Similar to Creating azure logic app for salesforce integration | Webner

Understanding router state in angular 7 passing data through angular router s...
Understanding router state in angular 7 passing data through angular router s...Understanding router state in angular 7 passing data through angular router s...
Understanding router state in angular 7 passing data through angular router s...
Katy Slemon
 
How to register your application to authorize o365 graph api
How to register your application to authorize o365 graph apiHow to register your application to authorize o365 graph api
How to register your application to authorize o365 graph api
Rakesh SHarma
 
Using QLIK with AWS & Python
Using QLIK with AWS & PythonUsing QLIK with AWS & Python
Using QLIK with AWS & Python
Bruce Jenks
 
Introduction To Core App Dashboard.pdf
Introduction To Core App Dashboard.pdfIntroduction To Core App Dashboard.pdf
Introduction To Core App Dashboard.pdf
Zeelma Update
 
IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...
IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...
IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...
IRJET Journal
 
Application Integration on Cloud.pptx
Application Integration on Cloud.pptxApplication Integration on Cloud.pptx
Application Integration on Cloud.pptx
saquib1982
 
Creating a Custom PowerApp Connector using Azure Functions
Creating a Custom PowerApp Connector using Azure FunctionsCreating a Custom PowerApp Connector using Azure Functions
Creating a Custom PowerApp Connector using Azure Functions
Murray Fife
 
Qalcwise designer application kp is - unit 120 v20160314
Qalcwise designer   application kp is - unit 120 v20160314Qalcwise designer   application kp is - unit 120 v20160314
Qalcwise designer application kp is - unit 120 v20160314
qalcwise
 
Mule integration with Servicenow
Mule integration with ServicenowMule integration with Servicenow
Mule integration with Servicenow
Ramakrishna Narkedamilli
 
End-to-end Mobile App Development (with iOS and Azure Mobile Services)
End-to-end Mobile App Development (with iOS and Azure Mobile Services)End-to-end Mobile App Development (with iOS and Azure Mobile Services)
End-to-end Mobile App Development (with iOS and Azure Mobile Services)
Andri Yadi
 
Rits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce LightningRits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce Lightning
Right IT Services
 
Microsoft identity platform and device authorization flow to use azure servic...
Microsoft identity platform and device authorization flow to use azure servic...Microsoft identity platform and device authorization flow to use azure servic...
Microsoft identity platform and device authorization flow to use azure servic...
Sunil kumar Mohanty
 
Sencha Touch MVC
Sencha Touch MVCSencha Touch MVC
Sencha Touch MVC
Neha Upadhyay
 
AspMVC4 start101
AspMVC4 start101AspMVC4 start101
AspMVC4 start101
Rich Helton
 
How to integrate salesforce data with azure data factory
How to integrate salesforce data with azure data factoryHow to integrate salesforce data with azure data factory
How to integrate salesforce data with azure data factory
servicesNitor
 
Integrating with LinkedIn using Mule ESB LinkedIn Connector
Integrating with LinkedIn using Mule ESB LinkedIn ConnectorIntegrating with LinkedIn using Mule ESB LinkedIn Connector
Integrating with LinkedIn using Mule ESB LinkedIn Connector
Rupesh Sinha
 
Build apps for slack
Build apps for slackBuild apps for slack
Build apps for slack
Binod Jung Bogati
 

Similar to Creating azure logic app for salesforce integration | Webner (20)

Understanding router state in angular 7 passing data through angular router s...
Understanding router state in angular 7 passing data through angular router s...Understanding router state in angular 7 passing data through angular router s...
Understanding router state in angular 7 passing data through angular router s...
 
How to register your application to authorize o365 graph api
How to register your application to authorize o365 graph apiHow to register your application to authorize o365 graph api
How to register your application to authorize o365 graph api
 
Using QLIK with AWS & Python
Using QLIK with AWS & PythonUsing QLIK with AWS & Python
Using QLIK with AWS & Python
 
Introduction To Core App Dashboard.pdf
Introduction To Core App Dashboard.pdfIntroduction To Core App Dashboard.pdf
Introduction To Core App Dashboard.pdf
 
IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...
IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...
IRJET- Amazon Echo Controlled Smart Web Application: Integrating Echo with We...
 
Application Integration on Cloud.pptx
Application Integration on Cloud.pptxApplication Integration on Cloud.pptx
Application Integration on Cloud.pptx
 
Creating a Custom PowerApp Connector using Azure Functions
Creating a Custom PowerApp Connector using Azure FunctionsCreating a Custom PowerApp Connector using Azure Functions
Creating a Custom PowerApp Connector using Azure Functions
 
Sql server reporting services (SSRS)
Sql server reporting services (SSRS)Sql server reporting services (SSRS)
Sql server reporting services (SSRS)
 
Qalcwise designer application kp is - unit 120 v20160314
Qalcwise designer   application kp is - unit 120 v20160314Qalcwise designer   application kp is - unit 120 v20160314
Qalcwise designer application kp is - unit 120 v20160314
 
Mule integration with Servicenow
Mule integration with ServicenowMule integration with Servicenow
Mule integration with Servicenow
 
API.docx
API.docxAPI.docx
API.docx
 
End-to-end Mobile App Development (with iOS and Azure Mobile Services)
End-to-end Mobile App Development (with iOS and Azure Mobile Services)End-to-end Mobile App Development (with iOS and Azure Mobile Services)
End-to-end Mobile App Development (with iOS and Azure Mobile Services)
 
Rits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce LightningRits Brown Bag - Salesforce Lightning
Rits Brown Bag - Salesforce Lightning
 
Microsoft identity platform and device authorization flow to use azure servic...
Microsoft identity platform and device authorization flow to use azure servic...Microsoft identity platform and device authorization flow to use azure servic...
Microsoft identity platform and device authorization flow to use azure servic...
 
Sencha Touch MVC
Sencha Touch MVCSencha Touch MVC
Sencha Touch MVC
 
AspMVC4 start101
AspMVC4 start101AspMVC4 start101
AspMVC4 start101
 
Salesforce crm projects
Salesforce crm projects Salesforce crm projects
Salesforce crm projects
 
How to integrate salesforce data with azure data factory
How to integrate salesforce data with azure data factoryHow to integrate salesforce data with azure data factory
How to integrate salesforce data with azure data factory
 
Integrating with LinkedIn using Mule ESB LinkedIn Connector
Integrating with LinkedIn using Mule ESB LinkedIn ConnectorIntegrating with LinkedIn using Mule ESB LinkedIn Connector
Integrating with LinkedIn using Mule ESB LinkedIn Connector
 
Build apps for slack
Build apps for slackBuild apps for slack
Build apps for slack
 

Recently uploaded

AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 

Recently uploaded (20)

AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 

Creating azure logic app for salesforce integration | Webner

  • 1. Introduction to Azure Logic Apps | Creating Logic App for Salesforce Integration Azure App Services Azure App Services is an integrated service which allows to create web and mobile applications from any platform or for any device. This includes Logic Apps and API apps capabilities along with built in connectors which allows us to integrate with Saas (Salesforce, Dynamics CRM etc.) and on premise applications (Oracle, Facebook, twitter etc). Azure App services may integrate different type of apps which can be: 1. Web Apps 2. Mobile Apps 3. Logic Apps 4. API apps Azure App Service enables you to easily create Web + Mobile + Logic + API Apps: Web Apps: -> We can create web applications inside Azure App service platform as we used to build azure websites previously. They provide similar functionalities and flexibilities. Mobile Apps:​-> We can create mobile applications inside Azure App service platform as we used to build azure mobile applications previously. We can create web+mobile application within this platform instead of creating them differently. They both can use the same backend and we can manage our resources in a better way. Logic Apps:​-> The Logic App enables you to automate workflows and business processes. Logic apps are like workflows that can run on any API call, update record action or on specific time. You can create logic app using json file or Logic App designer available in this platform. Within the workflow, you can update or retrieve records from ​Saas ​applications, post a message on Facebook or Twitter etc. Azure App services provide various built in connectors that can be used to create or automate your Logic App workflows. API Apps:​-> API apps allows us to call or consume API calls within this platform including both APIs you create (using a framework like ASP.NET Web API or the equivalent in other languages) as well as APIs from other SaaS and cloud providers. We can optionally integrate these APIs with Logic Apps.
  • 2. Logic Apps Logic Apps are designer-first integration services that can create workflows. They integrate with various SaaS and enterprise applications. Azure Logic Apps and Functions are the backbone of serverless architecture in Azure. They both allow developers to quickly create and deploy code to the cloud that needs to be scalable, lightweight and fast. Components of Logic Apps LogicApps consist of four components; connectors, triggers, conditions and actions. Connectors:​-> Connectors allow us to connect to the services. These are the code blocks coupled together to connect to service. Each connector has its own API and needs credentials for accessing the service. Triggers: ​-> Triggers are used with connectors to initiate your workflow. Each API provide related triggers. You can select based on your requirement. Actions​:-> Actions are the steps in the workflow. Each trigger, condition and function are considered as actions. Action is the task that we do with the input received from the connector. Like Sending mail, updating the salesforce records etc. Conditions​:-> Conditions are optional. You can use any conditional loops like foreach, if else, do until etc. These are used to insert some logic into your workflow. You can create logic Apps directly on Azure portal or can be created using visual studio 2015 or later. Creation of Logic App Here I am creating a logic app for the integration between Salesforce and My azure Database. I have created few tables in my Azure database out of which two are Contacts and Accounts table. Following screenshot will show the DB design of these two tables.
  • 3. Now, we will create the logic app. Login into azure portal. Click on ​Create a resource​ -> ​Web​ -> Logic App​ as shown in following screenshot.
  • 4. Now, When we click on Logic App, following screen will appear. Add required details for app name, subscription, location etc. as shown above and click on create button. “​Deployment is in progress​” message will start showing in the Notification area. After 1 or 2 minutes when deployment will be successful, following screen will appear.
  • 5. Click on ‘​Go To Resource​’ button to enter your application area in portal, where you will be able to see your application related information, settings and actions etc. as shown below. At the top of the screen in the Overview section, click on the logic App name link to see the UI of logic App.
  • 6. First Screen that will be shown to us in Logic APP is its designer. Following screenshot is showing the Logic App designer. Logic App always starts with a trigger. You can also see some default triggers provided by Azure. If you want to implement your custom trigger, click on Blank Logic App template and following options will appear. First, List of various supported connectors will appear. When you click on your required connector, it will ask you to login to your account on that connector so that you can connect with that application. In our case, we will select the salesforce connector and it will ask us for salesforce credentials. After successfully login to our salesforce account, it will show us salesforce supported triggers (like ‘​When a record is created​’ and ‘​When a record is modified​’) as follows:
  • 7. Now, as per your requirement, select appropriate trigger. I have selected the ​‘Create’ ​trigger and then it will ask for details like ‘trigger will work on which salesforce object and interval’, ‘when this trigger will run?’ etc. as shown in following screenshot. Then, we can add new step in our workflow which gives us options like ‘​Add an action​’ or ‘​Add a condition​’ etc. Now, users can add any conditions. I have added condition - ‘​if email of contact contains “​banita​” then it will add the contact in my azure database otherwise it will do nothing​’.
  • 8. If my condition is true, I want to insert the row in SQL DB. So, In ‘​if true​’ condition, Choose an action, select the connector first i.e. on which application you want to connect and perform the action (which is ​SQL Server in our case). Then, choose the action as shown in following screenshot.
  • 9. Select the Insert row action and add the required details as shown below Now, my workflow is complete. You can add any number of conditions and actions in one workflow. As workflow always starts with trigger. So, you need to create the logic app per trigger. You can not add multiple disconnected triggers in one workflow. Now, Save your Logic App and click on Run button shown in above screenshot.
  • 10. Now, our trigger starts with creating the contact in salesforce account. So, create the ​Contact ​in salesforce. I have created the ​Contact ​but did not provided the email in that ​Contact ​then following error appears when our workflow executes. Workflows shows the error details. As we can see in the screenshot, our condition is not running properly as specified in the error details. Next time, I provided the correct email and saved the record again, another error came as shown in the following screenshot.
  • 11. I have created the ​AccountID ​as foreign key in our Contact table. Currently, In my database, there is only one account ‘BJSolutions’ and I have provided the different account in the ​Contact details So, workflow shows the above error. Now, I have provided all the correct details as shown below. Workflow executed successfully this time as shown below Now, we need to check in our DB whether this contact information is inserted in our DB or not. Details of contact is added successfully in our Azure DB as shown below
  • 12. You can check the Status of your Logic APP in the overview page of you logic App like how many times it ran. You can further check the details related to each time it ran as shown in the screenshot below. Click on the row for which you want to check the details as shown below:
  • 13. Click on Run details button shown in the top header and further details related to this run will be shown as follows: Logic App is created per trigger. And you can create as many logic apps as required.