- Post FS Invite and MN review
- Training plan from now till Ohio
Process Builder allows you to easily automate business processes without any code, using a graphical interface to build processes. However, it is limited to actions within Salesforce. To communicate with external web services, you will have to use more advanced features like an Apex code. This document shows you how to create an Apex class to communicate with a Workato Callable Recipe.
We will not go into too much details about Apex. However, here are a few things you need to be aware of.
- Uses HttpRequest class to communicate with Workato Callable recipes exposed as REST endpoints.
- To expose an Apex class method to Process Builder, you must annotate each one with
@InvocableMethod
.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
title: 'Neto', | |
connection: { | |
fields: [ | |
{ | |
name: 'domain', | |
control_type: 'subdomain', | |
url: '.neto.com.au', | |
optional: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
connection: { | |
fields: [ | |
{ | |
name: 'api_key', | |
optional: false, | |
hint: 'Profile (top right) > Settings > Your API Keys' | |
} | |
], | |
authorization: { |