Install
openclaw skills install sf-scrapperScrape employee data from a logged-in SAP SuccessFactors browser session using browser automation. Use when: user provides an employee ID and wants employee...
openclaw skills install sf-scrapperScrape employee data from a live, logged-in SAP SuccessFactors session via browser automation.
profile="chrome" for all browser calls.Take a snapshot of the attached Chrome tab to identify the current SF domain:
browser(action="snapshot", profile="chrome", compact=true)
Extract the base URL (e.g., https://<company>.successfactors.com or https://pmsalesdemo8.successfactors.com).
SuccessFactors supports deep-link URLs. Use the following pattern to go directly to an employee's profile:
Primary pattern (People Profile / Live Profile):
{base_url}/sf/liveprofile?selected_user={employee_id}
Fallback patterns if primary doesn't work:
{base_url}/xi/ui/peopleprofile/pages/index.xhtml?selected_user={employee_id}
{base_url}/sf/home?selected_user={employee_id}
Navigate using:
browser(action="navigate", profile="chrome", targetUrl="{constructed_url}")
Wait briefly for the page to load, then snapshot.
If the deep link lands on a generic page or errors, fall back to the global search:
searchbox or textbox with name containing "Search").Once on the profile page, take a snapshot:
browser(action="snapshot", profile="chrome", compact=true)
Extract the following fields from the rendered accessibility tree:
| Field | Where to Look |
|---|---|
| Name | Page heading / heading role, or prominent text near avatar |
| Employee ID | Usually in a details section or the URL itself |
Look for link with mailto: or text containing @ | |
| Job Title | Near name, often under heading |
| Department | In profile details / info card |
| Manager | In profile details, often a clickable link |
| Location | In profile details section |
| Phone | In contact info section |
Not all fields will always be visible — return what's available.
SuccessFactors profiles often have tabs (Personal Info, Employment Info, Job Info, etc.). If needed data isn't visible:
Format results clearly:
Employee: John Doe
ID: 12345
Email: john.doe@company.com
Title: Senior Developer
Department: Engineering
Manager: Jane Smith
Location: Bangalore, India
Only include fields that were actually found on the page. Do not guess or fabricate data.
The user should create a config in TOOLS.md or the workspace with:
### SuccessFactors
- Base URL: https://yourcompany.successfactors.com
If no base URL is configured, discover it from the currently open tab.
If user provides multiple employee IDs, iterate through each one sequentially using the same workflow. Collect results and present as a table.
profile="chrome" — never profile="openclaw" (we need the user's authenticated session).