fetch_location(*address_columns: text|category|number, {
    "param": value,
    ...
}) -> (
	formatted_address: category,
	locality: category,
	area: category,
	state: category,
	country: category,
	lat: number,
	lon: number
)

It is possible to specify a postal code as a standalone column, but this will be interpreted as American without a proper prefix. To use Spanish postal codes indicate this using the “CP” prefix, e.g. “CP 28001”.

???+ info “API integration” To use this step your team needs to have the Google Location integration configured in Graphext. The corresponding credentials are required to connect to a third-party API. You can configure API integrations following the INTEGRATIONS or ADD INTEGRATION link in the top-left corner of your Team’s page, selecting API keys, and then the name of the desired third-party service.

To enable the Google Location integration in particular you will need access to Google’s geocoding service. Follow the instructions here to create the required API key.

fetch_location(*address_columns: text|category|number, {
    "param": value,
    ...
}) -> (
	formatted_address: category,
	locality: category,
	area: category,
	state: category,
	country: category,
	lat: number,
	lon: number
)
integration
string
required

ID of the integration you’d like to use.