I have Issues with Custom Connectors and Trigger Configuration

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.

@Maite_Escalada

So basically how the triggers work in connector is that a call is posted to the server for every time interval and difference is data is checked and if there is the trigger works and a pre req for this to happen is that you need to have a date parameter which talks about the item time of type date …which is missing in your prameters or it might not be present in your response itself…please check the link for a sample as well

Cheers