How to call API Based on condition

I should call the API based on condition. we will be getting the tag data from edge device when Tag1 value changes the API should send the data .I am not getting how to configure this problem could u please help me out ..``[
"id": "f6d67796e561161d",
"type": "function",
"z": "1934b69fd66fe8ff",
"name": "",
"func": "msg.payload=msg.payload.ignitionResult.values[0]\nreturn msg;",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": ,
"x": 720,
"y": 60,
"wires": [

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.