This example highlights a few pieces of functionality: fetching products from a Shopify store, filtering for those without images or descriptions, turning those products into task lists, and automatically emailing the employees responsible for those areas. Don't use Shopify? No problem, we connect to the storefront of your choosing.
Parabola's generic API Import step makes it easy to pull in data from practically any web service. Connecting to Shopify is no different.
You'll want to drag out a new API Import step. Select 'Username & Password' from the authentication menu and supply your account id and password. Next, configure the url like so:
Next we want to trim the list to only those products that are missing images and tags. To do this, we use the Row Filter, and specify which fields should be blank. Note that this will not work if all products are missing these fields, so hopefully at least some products have images and tags!
In this example we want to divide the tasks into two groups: products that are missing images and products that are missing tags. To accomplish this we can use the If/Else step. This step creates a new column and fills in its value according to a set of rules you specify - it's pretty powerful!
In this case we will use two If/Else step, one for each of the tasks that needs to be partitioned out.
Next we want to partition the tasks based on what kind of work they need to have done. The idea is that we're going to send two emails: one email to employee A with all the products that need photos, and one email to employee B with all the products that need tags. If a product needs both photos and tags it'll appear in both emails.
To do this, we'll use two row filters that are each checking for different things. One will check if 'Needs Photo' is true, while the other will check if 'Needs Tags' is true.
You'll see that the Parabola flow splits at this stage — cool, right? You can split your Parabola flow into as many branches as you need, as many times as you need to do so. The world is your oyster!
Whew, we're almost done. The last step here is to send these tasks along to your loyal employees for processing. We can do that using the Email Attachment step. This step sends an email to the folks you specify containing a CSV attachment with the contents shown in Parabola.
For this example, you'll need to specify recipients in both attachment steps (don't worry – they can be the same person) who are to receive the list of products that need work.
When the flow runs, the email address specified in the 'Email Tags' step will receive an email full of products that need tags added, while the address specified in the 'Email Tasks' step will receive a bundle of joy in the form of products that need images added.