dojo-bench-mini / tasks /salesforce /edit-lead-inline.json
alexfung-cl's picture
Sync tasks, rewards to main
35fff71 verified
{
"spa": "salesforce",
"id": "edit-lead-inline",
"name": "Edit Lead Inline",
"description": "Edit a lead's details using inline editing on the details panel",
"tier": "free",
"environment": "{\"type\": \"url\",\"path\": \"https://d3kdnuhzu5eds7.cloudfront.net/index.html\"}",
"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\"]}",
"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.\"}",
"reward_function": "_validate_salesforce_edit_lead_inline",
"valid_target_states": "",
"max_steps": 15,
"timeout_seconds": 90,
"metadata": "{\"category\": \"crm\", \"difficulty\": \"medium\"}"
}