Difference between revisions of "Automation Quickstart"
m |
m |
||
(9 intermediate revisions by the same user not shown) | |||
Line 60: | Line 60: | ||
===Automatically Print pickPack PDFs=== | ===Automatically Print pickPack PDFs=== | ||
− | + | The basic idea to to auto-email [https://zapier.com Zapier] or [https://ifttt.com IFTTT] your pickPack PDFs (eg. Zebra shipping labels). | |
− | The basic idea to to auto-email Zapier your pickPack PDFs (eg. Zebra shipping labels). | ||
Zapier then copies that attached file to a specific folder in your Dropbox account. | Zapier then copies that attached file to a specific folder in your Dropbox account. | ||
Line 73: | Line 72: | ||
Once Dropbox copied the file in, your local app spots it and runs, thereby printing the file and moving it to the "Printed" folder. | Once Dropbox copied the file in, your local app spots it and runs, thereby printing the file and moving it to the "Printed" folder. | ||
− | |||
− | |||
− | # Create a [https://dropbox.com | + | ====IFTTT Setup Process==== |
− | #:''Remember that this account is going to be used on the staff-accessible machine attached to the printer - you might want to create a new Dropbox account | + | The easiest setup process is usually : |
+ | |||
+ | # Create a [https://dropbox.com Dropbox] account if you don't have one | ||
+ | #:''Remember that this account is going to be used on the staff-accessible machine attached to the printer - you might want to create a new Dropbox account instead of your usual business account'' | ||
# Create 2 folders in your account named "To Be Printed" & "Printed" | # Create 2 folders in your account named "To Be Printed" & "Printed" | ||
− | # Create a [https:zapier.com | + | # Create a [https://ifttt.com IFTTT] account |
− | # Add [https://zapier.com/app/editor/19917267/nodes/19917267/action | + | # Save [https://ifttt.com/applets/51250411d-auto-print-pickpack-pdfs this action] to your account |
− | ## Copy the custom email it gives you, to the Automation 'Target Email' field | + | #:[[File:ifttt-stage-1.png|link=|300px]] |
− | ## Set the dropbox part of the Zap to match "To Be Printed" | + | # Enter *trigger@applet.ifttt.com* to the Automation 'Target Email' field |
+ | # Edit the body text transactional email to include #pickpack in the subject or body | ||
+ | # Set the Automation rule to email your intended pickPack PDF (eg. Zebra Labels), and enable it. | ||
+ | |||
+ | |||
+ | ====Zapier Setup Process==== | ||
+ | The easiest setup process is usually : | ||
+ | |||
+ | # Create a [https://dropbox.com Dropbox] account if you don't have one | ||
+ | #:''Remember that this account is going to be used on the staff-accessible machine attached to the printer - you might want to create a new Dropbox account instead of your usual business account'' | ||
+ | # Create 2 folders in your account named "To Be Printed" & "Printed" | ||
+ | # Create a [https://zapier.com Zapier] account | ||
+ | # Add [https://zapier.com/app/editor/19917267/nodes/19917267/action this action] to your account | ||
+ | #:[[File:zapier-stage-1.png|link=|300px]] | ||
+ | # Copy the custom email it gives you, to the Automation 'Target Email' field | ||
+ | #:[[File:zapier-stage-2.png|link=|300px]] | ||
+ | #:''Here it'd be dropbox.dzesft@zapiermail.com''' but your email will be different'' | ||
+ | # Work through the Zapier tests that your email address is working | ||
+ | # Set the dropbox part of the Zap to match "To Be Printed" | ||
+ | # Set the Automation rule to email your intended pickPack PDF (eg. Zebra Labels), and enable it. | ||
+ | |||
+ | |||
+ | ====Printing==== | ||
+ | Now you need to set the printing + file moving part on the machine you have attached to your printer. | ||
+ | |||
+ | * With a Mac, fire up Automator. | ||
+ | *: ''Here's [https://moogento.com/sample-data/automate-pickpack-printouts.zip sample Mac Automator template] you can use to get started'' | ||
+ | * With a Windows machine try [https://www.jitbit.com/macro-recorder/automator-for-windows/ JitBit] or equivalent. | ||
+ | |||
+ | Whichever app you use, then set a "folder action" (on the "To Be Printed" folder) to: | ||
+ | |||
+ | # Set the macro as a "Folder action" (ie. changes to the folder you'll save it in, trigger the action) | ||
+ | #:[[File:automator-folder-action|link=|300px]] | ||
+ | # Print all files in that folder | ||
+ | # Then move that file to the 'Printed' folder | ||
+ | |||
+ | Here's roughly what it should look like when setup: | ||
+ | ::[[File:automate-pickpack-printouts|link=|300px]] | ||
+ | |||
+ | |||
+ | ====Testing==== | ||
+ | # Test that you can do a normal print from an actual pickPack PDF, on your target printer, from the target machine | ||
+ | #:''You might need to edit page scale or size'' | ||
+ | # Then copy the file, manually, into the "To Be Printed" folder. | ||
+ | # Your local app should fire up, print it, and move the file. | ||
+ | #: ''If it doesn't, then troubleshoot this section locally before moving on'' | ||
+ | # Send an email, manually, to the target email address, with #pickpack in the subject and body, and attaching your sample PDF. | ||
+ | # Your remote service should fire up, and copy the attached PDF to your dropBox file | ||
+ | #: ''If it doesn't, then troubleshoot this section with your remote service before moving on'' | ||
+ | # In Automation then set the target email to your personal email address, and make a change which should trigger that. | ||
+ | # Automation should then email you the correct PDF. | ||
+ | #: ''If it doesn't, then troubleshoot this section in Automation before moving on'' | ||
+ | # Finally, change the target email to your correct remote service email and enable. | ||
+ | # Make a suitable change to an order which should fire this action, and if all is set correctly then you should be auto-printing pickPack PDFs! | ||
− | |||
==Setup== | ==Setup== | ||
There's actually pretty minimal setup required. | There's actually pretty minimal setup required. | ||
You need a current subscription for Automation to work, and to get the status-change features you also need shipEasy running. If you have pickPack installed, you can also auto-print PDFs and auto-set order status at the time of printing. | You need a current subscription for Automation to work, and to get the status-change features you also need shipEasy running. If you have pickPack installed, you can also auto-print PDFs and auto-set order status at the time of printing. |
Latest revision as of 15:07, 17 March 2017
Contents
Aims & Preparation
Most of this is included if you get the Installation & Setup Service
Follow the Easy Install Guide to get Automation up and running.
Make sure you have your Magento Cron running - Automation uses it to index your sales for display.
We're going to have a look at the core Automation functions, and how to customise them for your store.
Features
Save yourself time and money by automating time-sapping actions in Magento. Reduce errors, cut training time and staffing needs, and increase your team's efficiency.
Automatically Change Status
Eg. Here we've set it to:
- run at 5pm
- only look at orders that are status:Shipped + shipEasy-flag-printed:Printed
- change matching orders to Status:Complete
At Specific Times
Set the hour you'd like Automation to run. Eg. at the end of the day Automation can change status from Shipped to Archived.
If the hour isn't set then Automation will process that rule every 5 minutes. This can be useful if you want to keep customers totally up-to-date with order statuses.
Based On Order Status
Just set the 'Trigger Order Status' - Automation will only look at orders with this status.
Based On shipEasy Flag
If you'd like to also filter by specific shipEasy custom flag, you can also do that. Just set which of the 3 custom flag columns you'd like to look at, and the specific value you want to trigger on. Automation will then only process orders with the status selected above, and the shipEasy flag set here.
Automatically Process Orders
Eg. Here we've set it to:
- run weekdays, at 7am, midday, and 7pm
- import the csv from the server via a specific path
- use a comma as the separating character
- with imported orders, Invoice if not already Invoiced; Ship if not already Shipped
- Send the appropriate transactional emails to the customers
- email any errors to dev@example.com
Via CSV Upload
This uploads a csv file of order ids, and connects with shipEasy to process them. It uses the same settings that have been set for 'CSV Upload' in shipEasy.
You can specify days of the week to run each action, and also which hour(s) on those days.
Eg. if you courier gives you a csv of order ids and tracking numbers at the end of the day, this can auto-import that, change the order status of each order (eg. to 'Shipped'), add the tracking number, and send the notification email.
Automatically Print pickPack PDFs
The basic idea to to auto-email Zapier or IFTTT your pickPack PDFs (eg. Zebra shipping labels).
Zapier then copies that attached file to a specific folder in your Dropbox account.
You have a computer attached to your desired target printer, with Dropbox running.
Dropbox see the new file, and downloads it.
You set a local folder automated action (on a Mac with the built-in app called 'Automator') to print any file in that folder, and to then move that file to the "Printed Folder".
Once Dropbox copied the file in, your local app spots it and runs, thereby printing the file and moving it to the "Printed" folder.
IFTTT Setup Process
The easiest setup process is usually :
- Create a Dropbox account if you don't have one
- Remember that this account is going to be used on the staff-accessible machine attached to the printer - you might want to create a new Dropbox account instead of your usual business account
- Create 2 folders in your account named "To Be Printed" & "Printed"
- Create a IFTTT account
- Save this action to your account
- Enter *trigger@applet.ifttt.com* to the Automation 'Target Email' field
- Edit the body text transactional email to include #pickpack in the subject or body
- Set the Automation rule to email your intended pickPack PDF (eg. Zebra Labels), and enable it.
Zapier Setup Process
The easiest setup process is usually :
- Create a Dropbox account if you don't have one
- Remember that this account is going to be used on the staff-accessible machine attached to the printer - you might want to create a new Dropbox account instead of your usual business account
- Create 2 folders in your account named "To Be Printed" & "Printed"
- Create a Zapier account
- Add this action to your account
- Copy the custom email it gives you, to the Automation 'Target Email' field
- Here it'd be dropbox.dzesft@zapiermail.com but your email will be different
- Work through the Zapier tests that your email address is working
- Set the dropbox part of the Zap to match "To Be Printed"
- Set the Automation rule to email your intended pickPack PDF (eg. Zebra Labels), and enable it.
Printing
Now you need to set the printing + file moving part on the machine you have attached to your printer.
- With a Mac, fire up Automator.
- Here's sample Mac Automator template you can use to get started
- With a Windows machine try JitBit or equivalent.
Whichever app you use, then set a "folder action" (on the "To Be Printed" folder) to:
- Set the macro as a "Folder action" (ie. changes to the folder you'll save it in, trigger the action)
- Print all files in that folder
- Then move that file to the 'Printed' folder
Here's roughly what it should look like when setup:
Testing
- Test that you can do a normal print from an actual pickPack PDF, on your target printer, from the target machine
- You might need to edit page scale or size
- Then copy the file, manually, into the "To Be Printed" folder.
- Your local app should fire up, print it, and move the file.
- If it doesn't, then troubleshoot this section locally before moving on
- Send an email, manually, to the target email address, with #pickpack in the subject and body, and attaching your sample PDF.
- Your remote service should fire up, and copy the attached PDF to your dropBox file
- If it doesn't, then troubleshoot this section with your remote service before moving on
- In Automation then set the target email to your personal email address, and make a change which should trigger that.
- Automation should then email you the correct PDF.
- If it doesn't, then troubleshoot this section in Automation before moving on
- Finally, change the target email to your correct remote service email and enable.
- Make a suitable change to an order which should fire this action, and if all is set correctly then you should be auto-printing pickPack PDFs!
Setup
There's actually pretty minimal setup required.
You need a current subscription for Automation to work, and to get the status-change features you also need shipEasy running. If you have pickPack installed, you can also auto-print PDFs and auto-set order status at the time of printing.