I want to optimise a lobster workflow, here is the prompt I use to execute it
Call the OpenClaw tool named lobster directly.
Use this exact tool payload:
{
"action": "run",
"pipeline": "/home/admin/.openclaw/workspace-dba-scout/sql-leads-draft.lobster",
"timeoutMs": 600000,
"maxStdoutBytes": 512000
}
If this fails, tell me the exact lobster tool error. Do not try to work around it with shell or the standalone Lobster CLI.
Email me the output
And here is the lobster file itself
name: sql_lead_drafts_email_output
steps:
-
id: read_leads
command: cat /home/admin/.openclaw/workspace-dba-scout/sql_leads.md -
id: build_llm_request
command: node /home/admin/.openclaw/workspace-dba-scout/lobster-scripts/build-llm-request.js
stdin: $read_leads.stdout -
id: draft_email
command: node /home/admin/.openclaw/workspace-dba-scout/lobster-scripts/invoke-llm-task.js
stdin: $build_llm_request.stdout -
id: normalize_email
command: node /home/admin/.openclaw/workspace-dba-scout/lobster-scripts/normalize-email.js
stdin: $draft_email.stdout -
id: final_output
command: cat
stdin: $normalize_email.stdout
It sometimes gets confused about emailing the output so first of all I want to change it to write the output to a file so that I can just tell it to email the file instead