OL Learn

Salesforce integration

Hello,

An end user is asking two questions regarding PlanetPress and their Salesforce system:

  1. Could we integrate PlanetPress’ HTTP input to work with a button they’ve programmed in a Salesforce page to receive JSON? If so, how?
  2. Can the HTTP request include parameters in the body of the post and not just the header?

thank you!

Our fellow Philippe that usually answers this kind of question is currently on vacation, so I’ll take a swing at it. Just don’t expect the same level of friendly, thorough and insightful answer. :wink:

  1. Yes, by using a POST request and providing the JSON data as the body of the request. This might require some JavaScript programming on the Salesforce side, possibly client-side (i.e. the script executes from the context of the web browser).

  2. Absolutely. By default, Workflow will loop through the attachments, where each attachment becomes a distinct input file. This can be configured at the task level with the Loop through each attachment as a data file and Discard XML envelope options. Please refer to the documentation for their exact usage, or experiment with them to fine tune the behavior.

Lou,

If you know how to get in touch with our old friend Danny, he’s done something similar with Salesforce and Connect. He may be willing to share some insight.

If you need his contact info, send me an email.

Great information thank you! Phil, I don’t know why I didn’t think of it! I do have his contact info so I’ll reach out. Thanks!