Hello @SatyaD-5902 and thank you for your question. Your ask can be accomplished without using Azure Function.
In the document how-to-create-event-trigger, an example of how to fetch some properties of the trigger is given by
@trigger().outputs.body.folderPath
This is only a subset of what is available. I can see all of what is available by using
@{trigger{}}
Nested inside the trigger, I find the payload you refer to.
Below I show cleaned up output of using @{trigger()}.
{
"name": "Trigger...",
"outputs": {
"headers": {
"Connection": "Keep-Alive",
...
"Content-Type": "application/json; charset=utf-8"
},
"body": {
"event": {
"topic": ...
To make things easier to access, change the parameter type to object. Then when setting up the trigger parameter, pass the section you want to work on like:
@trigger().outputs.body.event)
Then you can take the parameter, and use it in a set variable to get the individual properties, such as the url you mentioned:
@pipeline().parameters.triggerStuff.data.url