Skip to main content
Best answer

How to attach invoices from Xero to Webhooks by Zapier

  • April 15, 2021
  • 2 replies
  • 147 views

Hi there, 

 

Im looking to attach an invoice pdf file to an invoice raised in QuickaPay using Webhooks by Zapier. 

https://in.xero.com/uD1gIMhGkUmhn5T0ZptL3nGZoeUygs3PYMFUXMFY/Invoice/DownloadPdf/f32faa77-a8eb-4307-860f-76e321806faf

 

I understand that the last number is the Invoice ID which i can surface in Zapier, however i cant seem to work out how to surface the first ID in that url.

 

uD1gIMhGkUmhn5T0ZptL3nGZoeUygs3PYMFUXMFY - Is it possible to pull this ID from Xero into Zapier? 

 

Thanks, 

Jono

Best answer by robschmidt

Hi @Jono Karney

 

There are several ways you can get that value:

 

  1. Using the Formatter Split function: Use ‘/’ as a splitter and then the ID should be always in a certain n-th position
  2. Using RegEx: Using RegEx you can just instruct which part of the URL to get 

 

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

2 replies

robschmidt
Forum|alt.badge.img+9
  • Zapier Solution Partner
  • Answer
  • April 15, 2021

Hi @Jono Karney

 

There are several ways you can get that value:

 

  1. Using the Formatter Split function: Use ‘/’ as a splitter and then the ID should be always in a certain n-th position
  2. Using RegEx: Using RegEx you can just instruct which part of the URL to get 

 


AndrewJDavison
Forum|alt.badge.img+11
  • Zapier Solution Partner
  • June 10, 2021

@Jono Karney 
Just checking in to see if you still need help with this?