0

i want to all data pass in payload when data update in direct us.

Example: When i data update any record . i am gettting only that data which is update. but i need to all field. in payload flows .

I need flow in all field . You can see the screenshot of flow. enter image description here

and second screenshot about the payload which i data update.

enter image description here

i have only one field update and that is status. so i am get status field in payload. but i need to all field in payload . because i need id of user so i can send notification send to the user

1 Answers1

0

To achieve this;

  1. Create a new "read data" operation after the trigger setup. Configure this to read data from the updated collection and add this {{$trigger.keys[0]}} under IDs so that it reads the data for the last updated record only.

  2. Create the "update data" operation which will happen if the read data operation is successful. On the payload, use the id for the read data operation as follows.

     {
     "field_a_update": "{{read_data_id.field_a_updated}}",
     "field_b_update": "{{read_data_id.field_b_updated}}"
    

    }