I’m building a Zapier integration through their platform UI and need to implement a dynamic dropdown for one of my triggers. I’ve been struggling with this for a while now and keep running into the same error even when I try to use static data.
I’ve attempted multiple approaches but nothing seems to work. Even when I simplified it to just return hardcoded values, I still get the same error message. Here’s the basic code structure I’m testing with:
let dropdown_result = {};
dropdown_result['success'] = true;
dropdown_result['options'] = ["9876543210", "9876543221", "9876543232", "5551234567"];
dropdown_result['response_id'] = 100;
return [dropdown_result];
I’ve configured the static response in the dropdown settings and set up the output definition, but the dynamic dropdown configuration keeps throwing errors during testing. Has anyone encountered similar issues when setting up dynamic dropdowns in Zapier’s UI? What’s the correct format for the response structure?