n8n

The tutorial below takes users through a typical configuration of the n8n DIMO node. To learn more about n8n, including external connections/integrations, please refer to the n8n Documentation.

Prerequisites for Building on n8n

There are a few ways to get connected to n8n:

Option 1 (Recommended for non-developers):

Option 2 (Recommended for developers):

Installing the DIMO Node via npm

The DIMO Node is an npm package that can be installed directly alongside the n8n installation. Simply install the below package in the root directory of your n8n project:

The DIMO n8n node via npm

Setting Your Credentials in the n8n DIMO node

In order to begin using the DIMO node in n8n, you'll first need to set up authentication credentials. From your n8n Home screen, select the "Credentials" tab > "Add Credential" > Select "DIMO API" from the dropdown.

In the DIMO account credentials screen, enter your Client ID, Redirect URI, and API Key as obtained from the DIMO Developer Console app you created earlier. We recommend keeping the Environment set to "Production".

Adding credentials in the DIMO n8n node

Adding Your First DIMO node

Once you've saved your credentials, you're ready to begin using the DIMO node.

As a first step, in a new workflow file, set an initial Trigger that will be used to begin the workflow. If you're just getting started, you can set this to "Trigger Manually" – this will manually run you workflow when clicked.

From there, click the + button next to the Trigger node, and search for DIMO.

The available actions for the DIMO node

Select one of the DIMO actions you're interested in from the sidebar, which are described in greater detail below:

DIMO node Actions

Attestation API Actions

Use the Attestation API to create a Verifiable Credential (VC) for VIN or POM.

Available Actions
  • Create VIN VC

  • Create POM VC

Related Documentation: Attestation API

Authentication API Actions

Use the Vehicle JWT action to quickly obtain a short-lived JWT. Especially useful for rapid prototyping or testing out Telemetry API queries in the Telemetry Playground: https://telemetry-api.dimo.zone/

Available Actions
  • Get Vehicle JWT

Related Documentation: Authentication | Token Exchange API

Device Definitions API Actions

Use this action to submit a decoding request for a vehicle, or return a list of device definitions based on custom search filters.

Available Actions
  • Decode VIN

  • Search

Related Documentation: Device Definitions API

Identity API Actions

Use this action to perform custom GraphQL queries on the DIMO Identity API. You can think of the Identity API as your way of accessing a public catalog of DIMO-connected devices, vehicles, rewards, and developer licenses.

Available Actions
  • Count DIMO Vehicles

  • Custom Identity Query

Related Documentation: Identity API

Telemetry API Actions

Use this action to perform custom GraphQL queries on the DIMO Telemetry API. You can think of the Telemetry API as a way to access telematics (think: tire pressure, odometer, VIN, etc.) from vehicles that have granted you privileged access to that data. Please note, because this is a privileged endpoint, you can only access vehicle data for users who have granted you permission via a Login with DIMO flow.

Available Actions
  • Get Vehicle VIN

  • Custom Telemetry Query

Related Documentation: Telemetry API | Login with DIMO (for permission sharing)

Valuations API Actions

Use this action to lookup valuations, submit an offers request from third party servies, or get a list of vehicle offers for a vehicle tokenId.

Available Actions
  • Valuations Lookup

  • Get Instant Offer

  • List Existing Offers

Related Documentation: Valuations API | Login with DIMO (for permission sharing)

Webhooks Actions

Use this action to register or remove webhooks, subscribe / unsubscribe vehicles from events, and return information about existing webhooks or vehicle events.

Available Actions
  • Delete webhook

  • Get all webhooks

  • Get vehicle webhook subscriptions

  • Get webhook signal names

  • List vehicles subscribed to webhook

  • Register webhook

  • Subscribe all vehicles to webhook

  • Subscribe vehicle to webhook

  • Unsubscribe all vehicles from webhook

  • Unsubscribe vehicle from webhook

  • Update webhook

Related Documentation: Webhooks | Login with DIMO (for permission sharing)

Connecting to External Services

You can read more about how to use DIMO data by connecting the DIMO node to third party services (such as creating AI Agents, Airtable, Google Sheets, etc.) by reviewing n8n's documentation here.

Last updated

Was this helpful?