iRestAdmin
Member
I have an automation that is Triggered when an Order is Fulfilled in Shopify. One step is to grab the Gateway Name (example: ["visa","bogus"]). However there are 2 problems with this field.
1) It presents data with quotes in it, which confuses Pabbly. To fix this, I'm using a text formatter to replace the quotes with {{blank}}. That gives me: [visa,bogus]. Is there a way to format this a bit more so it would say the following? visa, bogus
2) This field only exists when the Order is paid. Since we have some free products, the Gateway does not appear and I end up with an error on the text formatter step: "Warning text has invalid data". I can get past this by marking the step "ignore error". This is working OK so far, but I end up with Partial Errors in my History, which makes it hard to know if there are other problems. Is there another way to deal with fields that sometimes disappear? I'd like to skip that step only if the field is empty. Maybe I could put the field in there and a skip? Example: Payment_Gateway_Names: nodata{{skip}}
1) It presents data with quotes in it, which confuses Pabbly. To fix this, I'm using a text formatter to replace the quotes with {{blank}}. That gives me: [visa,bogus]. Is there a way to format this a bit more so it would say the following? visa, bogus
2) This field only exists when the Order is paid. Since we have some free products, the Gateway does not appear and I end up with an error on the text formatter step: "Warning text has invalid data". I can get past this by marking the step "ignore error". This is working OK so far, but I end up with Partial Errors in my History, which makes it hard to know if there are other problems. Is there another way to deal with fields that sometimes disappear? I'd like to skip that step only if the field is empty. Maybe I could put the field in there and a skip? Example: Payment_Gateway_Names: nodata{{skip}}