/SendGridByTemplateMSFlowSwagger

SendGrid v3 API Swagger file for sending transactional templated emails from Microsoft Flow and PowerApps.

MIT LicenseMIT

SendGrid (By Template) for Microsoft Flow and PowerApps Swagger / OpenAPI definition

License: MIT

SendGrid v3 API Swagger file for sending transactional templated emails from Microsoft Flow and PowerApps.

Based on the full version of the SendGrid Open API/Swagger definition

Usage

To use, you can create a new custom connection in Microsoft PowerApps and use that within Microsoft Flow.

Step 1: Go to Custom Connectors in your PowerApps tenancy

Microsoft PowerApps - Custom Connectors Menu

Step 2: Hit Create Connection

Microsoft PowerApps - Create Custom Connector Menu

Step 3: Upload the Swagger file

Microsoft PowerApps - Create Custom Connector Dialog

Step 4: Add this to your Microsoft Flow

The API Key you get from SendGrid needs to be prifixed with the word "Bearer", e.g. "Bearer SG.lksfjlsiejleijclkaio032-09234ljslja39lkjdalkj". Failure to do this will cause Flow to fail with an unauthorised exception.

Microsoft Flow - SendGrid Template Connector example

Step 5: Use within your Microsoft Flow

Microsoft Flow - SendGrid Template example

License

The MIT License (MIT)