> ## Documentation Index
> Fetch the complete documentation index at: https://help.cloudtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce-acties

> Voer workflowacties uit die zijn verbonden met de Salesforce-API.

<Note>
  Hier vindt u een basishandleiding voor het instellen van Salesforce-API-acties binnen workflowautomatiseringen.
</Note>

**Gebruikersniveau**: Admin

***

<h2 id="h_f3bfc9c0d3">
  Salesforce-workflowacties
</h2>

<h3 id="h_4ff5838f99">
  Autorisatie via OAuth
</h3>

CloudTalk ondersteunt de bearer-tokenauthenticatie die nodig is voor Salesforce-API-verzoeken. De OAuth-autorisatie die is ingesteld bij uw eerste integratie-instantie met Salesforce, wordt gebruikt voor alle workflowautomatiseringen waarbij Salesforce betrokken is. Daarom raden wij aan om slechts **één integratie-instantie met Salesforce** te gebruiken als u van plan bent Salesforce-API-acties in te zetten.

<h4 id="h_f60a8150bb">
  Voor workflows
</h4>

1. **U hoeft bij nieuwe configuraties geen sleutels of auth-headers op te nemen**. U hebt alleen uw endpoint, query strings en request body nodig.

2. **U moet workflows beperken tot één Salesforce-integratie.** Alleen automatiseringen van de meest recent aangemaakte integratie-instantie worden uitgevoerd.

3. **Controleer bij zelfgebouwde API-verzoeken de benodigde scopes**. Omdat de autorisatiemethode dezelfde is als bij het opzetten van de integratie, zijn de scopes gelijk aan de scopes van uw Salesforce-integratie. Controleer of de doelentiteit die uw verzoek probeert te benaderen binnen deze scopes valt.

<h3 id="h_47d1accf9f">
  Workflow-automatisering instellen
</h3>

1. Om via het [dashboard](https://dashboard.cloudtalk.io/) een nieuwe workflow in te stellen, gaat u naar **Account >** **Workflowautomatiseringen**.

2. Selecteer **`+ Workflow toevoegen`** en geef uw workflow een naam. **`Bevestigen`**.

   <Frame>
     <img src="https://mintcdn.com/cloudtalk/xe2f6HmqhdjOgyCe/images/help-center/articles/9394264/d4efef319ce5-screenshot-2024-05-30-at-16-21-23.png?fit=max&auto=format&n=xe2f6HmqhdjOgyCe&q=85&s=e1a5ebe475f0864310f76f1e2461fdbe" alt="" width="350" data-path="images/help-center/articles/9394264/d4efef319ce5-screenshot-2024-05-30-at-16-21-23.png" />
   </Frame>

3. Definieer een [trigger](/nl/articles/5648924-triggers) **Object** en **Actie**.

   <Frame>
     <img src="https://mintcdn.com/cloudtalk/xe2f6HmqhdjOgyCe/images/help-center/articles/9394264/e8c1c5854d91-screenshot-2024-05-30-at-16-21-52.png?fit=max&auto=format&n=xe2f6HmqhdjOgyCe&q=85&s=5f77ba66034500080230435d236bb0a1" alt="" width="1528" height="548" data-path="images/help-center/articles/9394264/e8c1c5854d91-screenshot-2024-05-30-at-16-21-52.png" />
   </Frame>

   *Voorbeeld van een trigger*

   1. **Optioneel:** stel een [conditie](/nl/articles/5649346-conditions) in zodat uw automatisering alleen wordt geactiveerd voor oproepen die aan uw criteria voldoen. Wilt u uw trigger op alle oproepen toepassen, verwijder dan de conditiestap.

4. Selecteer voor uw **[Actie](/nl/articles/5649782-actions)** de optie `API-verzoek`. Volg de Salesforce [Actions Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.api_action.meta/api_action/actions_intro_overview.htm) en de secties over *Action Objects* om de waarden en de methode te vinden die u in uw API-verzoek moet invullen.

   <Frame>
     <img src="https://mintcdn.com/cloudtalk/xe2f6HmqhdjOgyCe/images/help-center/articles/9394264/76856260e665-screenshot-2024-05-30-at-16-34-54.png?fit=max&auto=format&n=xe2f6HmqhdjOgyCe&q=85&s=c83b5821be98b238c20bf2e0f3ec6c49" alt="" width="2312" height="1266" data-path="images/help-center/articles/9394264/76856260e665-screenshot-2024-05-30-at-16-34-54.png" />
   </Frame>

   *API-configuratie met een dynamische waarde, uitsluitend als voorbeeld*

   1. Gebruik de juiste tabel om dynamische waarden in te voeren. Klik in een veld en selecteer de gewenste waarde.

5. **`Bevestigen en doorgaan`**.

6. Zet uw workflow met de schuifregelaar op actief en sla uw wijzigingen op met **`Opslaan`**.

   <Frame>
     <img src="https://mintcdn.com/cloudtalk/xe2f6HmqhdjOgyCe/images/help-center/articles/9394264/edab501d5597-screenshot-2024-05-30-at-16-36-38.png?fit=max&auto=format&n=xe2f6HmqhdjOgyCe&q=85&s=f673b36dbc5d6f8840e1b5d9afbec111" alt="" width="1560" height="1290" data-path="images/help-center/articles/9394264/edab501d5597-screenshot-2024-05-30-at-16-36-38.png" />
   </Frame>

***

*Hulp nodig of hebt u een vraag?* Neem gerust contact op via ons [Supportportaal](https://support.cloudtalk.io/hc/en-us/requests/new?ticket_form_id=26305535257884) — wij staan voor u klaar.


## Related topics

- [Workflow automatiseringen configureren](/nl/articles/5450779-configuring-workflow-automations.md)
- [Integratiegids](/nl/articles/10570091-integrations-guide.md)
- [Acties](/nl/articles/5649782-actions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.