Customization of http notification alert payload

I wish to know is it possible to perform customization of the payload (Json) to be sent to the http endpoint? In the payload I wish to put in meta information that is not part of influx .

if i can send out notification as pub sub it will be great as well.

thanks

Hello @lchunleo,
Are you using http.endpoint() function | Flux 0.x Documentation?
Can you provide an example of what your data looks like and what you’d like to add?
I find the source code helpful:
flux/http.flux at b5d4baadd5c2f2fcd663733cedb9830d5cfd33c7 · influxdata/flux · GitHub
You can take a value from findRecord() and convert it into whatever you want and then pass it into json.encode() .