Skip to main content

Hi everyone,

I have a Zap that triggers when a new customer is created in Shopify. The flow is as follows:

1. Trigger: New Customer in Shopify


2. Code by Zapier: Runs JavaScript to fetch metafields


3. Zoho CRM: Create Module Entry (Deals)


4. Zoho CRM: Additional Create Module Entry steps

The problem is:

If I remove the Code by Zapier step, the Zoho CRM steps execute correctly.

But if I include the Code by Zapier step (which fetches metafields), then the Zap stops processing after this step, and the Zoho CRM steps never execute.


What I’ve Checked So Far:

The Code step doesn't show any obvious errors.

The JavaScript returns a value (I confirmed via logs).

If the Code step is skipped, everything works fine.
 

Sometimes there are issues with the execution time of “Code by Zapier” (Limited to maybe 2 mins) as well as the response time for the request (30s maybe). You can re-check how much time the script takes to run to get the results and if it is taking more than the allowed time then you can divide it into two steps.

When testing manually this does not cause issues but when the zap is turned on it does not provide the desired result.


Hi everyone,

I have a Zap that triggers when a new customer is created in Shopify. The flow is as follows:

1. Trigger: New Customer in Shopify


2. Code by Zapier: Runs JavaScript to fetch metafields


3. Zoho CRM: Create Module Entry (Deals)


4. Zoho CRM: Additional Create Module Entry steps for espaço invisível grande

The problem is:

If I remove the Code by Zapier step, the Zoho CRM steps execute correctly.

But if I include the Code by Zapier step (which fetches metafields), then the Zap stops processing after this step, and the Zoho CRM steps never execute.


What I’ve Checked So Far:

The Code step doesn't show any obvious errors.

The JavaScript returns a value (I confirmed via logs).

If the Code step is skipped, everything works fine.
 

If your Zap stops after the Code by Zapier step, even though it shows no error and logs a return value, the issue is likely in how that return is structured. Zapier expects a plain object with key-value pairs it can use in the next steps. If you're returning something like an array or an undefined value, the flow may silently break. Even though the Code step seems fine, it might be returning data in a format that Zoho CRM can't read or map, which stops the Zap from continuing. Try returning a simple object like { key: 'value' } just to test if the Zap flows through. If that works, gradually reintroduce your actual logic to find where it breaks.


Reply