Learn how to build, test, and deploy AI pipelines with our visual workflow builder and backend SDK integration.
Get started with your first AI workflow in minutes using our visual builder.
Start BuildingStart by creating a workflow in the visual builder. Choose from pre-built templates or create a custom pipeline:
Use the built-in testing tools to validate your workflow:
Once tested, deploy your workflow and integrate it into your application using our SDK or webhooks.
import { InferPipe } from '@inferpipe/sdk';
const inferpipe = new InferPipe({
apiKey: process.env.INFERPIPE_API_KEY,
workspaceId: process.env.INFERPIPE_WORKSPACE_ID,
});// Synchronous execution (wait for completion)
const result = await inferpipe.execute({
workflowId: 'content-generation',
input: {
topic: 'AI automation',
length: 'medium',
tone: 'professional'
}
});
console.log(result.data);// Asynchronous execution (immediate return)
const execution = await inferpipe.executeAsync({
workflowId: 'document-analysis',
input: { documentUrl: 'https://example.com/doc.pdf' }
});
// Results delivered to configured webhook endpoint
console.log('Execution ID:', execution.id);// pages/api/analyze.ts
export default async function handler(req, res) {
const result = await inferpipe.execute({
workflowId: 'sentiment-analysis',
input: { text: req.body.text }
});
res.json(result.data);
}// routes/ai.js
app.post('/extract', async (req, res) => {
const result = await inferpipe.execute({
workflowId: 'data-extraction',
input: req.body
});
res.json(result.data);
});Execute a workflow synchronously and wait for completion. Best for workflows that complete quickly (< 30 seconds).
Execute a workflow asynchronously with immediate return. Results delivered via configured webhooks.
Execute a workflow with streaming responses. Perfect for real-time AI interactions.
interface ExecuteOptions {
workflowId: string;
input: Record<string, any>;
timeout?: number;
retryConfig?: {
attempts: number;
backoff?: 'fixed' | 'exponential';
maxDelay?: number;
};
metadata?: Record<string, any>;
}Create your first AI workflow in minutes with our visual builder and integrate it into your application.