Skip to main content
  • Hi

    I’ve built a Zap that pulls receipt data then puts it in a Sheet. I created a path step for it: one for PDF receipts and one for images. I originally had a single path with images only, but it didn’t work with PDF files.

    The problem I’m facing is that no matter what I try, the Zap will only follow path A, whether the receipt is a PDF or an image (jpeg, png, etc). I’ve tried:

    - Adding a step to extract the file type
    - Ensuring I’m using new data when testing the flow, and that the same data is being used at the Split Paths stage
    - Using text that “contains” or “exactly matches” the file type.
    - Originally, I tried it without the Extract File Type step
    - I’ve also tried flipping the order of the paths; ie, swapping A and B over

    Here are some screenshots. Whatever I’ve tried, the yellow exclamation mark has remained next to the “Split Into Paths” step, which suggests to me that something’s wrong prior to that. Also, the “Pattern” I used in the Extract File Type step was a suggestion from ChatGPT.

    Any help gratefully received!
     

     

Hi ​@Niels_F 

You probably do NOT need the Formatter step.

Instead, try changing your Filter step conditions to be like this:

  • Filename contains .pdf
  • Filename contains .png
  • Filename contains .jpg

Hi ​@Troy Tessalone 

Thank you for the prompt response. 

I think I’ve made the adjustments you suggested. The PDF path works fine but what happens when I try it with a png or jpg file is that it continues to jump down the PDF path, then says it wouldn’t have succeeded because it’s the wrong file type. Despite that, it still won’t follow the correct (ie, “images”) path, at least in test mode.
Any suggestions, please?
 

 


@Niels_F 

Try turning the Zap ON and testing live.

Then check your Zap Runs history to see the DATA IN/OUT for each step to help you trace and troubleshoot: https://zapier.com/app/history/


@Troy Tessalone , that appears to have worked! Thanks very much


Wow! Thank you for confirming that Troy’s resolution got the Zap running. This will significantly help our Community members to have as a reference for the same issue.