CrewAI Workflows Skill
Execute specialized AI crew workflows for content generation, analysis, and support tasks. All crews run on a dedicated server with production-grade LLMs.
Prerequisites
Set the API key as an environment variable (recommended):
export CREWAI_API_KEY="5aZyTFQJAAT03VPIII5zsIPcL8KTtdST"
Or pass it directly when calling the helper script.
Available Crews
1. Marketing Crew ๐ข
Generate marketing content, taglines, and campaign copy.
Use for:
- Product/service taglines
- Marketing copy for ads or landing pages
- Campaign messaging
- Value propositions
Input:
topic(required) - What to create marketing content abouttarget_audience(optional) - Who the content is for
LLM: DeepSeek
Response Time: 3-10 seconds
Example:
scripts/call_crew.sh marketing \
'{"topic": "hypnotherapy for better sleep", "target_audience": "working professionals with insomnia"}'
2. Support Crew ๐ง
Handle customer support inquiries with AI-generated responses.
Use for:
- Responding to customer questions
- Drafting support emails
- Handling common inquiries
- Escalation guidance
Input:
issue(required) - The customer issue or question
LLM: DeepSeek
Response Time: 3-10 seconds
Example:
scripts/call_crew.sh support \
'{"issue": "Client wants to reschedule their hypnotherapy session"}'
3. Analysis Crew ๐
Analyze business data and provide actionable insights.
Use for:
- Data interpretation
- Trend analysis
- Performance metrics review
- Business intelligence
Input:
data_description(required) - Description of the data to analyze
LLM: DeepSeek
Response Time: 3-10 seconds
Example:
scripts/call_crew.sh analysis \
'{"data_description": "Monthly client retention rates for Q4 2025"}'
4. Social Media Crew โญ ๐ฑ
Generate comprehensive 30-day social media content calendars with daily posts, captions, and hashtags.
Use for:
- Social media planning
- Content calendar creation
- Multi-platform content strategy
- Monthly content batches
Input:
industry(required) - The business industry/nichecompany_name(required) - Business or personal brand name
LLMs: 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.
Usage
Option 1: Using the Helper Script (Recommended)
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"
Option 2: Direct cURL
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": {...}}'
Response Format
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.
Best Practices
Set timeouts appropriately:
- Marketing/Support/Analysis: 30-60 seconds
- Social Media: 5-10 minutes
Check API key: Ensure
CREWAI_API_KEYenvironment variable is set or pass explicitlyHandle errors: Check the
errorfield in responsesSocial Media crew: Expect 3-5 minutes response time; don't interrupt
Batch requests: For multiple similar tasks, consider running them sequentially
Health Check
Verify the CrewAI server is running:
curl https://crew.iclautomation.me/health
# Expected: {"ok": true}
Future Expansion
When new crews are added to the server:
- Update the "Available Crews" section
- Add example usage to the helper script
- Document input parameters and response times
Server: https://crew.iclautomation.me
Authentication: API key via X-API-Key header
Last Updated: 2026-01-17