Sorry, I meant is the Product ID field’s values when you click on the dropdown for that field populated from the Shopify store by default?
Yeah I think so
You can select from a list of products
That means it’s a special option that pulls data from the connected Shopify account by default, but it looks like it’s been overridden with an JS evaluation instead
Or enter a custom expression
Yes thanks, that could be the issue
I believe that’s the intended behavior, since the references won’t work across different accounts. But I don’t recall if the code accounts for custom expressions
All the expressions I entered in other props came over just fine, it was just that one
I get what you mean about having the two options though, either select from a list that the API returns, or use a custom expression.
Yes correct, it’s hard to describe but that’s what I was aiming for
Thanks for the screenshot, that’s strange.
The {{ trustpilot.business_unit_id }}
shouldn’t resolve to any variable either, it should resolve as the string undefined
Does editing the URL and retesting fix the issue?
Actually, it behaves like this on my original workflow before I copied it.
I’m not sure whether the variable is getting resolved or not. Trustpilot docs say the business unit ID is required, but I’m still actually getting the review invitation through.
How can I include this variable in the URL?
There are a few different ways, I’m not super familiar with the TrustPilot API in particular.
Is one TP account associated with one business? Or do you need to select a specific business in the workflow somewhere?
No, there could be multiple business units under one TP account
And the business unit ID is not a secret, it’s public domain
(They literally include the business unit ID on their HTML review embed widgets as a html parameter)
Ah so they know what it is correct?
Who is they