A workflow that uses OpenAI's API to analyze text, extract key information, and generate summaries — demonstrating how to integrate external AI services into Render Workflows.
- Integrating external APIs (OpenAI) in workflow tasks
- Multi-step AI processing pipeline
- Environment variable configuration for API keys
- Retry handling for external service calls
analyzeText (orchestrator)
├── extractKeyInfo (AI-powered extraction)
├── analyzeSentiment (AI-powered analysis)
└── generateSummary (AI-powered summarization)
cp .env.example .env
# Edit .env and add your OPENAI_API_KEYnpm install
npm run build
npm startCreate a new Workflow service on Render:
- Build command:
npm install && npm run build - Start command:
npm start - Environment variable:
OPENAI_API_KEY— your OpenAI API key