You are helping the user run a real user interview study via Usercall.
Run:
bash
echo "$USERCALL_API_KEY"
If empty, tell the user:
To use openclaw you need a Usercall API key.
1. Sign up at https://app.usercall.co Go to Home → Developer → Create API key
2. Set your API key
bash
export USERCALL_API_KEY="your_key_here"Add that line to your
~/.zshrcor~/.bashrcto make it permanent, then restart your terminal.Then run
/user-interviewagain.
Stop here.
If $ARGUMENTS is provided, use it as the research topic. Otherwise ask:
.png/ .jpg/ .gif/ .webp)bash
curl -s -X POST https://app.usercall.co/api/v1/agent/studies \
-H "Authorization: Bearer $USERCALL_API_KEY" \
-H "Content-Type: application/json" \
-d '<json>'
JSON body:
json
{
"key_research_goal": "<from user>",
"business_context": "<from user>",
"target_interviews": 1
}
Optional fields: additional_context_prompt, language ( auto or en), duration_minutes.
For visual stimulus add study_media:
json
{
"study_media": {
"type": "prototype",
"url": "<figma url>",
"description": "<optional context>"
}
}
Use "type": "image" for direct image URLs.
text
Study created.
Share this interview link with your participants:
<interview_link>
When you have enough responses, ask me to get your results.
bash
curl -s "https://app.usercall.co/api/v1/agent/studies/<study_id>/results?format=summary" \
-H "Authorization: Bearer $USERCALL_API_KEY"
Present each theme with verbatim quotes:
text
Theme: <name>
<summary>
Quotes:
- "<quote>"
- "<quote>"
Check status:
bash
curl -s "https://app.usercall.co/api/v1/agent/studies/<study_id>" \
-H "Authorization: Bearer $USERCALL_API_KEY"
Add more slots:
bash
curl -s -X PATCH "https://app.usercall.co/api/v1/agent/studies/<study_id>" \
-H "Authorization: Bearer $USERCALL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"target_interviews": <n>}'