I’m having trouble using one flow as a module in another flow. The request block in the flow that I’m using as a module contains a body that contains the variable {{payload}}. Additionally, the pre-request script in the API request does a few data operations.
Remarkably, when I use it directly, the flow functions properly; but, when I use it as a module, the error is: Failed to parse body.
My object looks like
{
"client_id": 1234,
"hmac": "92c6",
"payload": {
"first_name": "J",
"last_name": "Singh",
"email": "[email protected]",
"date_of_joining": "2024-05-20",
"employee_id": "J-123",
"role_id": "8df05228-b6f2-4fcb-bcef-f4sss4e8bbe",
"phone_number": "+898717171",
"reporting_manager_id": "27c40457-d8ba-4ef9-ssss-c69622229364"
}
}