About Zapier Community New to our Community? Get to know more about our space and how to make the most of your time here.
Get Started With Zapier New to Zapier? We have got you covered with our Zapier 101 Resources.
Get Support Have a question? Let's get you an answer!
Other Help Resources Wait, there's more! Check out these Community sourced spaces for additional resources.
Zapier Products Learn more about Zapier's new products.
Zapier Reading All of our best learning resources can be found here.
Learning Groups Excited to meet other builders? Check out our interest areas full of doers, dreamers, and in-betweeners.
Other Learning Resources Some of our favorite additional ways to upskill your Zapier knowledge.
Product Updates Check out what is new and upcoming with Zapier with our regular product updates.
Early Access Program Want to join Early Access? Learn more here.
@MikeW I ran a test this morning on my Quickbooks account here is the payment set up that resulted in a paid invoice after successfully running the a test:Customer Ref Value was pulled from the invoice creation in the step above.If you leave out the Line amount Under line items the payment gets created and references the invoice but does not get applied. To apply the payment to the invoice you need a value in Line Amount.You should also be able to remove your delay step. The invoice exists once the invoice number is returned to Zapier.For Clarity the custom value in "Line Linked Invoice" is this:
Here is the basics of how I run a looped trigger that will perform multiple tasks and act as path filters. I use this pattern for a lot of different use cases so I tried to keep this at a high level overview. The code steps can be modified to achieve what ever you want. The keys to successfully make it work are sending the JSON object wrapped in array for formatting and set-up logic for the zaps to loop until finished. From a task perspective you will use an additional 3 tasks per loop over the building something using strict paths but you will gain ease of modification and maintenance. Looping Data.pdf The two code steps are as follows: Code Step (1): /**Initial Code step builds the data object * Validates and augments any incoming data * Returns an obj for looping if applicable, the obj length, and an output for any formatted data */ var data = inputData.datasplit('~'), //Assumes data comes in on one line with data points seperated by '~' obj = { valueOne: data[0], }, output = {},
I use this a lot to ignore the middle values. It controls for no data being passed and if only a first name is given you end up with the first name in both fields.var name = inputData.name ? inputData.namesplit(' ') : '', length = inputData.name.length; obj = { firstName : '', lastName : '', }; if(length > 0){ obj.firstName = name[0]; obj.lastName = name[length-1];}return obj;
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.