AnsweredAssumed Answered

Adding Current Date Time in WebHook to Salesforce

Question asked by Ben Neal on Mar 22, 2018
Latest reply on Mar 22, 2018 by Grégoire Michel

I'm building a custom integration from Marketo to Salesforce using WebHooks and I'd like to populate a Salesforce field with the date or datetime that the WebHook is executed. I see that there is a system datetime token {{system.dateTime}} but that format is "yyyy-MM-dd hh:mm:ss" and Salesforce requires that datetime fields be formatted in ISO 8601 (yyyy-MM-ddThh:mm:ssZ) which Marketo doesn't seem to support.


Is there any work around here? Can I change the datetime format of the current datetime either before or during the execution of the Marketo WebHook?