2 Replies Latest reply on Mar 26, 2018 1:46 PM by Grégoire Michel

    Adding Current Date Time in WebHook to Salesforce

    Ben Neal

      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?

       

      -Ben