This reference defines the default automation layer for the Wuling overseas dealer expansion skill. It is an orchestration layer, not a replacement for the safety rules in outreach-rules.md.
Use scripts/workflows/run_dealer_pipeline.py when the user asks to automate the process, run the daily dealer pipeline, refresh the workbook/dashboard, or synchronize the latest customer table after local updates.
Typical command:
python scripts/workflows/run_dealer_pipeline.py --config workflow_config.json --write-workbook
Review-only command:
python scripts/workflows/run_dealer_pipeline.py --config workflow_config.json --review-only
The project root may contain workflow_config.json. If it does not exist, use assets/workflow_config.example.json as the template and tell the user that the project has not been configured yet.
Do not put secrets in the skill package. SMTP codes, browser credentials, cookies, Feishu tokens, and customer workbooks must remain project/runtime data.
Important fields:
country: target country for search and reporting.profile_id: AdsPower profile ID for browser stages.excel: optional workbook path. If empty, use the workbook resolver.summary_sheet_name: default 客户信息汇总表.daily_outreach_target: dashboard/business target, currently 20.default_stages: default safe stages, usually summary, dashboard, feishu_check.sync_feishu: when true, the agent must check feishu_sync_config.json after local writeback.send_email and send_facebook_dm: must remain false unless the user explicitly asks for sending and confirms the preview.客户信息汇总表.Facebook对话记录 when present.lark-sheets after local Excel writeback and verify remote row count/header consistency.runs/YYYYMMDD/<run_id>/.The automated pipeline may refresh local summaries and dashboards. It must not silently send messages or emails.
These actions always require a full preview in the chat and explicit confirmation:
Any browser stage must use AdsPower + Playwright. The browser must remain open even when the automation fails. Cross-customer or external-page transitions use major pacing, page-internal steps use minor pacing, and DOM waits remain technical waits as defined in outreach-rules.md.
The Python workflow only reports whether Feishu sync is required. The agent is responsible for invoking the WorkBuddy Feishu/Lark sheets plugin because plugin calls are not available inside the local Python process.
If feishu_sync_config.json exists and enabled=true, local writeback is not considered fully complete until the agent attempts Feishu synchronization or reports a plugin/authorization blocker.