I have been trying to set up an automated process using Zapier that takes specific order information from Printavo, identifies particular order types through a pattern in the naming convention (like "SP-" followed by a number), and then creates individual tasks or items for each distinct order in Monday.com.
Initially, the setup was not capturing individual order identifiers like 'SP-1' from Printavo to create separate tasks in Monday.com. Instead, it was grouping them into a single string, which wasn't the intended outcome. Also, within the Zapier code step, I've faced a 'TypeError' related to the .split() function, indicating trouble parsing the order information. Any ideas on how to resolve these errors and ensure the setup can handle a range of order formats?
Zap Overview:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/b06b4d67-d295-489e-bf6a-ec832ffe6bed.png)
Example of the input data:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/1a94f810-3314-4908-b2a6-9f9607e93a92.png)
The error message:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/5b0fa725-3b06-43ca-a1d5-67a7ad22c501.png)
How code step #5 is set up
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/4a4a7eca-a445-4c40-8a63-b7ccd8b099ed.png)
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/7fce6cd7-e1ce-4f47-8356-e413561b66ae.png)
Looping Step Details:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/9c9c47a1-330d-4e61-a34d-da6dfce7296c.png)
Monday.com Step Details:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/417a8d11-e7aa-4e77-a0fd-9f9b2c085edf.png)
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/c4590222-78f8-4a13-9f6f-e933040e33bc.png)
Example of how the end result looks in Monday.com
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/495bbad2-2d72-408c-9c4e-39a2b706fa25.png)