Crewai Workflows
by @rita5fr
Execute AI-powered crew workflows for marketing content generation, customer support handling, data analysis, and social media calendar creation. Use when tasks involve (1) creating marketing content, taglines, or campaigns, (2) handling customer support inquiries or responses, (3) analyzing business data for insights, (4) generating comprehensive social media content calendars, or (5) any content generation or analysis task that benefits from specialized AI crew workflows. Workflows are powered
clawhub install crewai-workflowsπ About This Skill
name: crewai-workflows description: Execute AI-powered crew workflows for marketing content generation, customer support handling, data analysis, and social media calendar creation. Use when tasks involve (1) creating marketing content, taglines, or campaigns, (2) handling customer support inquiries or responses, (3) analyzing business data for insights, (4) generating comprehensive social media content calendars, or (5) any content generation or analysis task that benefits from specialized AI crew workflows. Workflows are powered by DeepSeek, Perplexity, and Gemini models.
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:
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"}'
2. Support Crew π§
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"}'
3. Analysis Crew π
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"}'
4. Social Media Crew β π±
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.
Usage
Option 1: Using the Helper Script (Recommended)
cd crewai-workflows
scripts/call_crew.sh '' [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//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
1. Set timeouts appropriately: - Marketing/Support/Analysis: 30-60 seconds - Social Media: 5-10 minutes
2. Check API key: Ensure CREWAI_API_KEY environment variable is set or pass explicitly
3. Handle errors: Check the error field in responses
4. Social Media crew: Expect 3-5 minutes response time; don't interrupt
5. 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: 1. Update the "Available Crews" section 2. Add example usage to the helper script 3. Document input parameters and response times
Server: https://crew.iclautomation.me
Authentication: API key via X-API-Key header
Last Updated: 2026-01-17
π‘ Examples
Option 1: Using the Helper Script (Recommended)
cd crewai-workflows
scripts/call_crew.sh '' [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//run" \
-H "Content-Type: application/json" \
-H "X-API-Key: $CREWAI_API_KEY" \
-d '{"input": {...}}'
βοΈ Configuration
Set the API key as an environment variable (recommended):
export CREWAI_API_KEY="5aZyTFQJAAT03VPIII5zsIPcL8KTtdST"
Or pass it directly when calling the helper script.
π Tips & Best Practices
1. Set timeouts appropriately: - Marketing/Support/Analysis: 30-60 seconds - Social Media: 5-10 minutes
2. Check API key: Ensure CREWAI_API_KEY environment variable is set or pass explicitly
3. Handle errors: Check the error field in responses
4. Social Media crew: Expect 3-5 minutes response time; don't interrupt
5. Batch requests: For multiple similar tasks, consider running them sequentially