Salesforce
Create records, run queries, and manage objects in Salesforce CRM. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
27 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- Create RecordCreate a record of a given object.
create_record - Run Query (Advanced)Run a salesforce query
run_query - Update RecordUpdates an existing record.
update_record - Add Contact to CampaignAdd a contact to a campaign.
add_contact_to_campaign - Add File to RecordUploads a file and attaches it to an existing record.
add_file_to_record - Add Lead to CampaignAdds an existing lead to an existing campaign.
add_lead_to_campaign - Create Attachment (Legacy)Creates a legacy Attachment record. Salesforce recommends using "Add File to Record" for modern apps.
create_attachment - Create CaseCreates a Case, which represents a customer issue or problem.
create_case - Create ContactCreates a new contact record.
create_contact - Create LeadCreates a new lead.
create_lead - Create NoteCreates a note and attaches it to a record.
create_note - Create OpportunityCreates a new opportunity.
create_opportunity
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Salesforce. To connect it for every project, use Workspace settings, Integrations.
- Sign in to Salesforce
You sign in to Salesforce and approve access. Appbricx keeps the tokens, encrypted, and refreshes them.
apirefresh_token
This uses an OAuth app: the platform's, or your own from the admin panel, and you can bring your own credentials.
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("salesforce", "create_record", { "object": "<object>", "data": {} }); if (!res.success) throw new Error(res.error); ctx.log.info("Salesforce answered", { output: res.output }); }
More in CRM and sales
Salesforce and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.