Hey guys!
I am creating a Custom Connector to make a GET request to an API. The idea is to use this connector along with a trigger to check if there is data (an array “orders” with data should come). If there is data, the process starts; if not, it doesn’t.
Currently, the API call is made in the Dispatcher and it executes many times unnecessarily. That’s why I was asked to try using connectors. This is my first time using this tool, so I have more doubts than certainties.
The data is configured like this:
The response obtained is something like this:
{
"success": true,
"orders": [
{
"payment_zone_id": 123,
"shipping_code": "ABC"
// ...
}
]
}
If I make the GET request from List Records, I get the data correctly. But when I try to configure a trigger, it gives me an error:
From what I researched, to create a trigger that uses the connector, I first need to configure it within the connector, but I am not able to do it. I couldn’t find relevant information to solve this problem. Could someone help me? I’ve been trying for days and I can’t solve it, I also don’t understand what could be wrong.