try salesforce
#5
by
dzakaathif
- opened
- tasks/salesforce/change-case-status.json +13 -0
- tasks/salesforce/change-lead-status.json +13 -0
- tasks/salesforce/convert-lead-to-contact.json +13 -0
- tasks/salesforce/create-and-close-case.json +13 -0
- tasks/salesforce/create-and-convert-lead.json +13 -0
- tasks/salesforce/create-new-case.json +13 -0
- tasks/salesforce/create-new-lead.json +13 -0
- tasks/salesforce/edit-lead-inline.json +13 -0
- tasks/salesforce/open-edit-case-dialog.json +13 -0
- tasks/salesforce/open-new-case-dialog.json +13 -0
- tasks/salesforce/open-new-contact-dialog.json +13 -0
- tasks/salesforce/open-new-lead-dialog.json +13 -0
- tasks/salesforce/open-new-opportunity-dialog.json +13 -0
tasks/salesforce/change-case-status.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "change-case-status",
|
| 3 |
+
"name": "Change Case Status",
|
| 4 |
+
"description": "Change a case's status from the case details page",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}, {\"id\": \"case-case-001\", \"type\": \"home-case\", \"dataId\": \"case-001\"}], \"activeTabId\": \"case-case-001\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [{\"id\": \"case-001\", \"status\": \"New\", \"caseOrigin\": \"Web\", \"priority\": \"Medium\", \"caseOwner\": \"Dzaka Athif\", \"caseReason\": \"--None--\", \"contactName\": \"John Smith\", \"accountName\": \"Acme Corp\", \"subject\": \"Product inquiry\", \"description\": \"Customer wants more information about the product\", \"sendNotificationEmail\": false}], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on a case details page with current status 'New'. Click on the 'Working' status button in the status path bar, then click the 'Mark as Current Status' button to update the case status.\", \"success_criteria\": \"The case's status must be updated to 'Working' in the cases array.\"}",
|
| 8 |
+
"reward_function": "",
|
| 9 |
+
"valid_target_states": "[{\"cases\": [{\"id\": \"case-001\", \"status\": \"Working\", \"caseOrigin\": \"Web\", \"priority\": \"Medium\", \"caseOwner\": \"Dzaka Athif\", \"caseReason\": \"--None--\", \"contactName\": \"John Smith\", \"accountName\": \"Acme Corp\", \"subject\": \"Product inquiry\", \"description\": \"Customer wants more information about the product\", \"sendNotificationEmail\": false}]}]",
|
| 10 |
+
"max_steps": 10,
|
| 11 |
+
"timeout_seconds": 60,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"easy\"}"
|
| 13 |
+
}
|
tasks/salesforce/change-lead-status.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "change-lead-status",
|
| 3 |
+
"name": "Change Lead Status",
|
| 4 |
+
"description": "Change a lead's status from the lead details page",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}, {\"id\": \"lead-lead-001\", \"type\": \"home-lead\", \"dataId\": \"lead-001\"}], \"activeTabId\": \"lead-lead-001\", \"leads\": [{\"id\": \"lead-001\", \"name\": \"John Doe\", \"company\": \"Tech Solutions Inc\", \"salutation\": \"Mr.\", \"firstName\": \"John\", \"lastName\": \"Doe\", \"title\": \"CTO\", \"website\": \"https://techsolutions.com\", \"description\": \"Potential client for enterprise software\", \"leadStatus\": \"New\", \"leadOwner\": \"Dzaka Athif\", \"phone\": \"+1-555-0123\", \"email\": \"john.doe@techsolutions.com\", \"country\": \"United States\", \"street\": \"123 Tech Street\", \"city\": \"San Francisco\", \"state\": \"CA\", \"zipCode\": \"94105\", \"numberOfEmployees\": \"500\", \"annualRevenue\": \"$10M\", \"leadSource\": \"Web\", \"industry\": \"Technology\"}], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on a lead details page for John Doe with current status 'New'. Click on the 'Contacted' status button in the status path bar, then click the 'Mark as Current Status' button to update the lead status.\", \"success_criteria\": \"The lead's status must be updated to 'Contacted' in the leads array.\"}",
|
| 8 |
+
"reward_function": "",
|
| 9 |
+
"valid_target_states": "[{\"leads\": [{\"id\": \"lead-001\", \"name\": \"John Doe\", \"company\": \"Tech Solutions Inc\", \"salutation\": \"Mr.\", \"firstName\": \"John\", \"lastName\": \"Doe\", \"title\": \"CTO\", \"website\": \"https://techsolutions.com\", \"description\": \"Potential client for enterprise software\", \"leadStatus\": \"Contacted\", \"leadOwner\": \"Dzaka Athif\", \"phone\": \"+1-555-0123\", \"email\": \"john.doe@techsolutions.com\", \"country\": \"United States\", \"street\": \"123 Tech Street\", \"city\": \"San Francisco\", \"state\": \"CA\", \"zipCode\": \"94105\", \"numberOfEmployees\": \"500\", \"annualRevenue\": \"$10M\", \"leadSource\": \"Web\", \"industry\": \"Technology\"}]}]",
|
| 10 |
+
"max_steps": 10,
|
| 11 |
+
"timeout_seconds": 60,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"easy\"}"
|
| 13 |
+
}
|
tasks/salesforce/convert-lead-to-contact.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "convert-lead-to-contact",
|
| 3 |
+
"name": "Convert Lead to Contact",
|
| 4 |
+
"description": "Convert an existing lead to a contact through the full conversion workflow",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}, {\"id\": \"lead-lead-001\", \"type\": \"home-lead\", \"dataId\": \"lead-001\"}], \"activeTabId\": \"lead-lead-001\", \"leads\": [{\"id\": \"lead-001\", \"name\": \"Michael Brown\", \"company\": \"Enterprise Solutions LLC\", \"salutation\": \"Mr.\", \"firstName\": \"Michael\", \"lastName\": \"Brown\", \"title\": \"CEO\", \"website\": \"https://enterprisesolutions.com\", \"description\": \"Ready to close enterprise deal\", \"leadStatus\": \"Nurturing\", \"leadOwner\": \"Dzaka Athif\", \"phone\": \"+1-555-4567\", \"email\": \"michael.brown@enterprisesolutions.com\", \"country\": \"United States\", \"street\": \"789 Executive Blvd\", \"city\": \"Boston\", \"state\": \"MA\", \"zipCode\": \"02101\", \"numberOfEmployees\": \"250\", \"annualRevenue\": \"$25M\", \"leadSource\": \"Trade Show\", \"industry\": \"Technology\"}], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the lead details page for Michael Brown. Convert this lead to a contact by: 1) Click on the 'Converted' status button in the status path bar to select it, 2) Click the 'Select Converted Status' button that appears, 3) In the convert lead dialog that opens, click the 'Convert' button, 4) In the success dialog that appears, click the 'Go to Leads' button. You will be redirected to the leads list page.\", \"success_criteria\": \"The lead must be marked as converted (leadStatus: 'Converted' and convertedToContactId set), a new contact must be created in the contacts array with the lead's information, and the active view must be the leads list page (activeTabId: 'home-listLeads').\"}",
|
| 8 |
+
"reward_function": "_validate_salesforce_convert_lead",
|
| 9 |
+
"valid_target_states": "",
|
| 10 |
+
"max_steps": 20,
|
| 11 |
+
"timeout_seconds": 120,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"medium\"}"
|
| 13 |
+
}
|
tasks/salesforce/create-and-close-case.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "create-and-close-case",
|
| 3 |
+
"name": "Create and Close Case",
|
| 4 |
+
"description": "Complete workflow of creating a new case and closing it",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Complete the full case creation and closure workflow: 1) Click the 'New' button on the Cases card to open the new case dialog, 2) Scroll down and fill in Subject: 'Customer complaint resolved', 3) Click 'Save' to create the case and navigate to its details page, 4) Click on the 'Closed' status button in the status path bar, 5) Click the 'Mark as Current Status' button to close the case.\", \"success_criteria\": \"A case with subject 'Customer complaint resolved' must be created and marked as closed (status: 'Closed'), and remain on the case details page.\"}",
|
| 8 |
+
"reward_function": "_validate_salesforce_create_and_close_case",
|
| 9 |
+
"valid_target_states": "",
|
| 10 |
+
"max_steps": 20,
|
| 11 |
+
"timeout_seconds": 120,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"hard\"}"
|
| 13 |
+
}
|
tasks/salesforce/create-and-convert-lead.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "create-and-convert-lead",
|
| 3 |
+
"name": "Create and Convert Lead",
|
| 4 |
+
"description": "Complete workflow of creating a new lead and converting it to a contact",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Complete the full lead creation and conversion workflow: 1) Click the 'New' button on the Leads card to open the new lead dialog, 2) Fill in the required fields: Name: 'Robert Taylor' and Company: 'Future Innovations Inc', 3) Click 'Save' to create the lead and navigate to its details page, 4) Click on the 'Converted' status button in the status path bar, 5) Click the 'Select Converted Status' button, 6) In the convert lead dialog, click 'Convert', 7) In the success dialog, click 'Go to Leads' to go to the leads list page.\", \"success_criteria\": \"A lead with name 'Robert Taylor' must be created and marked as converted, a new contact must be created from this lead in the contacts array with matching information, and the active view must be the leads list page (activeTabId: 'home-listLeads').\"}",
|
| 8 |
+
"reward_function": "_validate_salesforce_create_and_convert_lead",
|
| 9 |
+
"valid_target_states": "",
|
| 10 |
+
"max_steps": 30,
|
| 11 |
+
"timeout_seconds": 180,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"hard\"}"
|
| 13 |
+
}
|
tasks/salesforce/create-new-case.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "create-new-case",
|
| 3 |
+
"name": "Create New Case",
|
| 4 |
+
"description": "Create a new case by filling out the form and saving it",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Create a new case by: 1) Click the 'New' button on the Cases card to open the new case dialog, 2) Scroll down and fill in Subject: 'Technical support request'. 3) Click the 'Save' button. A new case will be created and you will be redirected to the case details page.\", \"success_criteria\": \"A new case with subject 'Technical support request' must exist in the cases array, and a new tab of type 'home-case' must be created and active.\"}",
|
| 8 |
+
"reward_function": "_validate_salesforce_create_new_case",
|
| 9 |
+
"valid_target_states": "",
|
| 10 |
+
"max_steps": 15,
|
| 11 |
+
"timeout_seconds": 90,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"medium\"}"
|
| 13 |
+
}
|
tasks/salesforce/create-new-lead.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "create-new-lead",
|
| 3 |
+
"name": "Create New Lead",
|
| 4 |
+
"description": "Create a new lead by filling out the form and saving it",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Create a new lead by: 1) Click the 'New' button on the Leads card to open the new lead dialog, 2) Fill in First Name: 'Jane', Last Name: 'Smith', Company: 'Innovation Labs'. 3) Click the 'Save' button. A new lead will be created and you will be redirected to the lead details page.\", \"success_criteria\": \"A new lead with name 'Jane Smith' and company 'Innovation Labs' must exist in the leads array, and a new tab of type 'home-lead' must be created and active.\"}",
|
| 8 |
+
"reward_function": "_validate_salesforce_create_new_lead",
|
| 9 |
+
"valid_target_states": "",
|
| 10 |
+
"max_steps": 15,
|
| 11 |
+
"timeout_seconds": 90,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"medium\"}"
|
| 13 |
+
}
|
tasks/salesforce/edit-lead-inline.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "edit-lead-inline",
|
| 3 |
+
"name": "Edit Lead Inline",
|
| 4 |
+
"description": "Edit a lead's details using inline editing on the details panel",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}, {\"id\": \"lead-lead-001\", \"type\": \"home-lead\", \"dataId\": \"lead-001\"}], \"activeTabId\": \"lead-lead-001\", \"leads\": [{\"id\": \"lead-001\", \"name\": \"Sarah Johnson\", \"company\": \"Global Tech Corp\", \"salutation\": \"Ms.\", \"firstName\": \"Sarah\", \"lastName\": \"Johnson\", \"title\": \"VP of Sales\", \"website\": \"https://globaltech.com\", \"description\": \"Key decision maker for enterprise solutions\", \"leadStatus\": \"Contacted\", \"leadOwner\": \"Dzaka Athif\", \"phone\": \"+1-555-9876\", \"email\": \"sarah.johnson@globaltech.com\", \"country\": \"United States\", \"street\": \"456 Business Ave\", \"city\": \"New York\", \"state\": \"NY\", \"zipCode\": \"10001\", \"numberOfEmployees\": \"1000\", \"annualRevenue\": \"$50M\", \"leadSource\": \"Referral\", \"industry\": \"Technology\"}], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the lead details page for Sarah Johnson. Edit the lead's information by: 1) Click the pencil icon in the Lead Details panel on the left side to enter edit mode, 2) Scroll down to find the Title field, 3) Change the Title field from 'VP of Sales' to 'Senior VP of Sales', 4) Click the 'Save' button to save the changes.\", \"success_criteria\": \"The lead's title must be updated to 'Senior VP of Sales' in the leads array.\"}",
|
| 8 |
+
"reward_function": "_validate_salesforce_edit_lead_inline",
|
| 9 |
+
"valid_target_states": "",
|
| 10 |
+
"max_steps": 15,
|
| 11 |
+
"timeout_seconds": 90,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"medium\"}"
|
| 13 |
+
}
|
tasks/salesforce/open-edit-case-dialog.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "open-edit-case-dialog",
|
| 3 |
+
"name": "Open Edit Case Dialog",
|
| 4 |
+
"description": "Open the edit case dialog from a case details page",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}, {\"id\": \"case-case-001\", \"type\": \"home-case\", \"dataId\": \"case-001\"}], \"activeTabId\": \"case-case-001\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [{\"id\": \"case-001\", \"status\": \"New\", \"caseOrigin\": \"Web\", \"priority\": \"Medium\", \"caseOwner\": \"Dzaka Athif\", \"caseReason\": \"--None--\", \"contactName\": \"John Smith\", \"accountName\": \"Acme Corp\", \"subject\": \"Product inquiry\", \"description\": \"Customer wants more information about the product\", \"sendNotificationEmail\": false}], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on a case details page. Click the blue 'Edit' button in the Key Fields section (located under the status path bar on the right side) to open the edit case dialog.\", \"success_criteria\": \"The edit case dialog must be open (isEditCaseDialogOpen must be true).\"}",
|
| 8 |
+
"reward_function": "",
|
| 9 |
+
"valid_target_states": "[{\"isEditCaseDialogOpen\": true}]",
|
| 10 |
+
"max_steps": 5,
|
| 11 |
+
"timeout_seconds": 30,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"easy\"}"
|
| 13 |
+
}
|
tasks/salesforce/open-new-case-dialog.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "open-new-case-dialog",
|
| 3 |
+
"name": "Open New Case Dialog",
|
| 4 |
+
"description": "Open the new case creation dialog from the dashboard",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Click the 'New' button on the Cases card to open the new case dialog.\", \"success_criteria\": \"The new case dialog must be open (isNewCaseDialogOpen must be true).\"}",
|
| 8 |
+
"reward_function": "",
|
| 9 |
+
"valid_target_states": "[{\"isNewCaseDialogOpen\": true}]",
|
| 10 |
+
"max_steps": 5,
|
| 11 |
+
"timeout_seconds": 30,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"easy\"}"
|
| 13 |
+
}
|
tasks/salesforce/open-new-contact-dialog.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "open-new-contact-dialog",
|
| 3 |
+
"name": "Open New Contact Dialog",
|
| 4 |
+
"description": "Open the new contact creation dialog from the dashboard",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Click the 'New' button on the Contacts card to open the new contact dialog.\", \"success_criteria\": \"The new contact dialog must be open (isNewContactDialogOpen must be true).\"}",
|
| 8 |
+
"reward_function": "",
|
| 9 |
+
"valid_target_states": "[{\"isNewContactDialogOpen\": true}]",
|
| 10 |
+
"max_steps": 5,
|
| 11 |
+
"timeout_seconds": 30,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"easy\"}"
|
| 13 |
+
}
|
tasks/salesforce/open-new-lead-dialog.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "open-new-lead-dialog",
|
| 3 |
+
"name": "Open New Lead Dialog",
|
| 4 |
+
"description": "Open the new lead creation dialog from the dashboard",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Click the 'New' button on the Leads card to open the new lead dialog.\", \"success_criteria\": \"The new lead dialog must be open (isNewLeadDialogOpen must be true).\"}",
|
| 8 |
+
"reward_function": "",
|
| 9 |
+
"valid_target_states": "[{\"isNewLeadDialogOpen\": true}]",
|
| 10 |
+
"max_steps": 5,
|
| 11 |
+
"timeout_seconds": 30,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"easy\"}"
|
| 13 |
+
}
|
tasks/salesforce/open-new-opportunity-dialog.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "open-new-opportunity-dialog",
|
| 3 |
+
"name": "Open New Opportunity Dialog",
|
| 4 |
+
"description": "Open the new opportunity creation dialog from the dashboard",
|
| 5 |
+
"environment": "{\"type\": \"url\", \"path\": \"https://dojo-spas-production.s3.us-east-1.amazonaws.com/salesforce/index.html\"}",
|
| 6 |
+
"initial_state": "{\"tabs\": [{\"id\": \"home-dashboard\", \"type\": \"home-dashboard\"}], \"activeTabId\": \"home-dashboard\", \"leads\": [], \"contacts\": [], \"opportunities\": [], \"cases\": [], \"isNewLeadDialogOpen\": false, \"isNewContactDialogOpen\": false, \"isConvertLeadDialogOpen\": false, \"convertingLeadId\": null, \"isAfterConvertDialogOpen\": false, \"afterConvertLeadId\": null, \"isNewOpportunityDialogOpen\": false, \"isCloseOpportunityDialogOpen\": false, \"closingOpportunityId\": null, \"isNewCaseDialogOpen\": false, \"isEditCaseDialogOpen\": false, \"isChangeHomeCardDialogOpen\": false, \"changingCardSlotIndex\": null, \"isWelcomeBannerExpanded\": true, \"dismissedCards\": [], \"dashboardCardSlots\": [\"leads\", \"opportunities\", \"contacts\", \"recent-records\", \"cases\", \"make-it-your-home\"]}",
|
| 7 |
+
"instructions": "{\"user_prompt\": \"You are on the Salesforce dashboard. Click the 'New' button on the Opportunity card to open the new opportunity dialog.\", \"success_criteria\": \"The new opportunity dialog must be open (isNewOpportunityDialogOpen must be true).\"}",
|
| 8 |
+
"reward_function": "",
|
| 9 |
+
"valid_target_states": "[{\"isNewOpportunityDialogOpen\": true}]",
|
| 10 |
+
"max_steps": 5,
|
| 11 |
+
"timeout_seconds": 30,
|
| 12 |
+
"metadata": "{\"category\": \"crm\", \"difficulty\": \"easy\"}"
|
| 13 |
+
}
|