Hello, I hope someone can help me out I am in a bit of a jam here! I got oauth 2 working and I have made a few API calls which has been fun, but I can’t get the data to format correctly with the output fields. You see I am doing trying to create an action search that does a batch GET request to grab all the user account Ids and 6 other items of account data points per user. The info I need from each is account ID, first name, last name, email, phone number and the extension ID, which I get in the response nice and separated by user. When I go to create a zap all the first name data that came in from the GET request are under one outputfield and the pattern is the same for all the other data points. I had come up with a solution for how to parse it after the fact, but the plan quickly fell apart as users who have more than one phone number per account threw all the parsing I built off. I switched over to code mode on the GET request to see if I could parse the data before it is returned, but I am a python programmer not a javascript one so I am out of my element. Would it be possible to make this into a nested array so that each data point has all the user data contained to its own output field? That way I can parse that data in a later code zap that I can write quickly in python.
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.