callas pdfToolbox Compare allows comparing two PDF files in your Switch flow. The app expects a folder containing two PDF files as input and sends output either to the success or error traffic light connection, depending on whether the PDF files are the same or different.
To do the comparison, the app can either look at pixel differences, or at color differences between pixels. The latter method uses a DeltaE algorithm to judge color differences.