SmartLead icon

SmartLead

Interact with SmartLead API (campaigns, leads, inbox, analytics, delivery, and webhooks)

Actions144

Email Account → Add OAuth

AI-generated

Summary

Add OAuth email account

Inputs

  • requestBody — JSON payload containing OAuth credentials and account configuration
  • requestOptions — Additional request settings including batching, batch interval, and other options
  • allowUnauthorizedCerts — Whether to ignore SSL certificate validation errors
  • proxy — HTTP proxy URL (e.g., http://username:password@myproxy:3128)
  • timeout — Request timeout in milliseconds

Output shape

A representation of the newly created OAuth email account (e.g., ID, name, status)

Returns the account object on success; errors are propagated as n8n error nodes. No pagination.

Examples

Example 1: Add an OAuth email account to a campaign

Select Resource = Email Account, Operation = Add OAuth, set Request Body with client_id, client_secret, access_token, optionally adjust batching and timeout.

Example 2: Create OAuth account with batching enabled

Enable batching via requestOptions, set batchSize=100, batchInterval=2000, provide Request Body, keep default timeout.

Example 3: Create OAuth account ignoring SSL issues

Set Allow SSL Issues = true, provide minimal Request Body, leave other defaults.

Links

Discussion