Saurabh pandey
Saurabh pandey

Reputation: 1

Azure Logic App Outlook Connector “Send Email with Options”

I am trying to create a flow in Logic app which will send a outage email to bunch of recipient. Now here I have to add a trigger which will get the user details from PostgreSQL stored in variable. In email session I will call this variable in To session.

Connect PostgreSQL Get User details Stored in Variable calling the variable in Outlook session

Please need your help

Upvotes: 0

Views: 366

Answers (1)

Delliganesh Sevanesan
Delliganesh Sevanesan

Reputation: 4786

Now PostgreSQL connector available in logic app. If you use PostgreSQL connector in a logic app you need to create a gateway. That gateway installation, which appears in the list only when these conditions are met:

  • The gateway installation uses the same region as the gateway resource that you want to create.
  • The gateway installation isn't linked to another Azure gateway resource.
  • The gateway installation is linked to the same Azure account that you're using to create the gateway resource.
  • Your Azure account belongs to a single Azure Active Directory (Azure AD) tenant or directory and is the same account that you used for the gateway installation.

enter image description here

If it is possible to create a gateway you can use PostgreSQL Connector. Otherwise, you can use below method

You can use Azure function to connect PostgreSQL and get data from PostgreSQL using azure function.

Try to add the azure function in logic app (Check here for azure function call from logic app ).

Create a Custom API Connector ( logic-apps-create-api-app ) & a Custom Logic App Connector (custom-connector )

Refer here

Upvotes: 0

Related Questions