I’m having trouble with my Zapier automation. I’ve got two zaps that work fine separately but when I try to combine them, I’m getting unexpected results.
Here’s what I’m trying to do:
Trigger: Cognito Form (with repeating sections)
JavaScript: Create arrays from form fields
Action: Create ZOHO CRM Tasks
When I combine the zaps, the tasks are being duplicated. I’ve tried rearranging the steps and even merging the JavaScript code, but I’m still not getting it right.
I’ve encountered similar issues when combining Zaps, especially with repeating sections. The problem likely stems from how Zapier handles the data flow between steps. To prevent double iterations, you might want to consider using a single JavaScript step to process all your data at once, rather than separate steps for each prefix.
Try modifying your code to handle both prefixes in one go:
I’ve been in your shoes, struggling with Zapier automations and unexpected duplications. Here’s what worked for me:
Instead of combining separate zaps, try creating a single zap with multiple actions. This approach helped me avoid double triggers and redundant processing.
For your JavaScript code, consider using a more robust method to handle the data. I found that using Object.entries() and reduce() gave me better control:
hey there, i had a similar issue with my zaps. have you tried using a single javascript step instead of combining multiple ones? that might help avoid the duplication problem. also, make sure you’re not accidentally triggering the zap twice somehow. double-check your trigger settings and see if theres any overlap there. good luck!