Best answer

How to attach invoices from Xero to Webhooks by Zapier

  • 15 April 2021
  • 2 replies
  • 122 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

icon

Best answer by robschmidt 15 April 2021, 09:10

View original

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

Userlevel 7
Badge +9

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 

 

Userlevel 7
Badge +10

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