Skip to main content
This guide covers using the GBG Loqate Reach and GBG Loqate Verify adapters inside an Oracle Integration flow: adding the action, mapping data into it, and working with what comes back. If you have not installed an adapter and created a connection yet, start with the Integration Guide.

Adding the Verify address action

Both adapters expose a single action, Verify address, and both are invoke only. You call them from inside a flow. Neither adapter can start an integration.
1

Open an integration

Open or create an integration. Any style works, including app driven, scheduled, and event driven.
2

Add the connection

Drag your Loqate connection onto the flow at the point where you want the address verified.
3

Name the endpoint

Give the endpoint a name and click Continue.
4

Select the action

Select the Verify address action and click Continue, then Finish.
5

Map the request

Open the mapper for the new invoke and map your source fields onto the request.

Request

Both adapters accept the same two fields.
Always map country. Neither adapter works it out from the address. Leave it unmapped and GBG Loqate Reach raises a Verification service error (502) fault, while GBG Loqate Verify returns a normal response with an empty verified address, no AVC and no match quality. The Verify case raises no fault, so it is easy to mistake for success.
You do not need to split the address into components before calling. Loqate parses the input itself, so mapping a concatenated address line, or a single free text field captured from a form, works well.

Response: GBG Loqate Reach

Response: GBG Loqate Verify

Verify does not return confidence, recommendation, or match_level. If your flow needs a decision rather than raw codes, use the Reach adapter instead, or derive your own rules from the AVC.

Address components

Both adapters return the same fields object. Loqate fills in components that were missing from the input when the reference data supplies them, so expect fields you did not send. In the example above, the request had no country_name or ZIP+4, but the response has both. A component is returned empty only when it does not apply to that country or the reference data cannot supply it. Neither adapter returns geographic coordinates. If you need latitude and longitude, use the Loqate geocoding services directly. See Address Verify.

Reading the AVC

Every verification returns an Address Verification Code, which is far more informative than a simple pass or fail. The leading letter is the verification status. In V44-I44-P7-100:
  • V is the verification status (Verified).
  • 44 are the post-processed and pre-processed match levels, from 0 for none up to 5 for delivery point. 4 is premise.
  • I44 is the parsing status, followed by the lexicon and context identification match levels.
  • P7 is the postcode status. P7 means the primary postal code was verified and the secondary postal code was added or changed. Here, Loqate verified 94043 and added the ZIP+4 suffix 1351.
  • 100 is the matchscore, from 0 to 100, indicating how much the input had to change. 100 means no changes were needed.
The full breakdown is in the Address Verification Code reference.

Branching on the recommendation

The most common pattern with the Reach adapter is a switch immediately after the invoke, routing on recommendation. Because the thresholds behind these values come from the policy set on the connection, you can make a flow stricter or more forgiving without touching the integration itself. If you need two different levels of strictness in the same instance, create two connections with different policies and use whichever the flow requires.
Write verified_address and the fields components back to the source record, rather than keeping the original input. That is what gives you the standardisation benefit. An address that verifies but is never written back leaves the poor quality data in place.

Error handling

Both adapters convert Loqate service conditions into faults that Oracle Integration can catch, so you can handle them in a scope with a fault handler rather than inspecting response codes yourself.

GBG Loqate Reach

GBG Loqate Verify

The two adapters treat an unverifiable address differently. Verify raises a No match (404) fault, so an address that cannot be verified is an exception your flow must catch. Reach returns a normal response carrying a reject recommendation, so the same address flows through as data rather than as a fault. Design your error handling accordingly: with Reach you branch, with Verify you catch.

Throughput

Each Verify address call verifies one address. To process many addresses in a single integration run, loop over your collection and call the action per record, keeping the usual Oracle Integration considerations in mind for large loops. For bulk cleansing of large datasets, calling the Loqate batch API directly is more efficient than looping inside an integration, since it verifies many addresses per request.

Troubleshooting

Support

For questions about the adapters or the Loqate service, email LoqateSupport@gbgplc.com. Both adapters are published by GB Group plc.