Interact with n8n.
# Configuration-based authentication
provider "n8n" {
host = "http://localhost:5678"
token = "..."
}
host
(String) URI for n8n API. May also be provided via N8N_HOST
environment variable.token
(String, Sensitive) Token for n8n API. May also be provided via N8N_TOKEN
environment variable.The n8n-client-go provides a Go client for interacting with the n8n automation platform.
It offers data structures and methods to handle workflows, nodes, tags, connections, and other related metadata.
The client also includes an HTTP client for the communication with the n8n service, enabling you to: