10 KiB
| name | description |
|---|---|
| update-salesforce-tech-validation | Edit and run the SE Radar report in Salesforce to add columns, view SE notes, and manage technical validation data. Triggers when user mentions: - "update the SE radar report" - "add a column to the SE report" - "edit the vNotes report" - "run the SE radar report" - "update salesforce tech validation report" |
Overview
This skill automates editing and running the SE Radar: SE vNotes and TVSs IC report in Salesforce. It covers adding columns, re-running the report, and reading the results. More workflows (e.g., filtering, grouping, saving changes) will be added as needed.
Prerequisites
- Chrome browser with an active Salesforce session (authenticated via Okta SSO at verkada.okta.com)
- Access to the SE Radar report
Report URL
https://verkada.lightning.force.com/lightning/r/Report/00OUu000004gR9ZMAU/view
Workflow: Add a Column and Re-Run
Step 1: Open the Report
Navigate to the report URL. Wait for the page to load (look for "Total Records" and the report table). If Salesforce doesn't load via browser automation (SSO issues), ask the user to open it manually first.
Step 2: Enter Edit Mode
- Take a snapshot to find the "Edit" button inside the Report Viewer iframe
- Click "Edit"
- Wait for the Report Builder to load (look for "Fields" panel, "Undo"/"Redo" buttons, and "Run" button)
Step 3: Add a Column
- The Fields panel on the left contains a tree of all available fields grouped by object (e.g., "Opportunities", "SE Deal Management", "vNotes", "SE User")
- Locate the desired field in the tree. If the list is long, use the "Search Fields" searchbox at the top of the panel
- Click the field name to select it (it will show as
selectedin the accessibility tree) - The page will display: "1 selected. To add new fields as detail columns, press Enter"
- Press Enter to add the field as a new column
After adding, the Undo button becomes enabled, confirming the change was registered. The preview area may show "To see the latest edits, refresh the preview."
Step 4: Run the Report
- Click the "Run" button (top of the report builder)
- The page navigates back to the report view with the new column included
- Wait for "Total Records" to appear confirming the data has loaded
Step 5: Verify the New Column
Take a snapshot of the report view and confirm the new column header appears in the table.
Known Columns in the Report
As of the initial skill creation, the report includes these columns:
| Column | Object |
|---|---|
| Opportunity ID | Opportunities |
| Opp Name And Link | Opportunities |
| Solutions Engineer: Full Name | Opportunities |
| VNote: VNote Name | vNotes |
| Technical Validation Stage | SE Deal Management |
| POC Documentation Link | SE Deal Management |
| POC Stage | SE Deal Management |
| Solutions Engineer: Team | SE User |
| SE Notes | Opportunities (added via this workflow) |
Workflow: Find Blank SE Notes and Look Up from Notes Directory
After adding the SE Notes column and running the report, use this workflow to identify opportunities missing SE Notes and find the corresponding notes in the local notes repo.
Step 1: Identify Blank SE Notes
- Scroll through the full report to see all rows (Salesforce lazy-loads rows; click "Load more widgets" or scroll to the bottom of the iframe body)
- For each row, check the SE Notes cell. Blank entries show as a single dash:
- - Build a list of all opportunities with blank SE Notes, noting the opportunity name and the account name
Step 2: Look Up SE Notes from Account Notes
For each account with a blank SE Notes entry:
- Find the account note file in
/Users/connor.rhodes/code/notes/(e.g.,San Antonio ISD.md,AR Dept of Transportation.md) - Find the relevant wip file:
- Account notes link to wip files under a
## WIPsection or similar - Look for a wip file that matches the specific opportunity (e.g.,
wip/ardot phase 2.md) - If no opportunity-specific wip file exists, use a general expansion wip file if one is linked (e.g.,
wip/general saisd expansion.mdfor any SAISD expansion opportunity)
- Account notes link to wip files under a
- Extract the SE Note content:
- Open the wip file and look for a header matching
SE NotesorSE Note(case insensitive, any header level) - Return the content under that header, but not the header itself
- If no SE Notes header exists in the wip file, report that no SE note was found
- Open the wip file and look for a header matching
Step 3: Present Results to the User
Group results by account. For each opportunity:
- If an SE note was found, show the opportunity name and the SE note content (header omitted)
- If no SE note was found, say so
Note: Multiple opportunities for the same account can share the same general expansion SE note. This is expected behavior (e.g., all SAISD expansion opps use wip/general saisd expansion.md).
Workflow: Paste SE Notes into vNotes for Blank Opportunities
After identifying blank SE Notes from the report, use this workflow to paste the note content into each opportunity's vNote.
Step 1: Open the Opportunity Page
Navigate to the opportunity URL (e.g., https://verkada.lightning.force.com/lightning/r/Opportunity/<Opp ID>/view). Wait for the page to load (look for "Show more actions").
Step 2: Navigate to SE Validation
- Click "Show more actions" (the triangle/dropdown menu button near the top of the page)
- Click "SE Validation" from the dropdown
- Wait for the SE Deal Management page to load (look for "Technical Validation Stage")
Step 3: Check for Existing SE Note
Scroll to the bottom of the SE Validation page. If an SE note already exists there (shows a date, user name, and technical validation content), skip this opportunity. The report may show a blank SE Notes field even when a vNote already exists on the SE Deal record.
Step 4: Open the vNotes Editor
- Click the "vNotes" button in the utility bar at the bottom of the page
- Wait for the vNotes dialog to open (look for "Notes" heading and "Add Note" button)
- The SE Deal record is already linked in the "Linked Records" section at the top of the dialog because we opened vNotes from the SE Validation page. Do NOT use "Link More Records".
Step 5: Paste the SE Note Content
- The text editor is a Quill rich text editor (
contenteditablediv witharia-label="Compose text"). It is NOT the "Add Tags" text input below it. - Click on the editor area (the large compose text field above the toolbar)
- Use
type_textto enter the SE note content - Formatting caveat: The Quill editor auto-converts
-prefixed lines into bulleted list items. The first-line in each group gets converted, but subsequent lines may retain a duplicate-prefix. To minimize this, type content without leading-characters and use the toolbar "Bulleted list" button instead. Alternatively, accept the minor formatting quirk since the content is still readable.
Step 6: Save the Note
Click "Add Note" to save. There is no separate save button. The note is persisted when you click Add Note.
Step 7: Move to Next Opportunity
Close the vNotes dialog (click the X or minimize), navigate to the next opportunity, and repeat.
Common Gotchas
- Salesforce loads in an iframe: The report content lives inside an iframe called "Report Viewer" (view mode) or "Report Builder" (edit mode). Snapshots and interactions must target elements within this iframe.
- Ephemeral UIDs: Salesforce Lightning re-renders frequently. Element UIDs change between snapshots. Always take a fresh snapshot before clicking.
- Progressive loading: The report builder shows "Previewing a limited number of records" while loading. Use
wait_forwith text like "Columns" or "Run" before interacting. - Lazy-loaded rows: The report view only renders ~12 rows initially. Scroll the iframe body or click "Load more widgets" to see the rest.
- SSO session expiry: If the session has expired, the page will redirect to Okta login. Ask the user to re-authenticate manually.
- Field tree is large: The Opportunities object alone has 400+ fields. Use the "Search Fields" searchbox to find specific fields quickly rather than scrolling.
- "Run" vs "Save": Clicking "Run" re-runs the report with the new columns but does not persist the change to the report definition. Use "Save" if the column should be permanent.
- General expansion wip files: When no opportunity-specific wip file exists, check for a general expansion wip file linked from the account note. This is the catch-all SE note for all expansion opportunities under that account.
- Wip files may not exist on disk: Some wip files linked from account notes may have been deleted or never created. Check for the file before trying to read it.
- SE Note may exist on SE Deal even when report shows blank: The SE Notes column in the report (Opportunity field) can be blank even when a vNote already exists on the related SE Deal Management record. Always scroll to the bottom of the SE Validation page and check for an existing note before pasting a new one. If one exists, skip that opportunity.
- vNotes editor is a Quill rich text editor, not a plain textbox: The compose text area is a
contenteditablediv witharia-label="Compose text", not the "Add Tags" input below it. Be careful to click and type into the correct element. - Quill auto-formats dashes into bullet lists: Lines starting with
-get auto-converted to bulleted list items by the Quill editor. The first line in a group converts cleanly, but subsequent lines may end up with a duplicate-prefix in the list item text. Accept this minor formatting quirk or use the toolbar "Bulleted list" button instead of typing-. - SE Deal is auto-linked in vNotes when opened from SE Validation: When you open the vNotes editor from the SE Validation page, the SE Deal record is already linked. Do NOT manually link additional records via "Link More Records" unless specifically asked.
- "Show more actions" is the triangle menu: The SE Validation link is hidden under the dropdown menu button labeled "Show more actions" at the top of the opportunity page, not visible as a direct link on the page layout.