This Azure tutorial will discuss Azure Function triggers and how to trigger Azure Functions, Azure Function multiple triggers, etc.
Azure Function Triggers
Different types of triggers provided by Azure can be used for your Azure Function. Below are the Azure function trigger types.
- HTTP Trigger: HTTP Trigger is one of the Basic And simple triggers you can use for your Azure Function. In case the HTTP requests come, this trigger gets fired.
- Queue Trigger: This is another category of trigger you can use for your Azure Function. This trigger gets fired if any new message comes in an Azure Storage queue.
- TimerTrigger: If you want your Azure Function to execute in a specified time, you can use the Timmer Trigger for your Azure Function.
- Service Bus Trigger: Service Bust Trigger gets fired if a new message comes from a service bus queue.
- Azure Event Hub Trigger: Event Hub Trigger gets fired if any events are delivered to the Azure event hub. This trigger is used basically for workflow processing, user experience, etc.
- Generic Webhook: This is another category of trigger that gets fired for HTTP requests from any service that supports Webhooks.
- GitHub WebHook: Git Hub Webhook trigger gets fired in case any of the events like Branch created, delete branch, Comment on Commit, etc, occurs in your GitHub repositories.
- Azure Cosmos DB trigger: This is another type of trigger that gets triggered whenever documents get a change in the Document collection.
- Azure Event Grip Trigger: This trigger gets triggered whenever the event grid receives a new event.
So, these are the key triggers available for your Azure Function and can be used based on your business needs.
How To Trigger Azure Functions
As we have already discussed, Trigger plays a vital role in the case of Azure Functions. The trigger is the one that invokes the Azure Functions; in other words, the Azure Functions triggers are responsible for starting the Azure Function. You can also trigger Azure function manually.

Note: One Azure function can have only one trigger. An Azure function cannot have more than one trigger.
Create a simple scheduled trigger in Azure Portal
Well, here we will discuss How to create a simple scheduled trigger in the Azure Portal. Suppose you will consider a scenario to display a “Welcome” on the computer screen every 5 minutes. Then, in that case, you can create a timer trigger and set the value for the CORN expression so that the Azure Function will execute at each 5-minute interval.
Follow the below steps for creating a simple scheduled trigger Azure Function in Azure Portal.
Azure Function Timer Trigger
- Log in to the Azure Portal (https://portal.azure.com/)
- Search for the Function App and click on the search result.

3. Now, click on the + Add button to create a function App.

4. On the next window, select your correct Subscription. Choose a Resource group, or if you don’t have any existing Resource group, you can create a new one by clicking the Create new link, Providing a unique name for the Azure Function App, Choosing the code as the Publish option, Choosing the .NET Core as the Runtime stack option, You can choose the version option as 3.1 and finally, choose the region for the Function App and then click on the Next: Hosting > button to go to the Hosting tab.

5. On the Hosting tab, you need to provide an existing storage account; if you don’t have any, you can click the Create a new link to create a new one. If you don’t do anything, it will create a new storage account for you. Now, the next thing is to select the Operating system. The default option is Windows, and choose the plan type. Here, the default option is consumption (serverless).

Keep the other tab values as it is. Now click on the Review + Create button. Now, it will validate all the values entered and show you the summary Details. Finally, click the Create button to create the Azure Function App in the same window.
Now, you can see it is showing us Your deployment is complete, and you can click on the Go to resource button to navigate to the Function App you have created just now.

Now, we will have to add a trigger. To add the trigger, we need to create an Azure Function. Click on the Functions link from the left navigation and then click the + Add button on the Function app page, as highlighted below.

On the New Function window, select the template as Timer trigger, as shown below.