DEV Community

Alex Spinov
Alex Spinov

Posted on

Inngest Has a Free API That Orchestrates Serverless Functions With Events and Steps

Inngest: multi-step serverless workflows with per-step retries, sleep, and event-driven triggers.

const onSignup = inngest.createFunction(
  { id: 'signup-flow' },
  { event: 'app/user.signup' },
  async ({ event, step }) => {
    await step.run('welcome-email', () => sendEmail(event.data.email))
    await step.sleep('wait', '1d')
    await step.run('tips', () => sendTips(event.data.email))
  }
)
Enter fullscreen mode Exit fullscreen mode

Each step retries independently. Sleep for days between steps. Free: 5,000 runs/month.


Need to automate data collection or build custom scrapers? Check out my Apify actors for ready-made tools, or email spinov001@gmail.com for custom solutions.

Top comments (0)