SlideShare a Scribd company logo
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​’.
Most read
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.
Most read
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.
Most read
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 (17)

Integration 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 apps
Mehdi El Amri
 
AI: 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
Subramanyam Vemala
 
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
NCCOMMS
 
Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11
vraopolisetti
 
AnDevCon - A Primer to Sync Adapters
AnDevCon - A Primer to Sync Adapters
Kiana Tennyson
 
Rest security in mule
Rest security in mule
Son Nguyen
 
Outlook Signature
Outlook Signature
WimHeb
 
Siebel Web Service
Siebel Web Service
NAVINKUMAR RAI
 
Adding 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...
BlueMetalInc
 
Implement 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 2020
Microsoft 365 Developer
 
Building a YellowAnt application with .NET
Building a YellowAnt application with .NET
Vishwa Krishnakumar
 
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 ESB
Sanjeet Pandey
 
Integration 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 apps
Mehdi El Amri
 
AI: 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
Subramanyam Vemala
 
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
SPCA2013 - Developing Provider-Hosted Apps for SharePoint 2013
NCCOMMS
 
Atlanta user group presentation configero 8 nov11
Atlanta user group presentation configero 8 nov11
vraopolisetti
 
AnDevCon - A Primer to Sync Adapters
AnDevCon - A Primer to Sync Adapters
Kiana Tennyson
 
Rest security in mule
Rest security in mule
Son Nguyen
 
Outlook Signature
Outlook Signature
WimHeb
 
Adding 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...
BlueMetalInc
 
Implement 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 2020
Microsoft 365 Developer
 
Building a YellowAnt application with .NET
Building a YellowAnt application with .NET
Vishwa Krishnakumar
 
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 ESB
Sanjeet Pandey
 

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

Building Azure Logic Apps
Building Azure Logic Apps
BizTalk360
 
Azure Logic, API & Mobile Apps
Azure Logic, API & Mobile Apps
HARIHARAN R
 
Using logic apps for dynamics 365 integration
Using logic apps for dynamics 365 integration
Peter Haggert
 
Azure logic app
Azure logic app
Thi Nguyen Dinh
 
SPS Zurich 2018 - Azure Logic Apps: the new workflow engine
SPS Zurich 2018 - Azure Logic Apps: the new workflow engine
David Schneider
 
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
George Grammatikos
 
Logic apps
Logic apps
명신 김
 
Azure Logic Apps
Azure Logic Apps
BizTalk360
 
Tech UG - Newcastle 09-17 - logic apps
Tech UG - Newcastle 09-17 - logic apps
Michael Stephenson
 
Azure Logic Apps
Azure Logic Apps
Azure Riyadh User Group
 
Logic appsforbeginners
Logic appsforbeginners
Mandar Dharmadhikari
 
Azure Logic Apps & AI - Building Integration & AI Solutions
Azure Logic Apps & AI - Building Integration & AI Solutions
Daniel Toomey
 
Azure Logic Apps and Copilot.pptx .
Azure Logic Apps and Copilot.pptx .
Daniel Toomey
 
Introduction to Azure logic apps
Introduction to Azure logic apps
George Grammatikos
 
Microsoft Azure Logic apps
Microsoft Azure Logic apps
CloudFronts Technologies LLP.
 
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
Sandro Pereira
 
Global Azure BootCamp: Azure Logic Apps
Global Azure BootCamp: Azure Logic Apps
David Schneider
 
Logic Apps, the power of new integration
Logic Apps, the power of new integration
Félix Mondelo
 
Gab2017 - Logic Apps, the power of new integration
Gab2017 - Logic Apps, the power of new integration
Mariano Robles Hernández
 
Serverless Solutions for developers
Serverless Solutions for developers
Juan Pablo
 
Building Azure Logic Apps
Building Azure Logic Apps
BizTalk360
 
Azure Logic, API & Mobile Apps
Azure Logic, API & Mobile Apps
HARIHARAN R
 
Using logic apps for dynamics 365 integration
Using logic apps for dynamics 365 integration
Peter Haggert
 
SPS Zurich 2018 - Azure Logic Apps: the new workflow engine
SPS Zurich 2018 - Azure Logic Apps: the new workflow engine
David Schneider
 
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
IT PRO | Connections 2020 : Introduction to Logic Apps and automation solutio...
George Grammatikos
 
Azure Logic Apps
Azure Logic Apps
BizTalk360
 
Tech UG - Newcastle 09-17 - logic apps
Tech UG - Newcastle 09-17 - logic apps
Michael Stephenson
 
Azure Logic Apps & AI - Building Integration & AI Solutions
Azure Logic Apps & AI - Building Integration & AI Solutions
Daniel Toomey
 
Azure Logic Apps and Copilot.pptx .
Azure Logic Apps and Copilot.pptx .
Daniel Toomey
 
Introduction to Azure logic apps
Introduction to Azure logic apps
George Grammatikos
 
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
2015-12-02 - WebCamp - Microsoft Azure Logic Apps
Sandro Pereira
 
Global Azure BootCamp: Azure Logic Apps
Global Azure BootCamp: Azure Logic Apps
David Schneider
 
Logic Apps, the power of new integration
Logic Apps, the power of new integration
Félix Mondelo
 
Gab2017 - Logic Apps, the power of new integration
Gab2017 - Logic Apps, the power of new integration
Mariano Robles Hernández
 
Serverless Solutions for developers
Serverless Solutions for developers
Juan Pablo
 
Ad

Recently uploaded (20)

COBOL Programming with VSCode - IBM Certificate
COBOL Programming with VSCode - IBM Certificate
VICTOR MAESTRE RAMIREZ
 
IBM Rational Unified Process For Software Engineering - Introduction
IBM Rational Unified Process For Software Engineering - Introduction
Gaurav Sharma
 
