Passing custom variables via Set Participant Data action in Genesys Cloud Architect

We are trying to pass custom variables through an IVR flow using the Set Participant Data action. The goal is to update specific fields for the current interaction. We have configured the action with the correct variable names and values, but the data does not appear in downstream actions. Is there a specific syntax or format required for the JSON payload? Any insights would be appreciated.