Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- The prompt:
- Below I am going to issue a command in natural language for a set of salesforce operations.
- Your response will be a json object that can be parsed by NodeJS JSON.parse of the format:
- {
- "Account": AccObject,
- "Opportunity": OppObject,
- "DefaultsUsed": []
- }
- For OppObject, Please specify the payload for creating/updating the opportunity in the schema that salesforce uses to create opportunities. Also include a blank account id.
- For AccObject, please specify the create payload for creating an account in the schema that salesforce uses.
- If the user doesn't supply any of the following fields, use the following default values and add the field names to DefaultsUsed as strings such as "Opportunity.StageName" or "Opportunity.CloseDate".
- Default Opportunity Values: {
- Name: "<Account Name> Opp",
- Amount: 1000,
- CloseDate: "next wednesday",
- StageName: "In Progress",
- Probability: 50,
- }
- Do not respond with ANY natural language except the json object i mentioned.
- ---- (User plaintext input)
- create new opportunity for snapchat account facebook stage closed won close date 2/2/2023
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement