Skip to main content

Integration Tasks

Connect to external services via HTTP or SSH.

integrations.http​

Display Name: HTTP Request

Make an HTTP request to any REST API or web endpoint. Supports multiple authentication methods including Bearer, Basic, API Key, and OAuth 2.0.

Parameters​

NameTypeRequiredDescription
urlstringYesRequest URL.
methodstringNoHTTP method. Options: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS. Default: GET.
headersobjectNoRequest headers (key-value map).
bodystringNoRequest body (for POST, PUT, PATCH).
auth_typestringNoAuthentication type. Options: "" (none), bearer, basic, api_key, oauth2.
bearer_tokenstringNoBearer token. Visible when auth_type is bearer.
basic_auth_usernamestringNoUsername for Basic auth. Visible when auth_type is basic.
basic_auth_passwordstringNoPassword for Basic auth (encrypted). Visible when auth_type is basic.
api_keystringNoAPI key value (encrypted). Visible when auth_type is api_key.
api_header_namestringNoHeader name for API key. Default: Authorization. Visible when auth_type is api_key.
oauth_token_urlstringNoOAuth 2.0 token endpoint. Visible when auth_type is oauth2.
oauth_client_idstringNoOAuth 2.0 client ID. Visible when auth_type is oauth2.
oauth_client_secretstringNoOAuth 2.0 client secret (encrypted). Visible when auth_type is oauth2.
oauth_scopestringNoOAuth 2.0 scope. Visible when auth_type is oauth2.
oauth_audiencestringNoOAuth 2.0 audience. Visible when auth_type is oauth2.
timeoutstringNoRequest timeout. Default: 30s.
insecure_skip_verifybooleanNoSkip TLS certificate verification. Default: false.
proxy_urlstringNoProxy URL for the request.

Output​

NameTypeDescription
status_codenumberHTTP status code.
headersobjectResponse headers.
bodyanyParsed JSON body (if applicable) or raw string.

integrations.ssh​

Display Name: SSH Request

Run commands on a remote server via SSH using a configured integration.

Parameters​

NameTypeRequiredDescription
integration_idintegrationYesSSH integration ID (contains host, credentials).
commandstringYesCommand to execute on the remote server.
account_idaccountNoNudgebee account ID.

Output​

NameTypeDescription
datastringCommand output.