n8n integration (#1940)

This commit is contained in:
LawyZheng
2025-03-20 01:32:55 +08:00
committed by GitHub
parent 05433d68d2
commit d764f5dd12
19 changed files with 13899 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
import {
IAuthenticateGeneric,
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class SkyvernApi implements ICredentialType {
name = 'skyvernApi';
displayName = 'Skyvern API';
// Uses the link to this tutorial as an example
// Replace with your own docs links when building your own nodes
documentationUrl = 'https://docs.skyvern.ai/';
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
{
displayName: 'Base URL',
name: 'baseUrl',
type: 'string',
default: 'https://api.skyvern.com',
placeholder: 'https://api.skyvern.com',
},
];
authenticate: IAuthenticateGeneric = {
type: 'generic',
properties: {
headers: {
'x-api-key': '={{$credentials.apiKey}}',
'Content-Type': 'application/json',
}
},
};
}