Workflow SDKv2.0.0
oxinion
Automate location-based workflows and event-driven actions
Quick Start
Get started with workflow automation in minutes
1. Installation
npm install oxinion2. Initialize Client
import { WorkflowClient } from 'oxinion';
const client = new WorkflowClient({
clientId: process.env.OXINION_API_KEY,
secretKey: process.env.OXINION_SECRET_KEY
});3. Create a Workflow
// Create a geofence-triggered workflow
const workflow = await client.workflows.create({
name: 'Store Entry Welcome',
trigger: {
type: 'geofence',
event: 'enter',
zoneId: 'store-123'
},
actions: [
{
type: 'push_notification',
message: 'Welcome! Check out our deals!'
}
]
});Event Triggers
- Geofence enter/exit events
- Beacon proximity detection
- Time-based scheduling
- Custom webhook triggers
Actions
- Send push notifications
- Trigger email campaigns
- Update user segments
- Call external webhooks
Advanced
- Conditional logic & branching
- Rate limiting & throttling
- A/B testing support
- Analytics & monitoring