Glossary: Next.js Beyond the Basics
Server action
Also written: server function, server actions
An async function that runs on the server but that a form or button in the browser can call. Every action is a public endpoint, so it must validate input and check who is calling.