Skip to main content

I'm trying to create a custom label from an API return. This return contains a key, the value I'd like as the custom label, and the value I'd like to display. I wanted to map it so that the key would be replaced by the value I would like from the label and also allow repetition of these labels.

In this example I do the raw_answers mapping to passing the question id and the answer value. However, in the view I want to display the question and the answer, and the question can have the same label with different ids.

Hi ​@Michael Ferreira 

Help us have more info by posting screenshots showing how you are trying to use the API response values in following Zap steps.


Good afternoon. I'm in need of a way to dynamically associate an id with a title. Preferably during the api call. When I do the mapping directly by the question, the object ends up overwriting the keys that already exist because of the deduplicate and the attempts to generate an output field directly in performList(api test) or perform did not work. I also tried through the visual Builder but I couldn't find a way to use the return of the api itself to return a label that passes the value of the question.question_title and the answer. An example of an app similar to the one I'd like would be this: 

 


@Michael Ferreira 

Can you post screenshots showing how your Zap steps are outlined so we can better understand how you are trying to use the output the API request in following Zap steps?


Good afternoon. I currently have only one trigger. I would like to just manipulate the output fields if possible by doing a treatment and generating the output at this point, both in the listing test and in the webhook receipt.

At this point I can create a friendly label for sure, but I'd like to do it using the API's own return, remapping the values to generate that output dynamically.