Can you automatically run an upload against a set of configurations to fill in missing/null values?

For example, let’s say Sensible processed an uploaded PDF was unable to extract the email address and was using the label method in config A. Set it to run again using config B which utilizes the box method. If there’s a hit, combine jsons to form one complete json. If no hit, continue to work through different methods until eventually getting a hit or relegating to manual review.

(cross posted from Slack by admin)

Yes we have this feature, though it’s not exactly multiple config blending. But I think this gets at what you’re driving at: the ability to have fallback extraction strategies when the main strategy doesn’t work.

For any given field you can specify more than one method to extract it within the config. The mechanism is to just have another entry in the fields array with the same ID. The engine will attempt the first approach (by order of appearance in the array) and if it’s null it will fall back to the 2nd approach, and so forth until it finds data or runs out of options for that ID.

Here’s an example that demonstrates this functionality for the producer email field in an ACORD 25 cert of liability insurance. By the way, we have an open-source library where you can see more examples of configs for extracting from ACORD forms.


    {
      "id": "producerEmail",
      "method": {
        "id": "label",
        "position": "right"
      },
      "anchor": {
        "match": [
          {
            "text": "e-mail",
            "type": "includes"
          },
          {
            "text": "address",
            "type": "includes"
          }
        ]
      }
    },
    {
      "id": "producerEmail",
      "method": {
        "id": "box",
        "position": "right",
        "lineFilters": [
          {
            "type": "startsWith",
            "text": "address"
          }
        ]
      },
      "anchor": {
        "match": {
          "text": "e-mail",
          "type": "includes"
        }
      }
    }

thanks my issue has been fixed.