We’re rewarding the question askers & reputations are being recalculated! Read more.
4

Better late than never but I recently have webhooks up and running in Salesforce. You effectively need to: Sign the payload received from Xero using HMACSHA256 and using the key provided in the Webhook settings Base64 encode the signed payload Verify that the result from #2 matches what Xero passes in in the x-xero-signature header Here's my sample code: @...


3

You can check Zapier.com this will be to consume Response Salesforce + Webhooks Integrations | Zapier If you use webhooks that capture client contact information, Zapier can automatically add that information to Salesforce for you. Once the webhook is activated, Zapier will automatically extract the necessary information from the webhook and add it to ...


3

The Professional Edition has Process Builder as the only automation tool .The reference for this is below You can spin a sample professional edition to see what you can achieve by simple signup Also on the possibility of what you need is definitely doable .You will need to create a own managed package solution and pass the security review and list on an ...


3

No, the Professional Edition (e.g. Lightning Professional) does not have workflow or automation, so you can't generally set up code to call external systems. I do believe that at one point workflow and automation was available as a paid upgrade for Professional Edition, but I do not see that as an option in the current product comparison chart. You might ...


2

A solution for this has been found. You will want to use Platform.Request.GetPostData() to retrieve the raw POST body content of incoming request.


2

Since the types can be mixed, you need to use either the JSONParser (I would not recommend this) or JSON.deserializeUntyped. Here's the latter method: Map<String, Object> params = (Map<String, Object>)JSON.deserializeUntyped( RestContext.request.requestBody.toString() ); Map<String, Object> traits = (Map<String, Object>)params.get('...


2

You have to set statuscode and response text blob in RestContext.response RestResource(urlMapping='/ShopSf/Odr') global class ShopifyRestClass { @HttpPost global static void setName(){ System.debug('>>>>>>in rest resource'); System.debug('>>>>>>>>>>>>>...


1

Platform events are migrated the same as normal Custom Objects. See Migrate Platform Event Definitions with Metadata API for specific details. Basically, you use the Metadata API, and you retrieve and deploy them the same as other CustomObject metadata objects, which also includes Custom Settings.


1

You can use deserializeUntyped(jsonString) here as below. Refer to the example details on the documentation. Map<String, Object> myMap = (Map<String, Object>) JSON.deserializeUntyped(req.getBody().toString()); Map<String, Object> traitsMap = (Map<String, Object>)myMap.get('traits'); for(Integer i = 1; i < traitsMap.size(); i++) {...


1

This is something I did recently using Angular, so I can answer this. Download Web2LeadForm: It would look something like this. <form action="https://test.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"> <input type=hidden name="oid" value="00DPOQ00008ajh"> <input type=hidden name="retURL" value="http://google.com">...


1

Salesforce Marketing Cloud just started supporting Webhooks with the January 2019 Release using Event Notification Service (ENS) Use the Event Notification Service (ENS) API to receive notifications when certain events occur in Marketing Cloud. You can be notified when customers request password resets, get order confirmations, log in using two-factor ...


1

Not in a simple/OOTB way. If you really need it you would need a couple of work-arounds like for example use the contactevent https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/contactEvents.htm (you can only insert here, not update) api to trigger a journey which has a component to send the message to the required service. If ...


1

We haven't found a way to include a Site in a managed package; the problem may be that the first step in setting up Sites is to choose a domain name that hasn't already been used. So what we have done is include the @RestResource class in the managed package and then provided configuration instructions on how to setup the Site. Not ideal. On the question ...


1

This error happens when the user you are using doesn't have "View All Data" and "View Setup" permissions. Make sure you connect with a user that has those perms.


1

Create Site Url append the /services/apexrest to the site url and create the webhook After place the bellow code in your apex class And call the class from your site url home page @RestResource(urlMapping='/') global class chargebee { @HttpPost global static void doPost() { RestRequest req = RestContext.request; Blob ...


1

sounds like a job for the REST API, have a look here http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_rest_code_sample_basic.htm depending on the complexity of your JSON object you might be able to archive this by passing the values via apex:actionFunction and apex:param have a look here: http://boards....


Only top voted, non community-wiki answers of a minimum length are eligible