How can I retrieve the invoice URL from the Pleo "New Expense" Trigger in Zapier?
Problem Description:
I am currently facing an issue with the Pleo app integration on Zapier. When I use the "New Expense" trigger, I am unable to obtain the URL of the receipt associated with the expense. However, if I use the "New Receipt" trigger, I can successfully retrieve the receipt URL. The challenge I face with the "New Receipt" trigger is that it requires a specific Pleo Expense ID, which limits its usefulness in my workflow.
My Goals:
Whenever a new expense is created, I want to transfer the expense data to Notion and save the associated receipt to Google Drive. Additionally, I will paste the receipt URL onto the corresponding entry in Notion.
Whenever an expense is updated and a receipt is added, I want the updated receipt information to be reflected in Drive and Notion as well.
I would greatly appreciate any assistance or guidance on how to overcome this issue and achieve my goals effectively. Thank you in advance for your support!
Page 1 / 1
Hi @digidockaurora
Good question.
Can you provide an example of the desired link you are looking to use?
Perhaps there is a the Receipt ID.
If so, then you can use a combo of static values and dynamic values to create the Receipt URL.
e.g. https://pleo.io?id==RECEIPT ID]
Hey @troy, thank you for your assistance!
I have attempted to utilize a combination of static and dynamic values to create the Receipt URL, but it seems that it may not work due to the presence of an AccessKeyId and token in the URL. Here's an example URL (with altered characters for security):
My guess is that there may be a simpler solution. When I use the "New Receipt" trigger instead of the "New Expense" trigger, it retrieves the receipt ID directly (as shown in the screenshot).
I would greatly appreciate your thoughts and suggestions regarding this matter.
Thank you again for your help!
@digidockaurora
That Receipt URL looks to be a file hosted on Amazon AWS by Pleo.
What data points are returned for the trigger: Pleo - New Expense