We would like to have a trigger fire off a REST call resource that will send data from within the order to sugarCRM.
So far I have the trigger setup like so:
Event: ‘Order submitted’
Condition: Tree location (where the payment form is)
Action: Send email trigger + call REST resource.
The trigger correctly works when an order is submitted and I can get the users name using %globals_user_attribute_first_name% etc. but how do I get the order details? Main one being the price as we would like to then update a field in sugar with the price paid.
Ive tried using %response_xxx% keywords and %order_summary% etc. but none of them bring back any info.
%asset_name% brings back “Order - xxxx” so its definitely selected the order asset itself.
Any ideas? Perhaps something different to order submitted as the event?
Cheers,
Tim