Execute specialized AI crew workflows for content generation, analysis, and support tasks. All crews run on a dedicated server with production-grade LLMs.
Set the API key as an environment variable (recommended):
export CREWAI_API_KEY="5aZyTFQJAAT03VPIII5zsIPcL8KTtdST"
Or pass it directly when calling the helper script.
Generate marketing content, taglines, and campaign copy.
Use for:
Input:
topic (required) - What to create marketing content abouttarget_audience (optional) - Who the content is forLLM: DeepSeek
Response Time: 3-10 seconds
Example:
scripts/call_crew.sh marketing \
'{"topic": "hypnotherapy for better sleep", "target_audience": "working professionals with insomnia"}'
Handle customer support inquiries with AI-generated responses.
Use for:
Input:
issue (required) - The customer issue or questionLLM: DeepSeek
Response Time: 3-10 seconds
Example:
scripts/call_crew.sh support \
'{"issue": "Client wants to reschedule their hypnotherapy session"}'
Analyze business data and provide actionable insights.
Use for:
Input:
data_description (required) - Description of the data to analyzeLLM: DeepSeek
Response Time: 3-10 seconds
Example:
scripts/call_crew.sh analysis \
'{"data_description": "Monthly client retention rates for Q4 2025"}'
Generate comprehensive 30-day social media content calendars with daily posts, captions, and hashtags.
Use for:
Input:
industry (required) - The business industry/nichecompany_name (required) - Business or personal brand nameLLMs: Perplexity (research) + Gemini (content generation)
Response Time: 3-5 minutes ⏳
Example:
scripts/call_crew.sh social_media \
'{"industry": "hypnotherapy", "company_name": "Sidharth Mahto"}'
Note: This crew takes significantly longer due to comprehensive research and content generation phases.
cd crewai-workflows
scripts/call_crew.sh <crew_name> '<json_input>' [api_key]
Examples:
# Marketing crew
scripts/call_crew.sh marketing '{"topic": "sleep therapy for entrepreneurs", "target_audience": "startup founders"}'
# Support crew
scripts/call_crew.sh support '{"issue": "Client asking about session pricing"}'
# Analysis crew
scripts/call_crew.sh analysis '{"data_description": "Weekly session booking trends"}'
# Social media crew (takes 3-5 minutes)
scripts/call_crew.sh social_media '{"industry": "wellness coaching", "company_name": "Calm Mind Studio"}'
# With explicit API key
scripts/call_crew.sh marketing '{"topic": "mindfulness apps"}' "YOUR_API_KEY"
curl -X POST "https://crew.iclautomation.me/crews/<crew_name>/run" \
-H "Content-Type: application/json" \
-H "X-API-Key: $CREWAI_API_KEY" \
-d '{"input": {...}}'
All crews return structured JSON:
{
"ok": true,
"crew": "marketing",
"trace_id": "abc123-def456",
"result": {
"workflow": "marketing",
"output": "... the generated content ...",
"input_summary": {...}
},
"error": null
}
Extract the output: The actual generated content is in result.output.
CREWAI_API_KEY environment variable is set or pass explicitlyerror field in responsesVerify the CrewAI server is running:
curl https://crew.iclautomation.me/health
# Expected: {"ok": true}
When new crews are added to the server:
Server: https://crew.iclautomation.me
Authentication: API key via X-API-Key header
Last Updated: 2026-01-17
共 1 个版本