Create Queue Trigger to process the message of the HTTP Trigger

  1. Create a Azure Queue Storage Trigger by choosing the template shown below.

  1. In the next step, provide all the name of the Queue Trigger and provide the name of the queue which needs to be monitored for sending the notifications. Once you provide all the details, click on Create button to create the Function.

  1. After creating the Queue Trigger function, let's run the RegisterUser  function to see if the Queue trigger is getting invoked. Open the RegisterUser function in a new tab and test it by clicking on the Run button. In the Logs window of the SendNotifications tab, you should see something as shown as follows:

Once we ensure that the Queue Trigger is working as expected, let's create the SendGrid bindings to send the email.