Skip to main content
Best answer

Why is my Zap only following Path A for both PDF and image receipts?

  • May 17, 2025
  • 5 replies
  • 46 views

Forum|alt.badge.img
  • 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!
     

     

Best answer by Troy Tessalone

@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/

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34072 replies
  • May 18, 2025

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

Forum|alt.badge.img
  • Author
  • Beginner
  • 22 replies
  • May 19, 2025

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?
 

 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34072 replies
  • Answer
  • May 19, 2025

@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/


Forum|alt.badge.img
  • Author
  • Beginner
  • 22 replies
  • May 20, 2025

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


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 3527 replies
  • May 21, 2025

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.