Revolutionize Your Insurance Workflow with Claims Management Software
Revolutionize Your Insurance Workflow with Claims Management Software
Insurance Tech Services
 
Software Engineering Process, Notation & Tools Introduction - Part 3
Software Engineering Process, Notation & Tools Introduction - Part 3
Gaurav Sharma
 
Providing Better Biodiversity Through Better Data
Providing Better Biodiversity Through Better Data
Safe Software
 
iOS Developer Resume 2025 | Pramod Kumar
iOS Developer Resume 2025 | Pramod Kumar
Pramod Kumar
 
Rebuilding Cadabra Studio: AI as Our Core Foundation
Rebuilding Cadabra Studio: AI as Our Core Foundation
Cadabra Studio
 
Generative Artificial Intelligence and its Applications
Generative Artificial Intelligence and its Applications
SandeepKS52
 
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
usmanch7829
 
Plooma is a writing platform to plan, write, and shape books your way
Plooma is a writing platform to plan, write, and shape books your way
Plooma
 
14 Years of Developing nCine - An Open Source 2D Game Framework
14 Years of Developing nCine - An Open Source 2D Game Framework
Angelo Theodorou
 
Maintaining + Optimizing Database Health: Vendors, Orchestrations, Enrichment...
Maintaining + Optimizing Database Health: Vendors, Orchestrations, Enrichment...
BradBedford3
 
Micro-Metrics Every Performance Engineer Should Validate Before Sign-Off
Micro-Metrics Every Performance Engineer Should Validate Before Sign-Off
Tier1 app
 
The Future of Open Source Reporting Best Alternatives to Jaspersoft.pdf
The Future of Open Source Reporting Best Alternatives to Jaspersoft.pdf
Varsha Nayak
 
Automating Map Production With FME and Python
Automating Map Production With FME and Python
Safe Software
 
The rise of e-commerce has redefined how retailers operate—and reconciliation...
The rise of e-commerce has redefined how retailers operate—and reconciliation...
Prachi Desai
 
From Chaos to Clarity - Designing (AI-Ready) APIs with APIOps Cycles
From Chaos to Clarity - Designing (AI-Ready) APIs with APIOps Cycles
Marjukka Niinioja
 
Best Inbound Call Tracking Software for Small Businesses
Best Inbound Call Tracking Software for Small Businesses
TheTelephony
 
Top 11 Fleet Management Software Providers in 2025 (2).pdf
Top 11 Fleet Management Software Providers in 2025 (2).pdf
Trackobit
 
Key AI Technologies Used by Indian Artificial Intelligence Companies
Key AI Technologies Used by Indian Artificial Intelligence Companies
Mypcot Infotech
 
COBOL Programming with VSCode - IBM Certificate
COBOL Programming with VSCode - IBM Certificate
VICTOR MAESTRE RAMIREZ
 
IBM Rational Unified Process For Software Engineering - Introduction
IBM Rational Unified Process For Software Engineering - Introduction
Gaurav Sharma
 
Revolutionize Your Insurance Workflow with Claims Management Software
Revolutionize Your Insurance Workflow with Claims Management Software
Insurance Tech Services
 
Software Engineering Process, Notation & Tools Introduction - Part 3
Software Engineering Process, Notation & Tools Introduction - Part 3
Gaurav Sharma
 
Providing Better Biodiversity Through Better Data
Providing Better Biodiversity Through Better Data
Safe Software
 
iOS Developer Resume 2025 | Pramod Kumar
iOS Developer Resume 2025 | Pramod Kumar
Pramod Kumar
 
Rebuilding Cadabra Studio: AI as Our Core Foundation
Rebuilding Cadabra Studio: AI as Our Core Foundation
Cadabra Studio
 
Generative Artificial Intelligence and its Applications
Generative Artificial Intelligence and its Applications
SandeepKS52
 
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
IMAGE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK.P.pptx
usmanch7829
 
Plooma is a writing platform to plan, write, and shape books your way
Plooma is a writing platform to plan, write, and shape books your way
Plooma
 
14 Years of Developing nCine - An Open Source 2D Game Framework
14 Years of Developing nCine - An Open Source 2D Game Framework
Angelo Theodorou
 
Maintaining + Optimizing Database Health: Vendors, Orchestrations, Enrichment...
Maintaining + Optimizing Database Health: Vendors, Orchestrations, Enrichment...
BradBedford3
 
Micro-Metrics Every Performance Engineer Should Validate Before Sign-Off
Micro-Metrics Every Performance Engineer Should Validate Before Sign-Off
Tier1 app
 
The Future of Open Source Reporting Best Alternatives to Jaspersoft.pdf
The Future of Open Source Reporting Best Alternatives to Jaspersoft.pdf
Varsha Nayak
 
Automating Map Production With FME and Python
Automating Map Production With FME and Python
Safe Software
 
The rise of e-commerce has redefined how retailers operate—and reconciliation...
The rise of e-commerce has redefined how retailers operate—and reconciliation...
Prachi Desai
 
From Chaos to Clarity - Designing (AI-Ready) APIs with APIOps Cycles
From Chaos to Clarity - Designing (AI-Ready) APIs with APIOps Cycles
Marjukka Niinioja
 
Best Inbound Call Tracking Software for Small Businesses
Best Inbound Call Tracking Software for Small Businesses
TheTelephony
 
Top 11 Fleet Management Software Providers in 2025 (2).pdf
Top 11 Fleet Management Software Providers in 2025 (2).pdf
Trackobit
 
Key AI Technologies Used by Indian Artificial Intelligence Companies
Key AI Technologies Used by Indian Artificial Intelligence Companies
Mypcot Infotech
 
Ad

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.