I'm trying to post text to a bot with the code below (from zCRM). It works fine when using "Save & Execute" but will not run when triggered with a workflow.
Scenario:
User creates a quote and a Bot informs user of the Shipping cost.
Any idea why the code will not run when the custom function is triggered within a workflow rule?