Salesforce

Create Salesforce Opportunity

The purpose of this example is to create a Salesforce Opportunityarrow-up-right when a Project is requested in AttackForge.

This example Flow can be downloaded from our Flows GitHub Repositoryarrow-up-right and imported into your AttackForge.

Initial Set Up

Action 1 - Get Salesforce OAuth Token

  • Method: POST

  • URL: https://login.salesforce.com/services/oauth2/token

  • Headers:

    • Key = Content-Type; Type = Value; Value = application/x-www-form-urlencoded

  • Request Script:

  • Response Script:

Action 2 - Create Salesforce Opportunity

  • Method: POST

  • URL: https://<YOUR-SALESFORCE>/services/data/v63.0/sobjects/Opportunity

  • Headers:

    • Key = Content-Type; Type = Value; Value = application/json

  • Request Script:

  • Response Script:

Last updated