Clerk icon

Clerk

A custom node in n8n for Clerk.dev allows you to automate interactions with Clerk’s APIs directly within your workflows

Session API → Get Token

AI-generated

Summary

Retrieve a JWT token for a specific session using a defined template.

Inputs

  • sessionId (required) — The ID of the session.
  • template (required) — The name of the JWT template from the Clerk Dashboard to generate a new token from, e.g., 'firebase', 'grafbase', or a custom template's name.

Output shape

a JSON object containing the token details

The output includes the generated token based on the provided session ID and template.

Discussion