Back to blog
Article

Get Japanese Address from post code using Zoho Creator Deluge

Zoho Creator Deluge The Requirement Input 7 digit Japanese postal code (###-####) and get the address. Language Usede Address from post code using Zoho CreatoLanguage Used Zoho Creator Deluge Data Source...

AorBorC field note / Last reviewed July 9, 2026

1m
Read time
Feb
Published
Get Japanese Address from post code using Zoho Creator Deluge

Zoho Creator Deluge

The Requirement

Input 7 digit Japanese postal code (###-####) and get the address.

Language Usede Address from post code using Zoho CreatoLanguage Used

Zoho Creator Deluge

Data Source https://github.com/aorborc/

Deluge Code

Below is the function that takes 7 digits postal code as two inputs (first 3 digits and second 4 digits) and returns an address.

map postal.get_address(string first_three, string second_four)
{
this_address = map();
first_three_len = ifnull(input.first_three,"").length();
second_four_len = ifnull(input.second_four,"").length();
if ((first_three_len == 3) && (second_four_len == 4))
{
postal_code = input.first_three + input.second_four;
data_url = "https://raw.githubusercontent.com/aorborc/jp_code_english/0804e74d63ec902eccfcf847ea49a0a6a7488d16/data/" + input.first_three + ".js";
str = getUrl(data_url);
value_map = str.toMap();
my_map = (value_map.get(postal_code)).toMap();
jp_address = ((my_map.get("perfecture_jp")) + my_map.get("jp_add_1")) + my_map.get("jp_add_2");
eng_address = ((my_map.get("prefecture")) +" " + my_map.get("city")) + " " + my_map.get("town");
this_address.put("jp_address", jp_address);
this_address.put("eng_address", eng_address);
}
return this_address;
}

Next step

Need help mapping this workflow?

Start with the workflow, roles, decisions, and system handoffs. AorBorC can map the operating problem, identify the right build path, and define a practical first phase before your team commits to implementation.

Related Articles

February 12, 2021

US address verifier using usps API

US address verifier using usps API We came across a requirement where one of our customers wanted to verify the address entered. It took a while to get the right API method that would work. Fortunately, USPS offers a...

Read article

February 12, 2021

How to fix Zoho Creator URL parameters?

Zoho Creator URL parameters fix The Problem If you are opening a Zoho Creator Form from a third party, and it includes the query string as “?first-name=Rob”, there is no direct way to get the value of “first-name”...

Read article