Trigger Azure Function based on file type

SOHRAB SHAIKH (EXTERNAL) 41 Reputation points

I created a Azure Function that is triggered when a file ( any file type json, jpeg) is dropped in blob storage.
I like to trigger the the azure function for a specific file type ( json) only
How to do this.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,693 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,084 questions
{count} votes

Accepted answer
  1. Bruno Lucas 4,396 Reputation points MVP


    as specified here:

    you can specify the path in here:

    whenever I upload a file to my container called "documents", only files with extension "json" will trigger the azure function


    This post expands on alternatives

    Case that information helps, don't forget to vote or mark as Answer to help the community. Cheers!

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful