# Custom flow integration netsuite addresses to shopify addresses: multiple addresses mapping issues

**URL:** https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587
**Category:** Integrator.io
**Tags:** import, netsuite, shopify
**Created:** [October 3, 2025, 6:29am UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587 "2025-10-03T06:29:49Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Giovani\_Marianne](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Giovani\_Marianne](https://connective.celigo.com/u/Giovani_Marianne)
#### Post date: [October 3, 2025, 6:29am UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587/1 "2025-10-03T06:29:49Z")

</div>

Hello Celigo connective team,

Our client is currently having an issue for mapping netsuite company addresses into shopify company addresses. For example, the aim is to get all the netsuite addresses for a specific netsuite company and create it into shopify company with all the addresses related to that company. We manage to create 1 netsuite company into the same shopify company with only 1 address. How to do it for multiple addresses? I am using the template “Shopify B2B Netsuite”. I was modify only the flow “[NetSuite company to Shopify company (Create/Update)](https://eu.integrator.io/integrations/68d513db61ecc2a28854f8b5/flows/sections/665f1815b38abcbd3811c711/flowBuilder/68d5140b61ecc2a288550142)” (to create 1 company) and “[NetSuite locations to Shopify locations (Create/Update)](https://eu.integrator.io/integrations/68d513db61ecc2a28854f8b5/flows/sections/665f1826cb63d4bfc65fedc7/flowBuilder/68d5140b61ecc2a288550145)“ (to add all the addresses). I have modified both the presavePage and the build variables json (response mapping) on both the company flow and location flow. However, on the location flow\> import step “Create location“, i got the following error: Message:  
could not extract id using path: data.companyLocationCreate.companyLocation.id from resource:

```json
{
    "errors": [
        {
            "message": "Field 'companyLocationCreate' is missing required arguments: companyId",
            "locations": [
                {
                    "line": 3,
                    "column": 3
                }
            ],
            "path": [
                "mutation CompanyLocationCreate",
                "companyLocationCreate"
            ],
            "extensions": {
                "code": "missingRequiredArguments",
                "className": "Field",
                "name": "companyLocationCreate",
                "arguments": "companyId"
            }
        }
    ]
}

```

Code: missing\_id

Source: Resource

---

<div class="post-metadata">

### Author: ![ellyxzerdavidjohn12](https://avatars.discourse-cdn.com/v4/letter/e/ac91a4/32.png) [@ellyxzerdavidjohn12](https://connective.celigo.com/u/ellyxzerdavidjohn12)
#### Post date: [October 8, 2025, 10:14pm UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587/2 "2025-10-08T22:14:26Z")

</div>

> [@Giovani\_Marianne](#):
>
> 1 netsuite compa

Hi @Giovani_Marianne,

I’m unaware if this is feasible yet, but I can do a testing on my end. Can you verify if my understanding is correct:

1. You have an existing company on NetSuite with an existing address from Shopify

The goal is to add another Address to the Existing Company record via the NetSuite locations to the Shopify Location flow. Would this be correct? If yes, are you just adding a new location or address on Shopify Company to add the new address on NetSuite?

Thank you!

---

<div class="post-metadata">

### Author: ![Giovani\_Marianne](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Giovani\_Marianne](https://connective.celigo.com/u/Giovani_Marianne)
#### Post date: [October 9, 2025, 4:54am UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587/3 "2025-10-09T04:54:00Z")

</div>

Hello,

Aim: Transferring netsuite multiple addresses into shopify multiple addresses for a specific company.

**Kindly note in netsuite you can specify only one address to be shipping by default and only one address to be billing by default. I am assuming this is why shopify cannot create specific billing addresses.**

Please see specific scenarios below:

netsuite :  
ex. company1  
ex. address1 (default shipping address yes and default billing address yes)  
ex. address2 ( no default shipping address yes and no default billing address yes )  
ex. address3 ( no default shipping address yes and no default billing address yes )

ex. address4 ( no default shipping address yes and no default billing address yes )

 ![Screenshot 2025-10-09 084110.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/6/6c930a522c9785a59a11c62b397c0dcea93435fa.png)

Shopify after my customization:  
ex. company1  
ex. location1=address1 \> **default shipping address1 & default billing address1 = OK**  
ex location2=address2 **(shipping2 is populated correctly but billing address is the default billing address in address1)**  
ex location3=address3 **(shipping3 is populated correctly but billing address is the default billing address in address1)**

ex location4=address4 **(shipping4 is populated correctly but billing address is the default billing address in address1)**

 ![Screenshot 2025-10-09 084223.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/9/9ff55661bc14dbc42d06d9036a727d72ba8082c3.png)

My questions:

1. For different shipping and billing address to be created in shopify should we customize the address form and add new boolean fields ex. default billing and default shipping, so that we can specify this information to celigo so that celigo knows which is shipping and which is billing address?
2. Is it much easier to create a custom record that holds specific billing and shipping etc. But on a custom record we do not have the standard subtab, fields **etail. So, it might be more complex to achieve.**

> ![Screenshot 2025-10-09 084830.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/b/b6dd72617ce3f0f5ea0841dff2be5625cf07be5f.png)

To summarize the aim:

- For 1 specific company with multiple address shipping and billing in netsuite\> create the same in shopify 1 company with multiple shipping and billing address.

Thankin you in advance for your help.

---

<div class="post-metadata">

### Author: ![Giovani\_Marianne](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Giovani\_Marianne](https://connective.celigo.com/u/Giovani_Marianne)
#### Post date: [October 9, 2025, 8:58pm UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587/4 "2025-10-09T20:58:23Z")

</div>

Hello,

Just for your information. We should use the custom record "localisation horizon" instead of customer table. This is a must for the client following a meeting with them yesterday. So, i am using the custom record. I manage to create the company and store the gid also. Now, what i am trying to do is creating multiple addresses into shopify for a specific company:

 ![image.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/7/7883add5fb086701ae3c1e3fec7673fd0a7d03fd.png)

Also, the result is wrong because there should be only one company with different addresses:

 ![Screenshot 2025-10-09 144638.png](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/b/b0fec5f07894028fe2db95b34313b1b8ed70d3f2.png)

This also I am trying to correct.

If you have any guidelines on these two issues please let me know. Also, i want the verification to be done on the field "Company", I want to use it to determine whether a company should be created or updated as well creating multiple addresses. For creating multiple addresses I am currently using and modifying the flow locations provided by the template Shopify B2B.

Thanking you in advance.

---

<div class="post-metadata">

### Author: ![mengdionisio](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/mengdionisio/32/7648_2.png) [@mengdionisio](https://connective.celigo.com/u/mengdionisio)
#### Post date: [October 24, 2025, 3:10pm UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587/5 "2025-10-24T15:10:46Z")

</div>

Hi @Giovani_Marianne! Do you still need assistance on this issue? I checked our support tickets and found a similar issue that you raised and was resolved by you adding a script, but the records you mentioned from here are quite different. I just want to confirm if that resolved this issue as well. Thanks!

---

<div class="post-metadata">

### Author: ![Giovani\_Marianne](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Giovani\_Marianne](https://connective.celigo.com/u/Giovani_Marianne)
#### Post date: [October 27, 2025, 4:44am UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587/6 "2025-10-27T04:44:57Z")

</div>

Hello Meng,

I managed to solve the issue. However, I would need more guidance on the following:

- I already have a custom flow working perfectly for scheduling but the client needs it to be real-time instead of schedule.
- So how to convert the custom flow from schedule to real-time, how easy it is? How much time it might take? Because I am still investigating how to convert a schedule flow to a real-time flow.
- I urgently need assistance on that point.

Thank you in advance.

---

<div class="post-metadata">

### Author: ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)
#### Post date: [October 27, 2025, 11:25pm UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587/8 "2025-10-27T23:25:56Z")

</div>

Pretty easy, just add a new export where you listen for real time events as opposed to the scheduling of a saved search or api call. You'll need to remap your data to the new data structure if it's any different or you can add a transform on the listener export to match the same format you previously had.

---

<div class="post-metadata">

### Author: ![Giovani\_Marianne](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@Giovani\_Marianne](https://connective.celigo.com/u/Giovani_Marianne)
#### Post date: [October 28, 2025, 3:46am UTC](https://connective.celigo.com/t/custom-flow-integration-netsuite-addresses-to-shopify-addresses-multiple-addresses-mapping-issues/5587/10 "2025-10-28T03:46:15Z")

</div>

Hello Tyler,

Ok noted. Thank you. I will try and get back to you if I need more details.
