Is it possible to save a list using thing IDs directly in Bubble?

Hi everyone!

Is it possible to save a list like this in Bubble using the IDs as references for fields of type “thing”?

I already have the unique IDs of both related things and would like to avoid running searches.

Here’s an example of the JSON structure:

{
  "lote_id": "LOTE_ENTREGAS_20250926",
  "total": 2,
  "transacoes": [
    {
      "indice": 1,
      "transportadora": "TransLog Prime",
      "transportadora_id": "1667126669858x306275593047244800",
      "destino": "Depósito Zona Sul",
      "destino_id": "1601147504193x1147504193"
    },
    {
      "indice": 2,
      "transportadora": "Fênix Logística",
      "transportadora_id": "1667126669858x306275593047244801",
      "destino": "Galpão Norte SP",
      "destino_id": "1601147504193x1147504194"
    }
  ]
}

Well I understand if you have a unique ID this thing already exists or you want to create it anew?

If the first - schedule api workflow on a list of text, and in this workflow create a new thing with forced unique id (this may lead to soeme duplicates).
If the second - follow the same logic but make change to a list of things - and unique id is the thing you wanna change.
I understand you know which thing will come via the external response? It’s not that it can be inside multiple databases?

Thanks! Yes, the IDs already exist in the database.

I’m not trying to create new things with custom IDs — just use those IDs to link existing records (like transportadora and destino) when creating new entries.

Ideally, I want to avoid doing a full “Do a Search for” and instead use something like:

const transporte = context.services.db.transportadora.get("1667126669858x306275593047244800");

Or in backend workflows:

Get thing from ID (type: Transportadora, ID: "1667126669858x306275593047244800")

Do you know if that works cleanly in plugins or backend workflows without issues?

yes, bubble’s whole data structure is based on unique ID’s, so if you have it, you have direct access to the object. in some cases you will need to provide the data type which can be easily handled by using url parameters or Toolbox plug-in expression element in repeating groups