I am having a problem with “Get contact” module connected to XERO it keeps asking me for the Contact UUiD which is a 16 digit code. the problem is how to search the XERO API using the contact name ( in this case a supplier) to source the UUID so that I use it in the Cet contact module to create a purchase order. The workflow is processing a supplier quote and turning it into purchase order and then emailed to the supplier. I guess I have to create a HTTP request to XERO API but how do I search for UUID with only the supplier company name. Can anyone assist me please
1 Like
Hi @david_ward,
Instead of using the Get_Contacts Xero action where ID is configured to be required, use the general “Make an API Call” action (pictured) and hit the /contacts endpoint and include the following query string:
EmailAddress equals where=EmailAddress=“email@example.com”
The endpoint should look something like this:
GET https://api.xero.com/api.xro/2.0/Contacts?where=EmailAddress=“email@example.com”