This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Create Trello card via email when a Google form is submitted | |
| // | |
| // Setup: | |
| // - Create a Google form with three response items | |
| // - Go to More - Script Editor and paste this Gist into the editor | |
| // - Change emailTrello to the email address of the Trello board | |
| // - Tag relevant users in the subject line | |
| // - Go to Edit - Currrent project's triggers and add a trigger that links the script to the form | |
| var emailTrello = '...c@boards.trello.com'. // email address of the Trello board |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * goes in theme functions.php or a custom plugin | |
| * | |
| * Subject filters: | |
| * woocommerce_email_subject_new_order | |
| * woocommerce_email_subject_customer_processing_order | |
| * woocommerce_email_subject_customer_completed_order | |
| * woocommerce_email_subject_customer_invoice | |
| * woocommerce_email_subject_customer_note | |
| * woocommerce_email_subject_low_stock |