Duaer

Integrations

Set up Facebook Lead Ads credentials in Duaer

Store Facebook Lead Ads connection details in Duaer for digital-organization nodes to use at runtime. Secrets are protected by the instance encryption key and are not written into node parameters.

Create a Meta app

The Duaer Facebook Lead Ads OAuth2 API credential:

  1. Create an app on Meta for Developers, add Facebook Login for Business, put the Duaer OAuth Redirect URL in Valid OAuth Redirect URIs in its settings, put App ID and App Secret in Client ID and Client Secret, then click Connect my account.
  2. At consent, pick the Pages whose leads you want. Duaer requests leads_retrieval, pages_manage_metadata, pages_manage_ads, and related scopes; the app needs Meta’s permission review before it works on other people’s Pages.

Facebook Lead Ads Trigger needs Duaer on a public HTTPS address.

Facebook Lead Ads OAuth2 API fields in Duaer

In Duaer, choose Facebook Lead Ads OAuth2 API when you create a credential, then fill in these fields:

  • Client ID (required)
  • Client Secret (required, secret)

Duaer uses the OAuth2 Authorization Code grant for this type.

In the provider’s app settings, register the OAuth Redirect URL that the Duaer credential dialog shows (https://<your-duaer-host>/rest/oauth2-credential/callback). Then click Connect my account in Duaer and approve access.

By default, Duaer requests these scopes: leads_retrieval pages_show_list pages_manage_metadata pages_manage_ads business_management pages_read_engagement.

Optional settings shared by every Duaer OAuth2 credential: Ignore SSL Issues (Insecure), Token Expired Status Code, Encrypted Tokens (JWE), JWKS URI. They are described under OAuth2 API.

Duaer nodes that use it: Facebook Lead Ads Trigger.

Save the connection in Duaer

Open Credentials and create Facebook Lead Ads. Fill in the key, OAuth, or server fields. After you save, digital-organization nodes reference this credential instead of putting the secret in a parameter.

Credential values are protected by the instance encryption key. If you change or lose that key, stored credentials cannot be decrypted. See the hosting notes on encryption keys.

Who can use this credential

Who can see or edit it follows projects and roles. Do not paste secrets into chat or variables. External vaults are covered under external secrets.

Questions

Do Facebook Lead Ads secret values appear in Duaer node parameters?

No. In Duaer, Facebook Lead Ads secrets stay in the credential. Nodes only reference the credential. Execution records should not show the plaintext secret either.

What usually stops a Facebook Lead Ads credential from saving in Duaer?

Wrong fields, an OAuth callback that does not match the instance URL, or a role that cannot create credentials. Check the fields Facebook Lead Ads expects, then confirm you can create credentials in that project.

In this section