Skip to main content

Hi there! I am trying to create a zap that takes email notifications from harvest saying that a certain invoice number did not copy to QuickBooks and then uses the number from the subject line to look up that invoice in harvest. It would then send a PDF of that invoice to our bookkeeper who will update it. I can't seem to make the stop work where the number is extracted from the subject line. Does anyone have any advice?

Email subject is “Sorry, Invoice 5488 failed to copy to QuickBooks”

Hi @StMcGuinn 

Good question.

Here are some options:

  1. Action: Formattter > Text > Split
    1. You will need to use 2 of these steps to split the text before/after in order to isolate
  2. Action: Formatter > Text > Extract Pattern
  3. Action: ChatGPT - Extract Structured Data
  4. Action: Code
    1. Write custom JavaScript
      1.  


Thank you!!!

 


That’s awesome @StMcGuinn! Glad to hear Troy pointed you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗


Reply