Actions

In this section, we'll walk step-by-step through building Actions, from the basics up through using complex input types, linked Actions, etc.

We'll do this with the popular API framework NextJS, but since Actions providers are just REST APIs, you can build an Action in any language (JavaScript, TypeScript, Rust, etc.) or any framework (NextJS, Hono, Express, Fastify, etc.) that supports building a REST API.

For more details on the Action specification, check out the Specification section of the docs.

Check Out Our Dashboard

You can also find a step-by-step guide to creating and deploying an Action by visiting Dialect's Dashboard:

  1. Create your first Action using forkable, open-source examples in our GitHub.

  2. Test your action on https://dial.to.

  3. Register your action.

  4. Share your Actions on Twitter, and bring them to life with Blinks support through your favorite extension--including Phantom, Backpack, or Dialect's dedicated Blinks extension.

Check Out Our GitHub

If you'd like examples from more languages, please see our Actions repo on Github, where we have examples developed in more frameworks, such as ExpressJS and Hono.

Last updated