Configurar uma ação personalizada configure-a-custom-action

Nesta página: conecte uma API REST de terceiros às suas jornadas configurando parâmetros de ponto de extremidade, autenticação, segurança e carga de uma ação personalizada para que o jornada possa chamar esse serviço.

Se você estiver usando um sistema de terceiros para enviar mensagens ou se quiser que as jornadas enviem chamadas de API para um sistema de terceiros, use ações personalizadas para configurar a conexão com sua jornada. Por exemplo, você pode conectar aos seguintes sistemas com ações personalizadas: Epsilon, Slack, Adobe Developer, Firebase etc.

As ações personalizadas são ações adicionais definidas por usuários técnicos e disponibilizadas aos profissionais de marketing. Depois de configuradas, elas são exibidas na paleta esquerda da jornada, na categoria Ação. Saiba mais nesta página.

Etapas de configuração configuration-steps

Estas são as principais etapas necessárias para configurar uma ação personalizada:

  1. Na seção de menu ADMINISTRAÇÃO, selecione Configurações. Na seção Ações, clique em Gerenciar. Clique em Criar ação para criar uma nova ação. O painel de configuração de ação é aberto no lado direito da tela.

  2. Digite um nome para a ação.

    note
    NOTE
    Somente caracteres alfanuméricos e sublinhados são permitidos. O comprimento máximo é de 30 caracteres.
  3. Adicione uma descrição à ação. Esta etapa é opcional.

  4. O número de jornadas que usam esta ação é exibido no campo Usado em. Você pode clicar no botão Exibir jornadas para exibir a lista de jornadas usando esta ação.

  5. Defina os diferentes parâmetros de Configuração de URL. Consulte esta página.

  6. Configure a seção Autenticação. Essa configuração é a mesma das fontes de dados. Consulte esta seção.

    note
    NOTE
    Se o ponto de extremidade retornar um access_token e um id_token, use o campo tokenInResponse para especificar qual token o Journey Optimizer deve usar como credencial de autenticação:
    • "tokenInResponse": "json://access_token" — usar o token de acesso (padrão para OAuth 2.0)
    • "tokenInResponse": "json://id_token" — usar o token de ID (comum em fluxos do OpenID Connect)
    Saiba mais sobre autenticação personalizada
  7. Defina os Parâmetros de ação. Consulte esta página.

  8. Clique em Salvar.

    A ação personalizada agora está configurada e pronta para ser usada em suas jornadas. Consulte esta página.

    note
    NOTE
    Quando uma ação personalizada é usada em uma jornada, a maioria dos parâmetros é somente leitura. Você só pode modificar os campos Nome, Descrição, URL e a seção Autenticação.

Limitações custom-actions-limitations

As ações personalizadas vêm com algumas limitações listadas em esta página.

Em parâmetros de ação personalizados, você pode passar uma coleção simples, bem como uma coleção de objetos. Saiba mais sobre as limitações de coleção em esta página.

Observe também que os parâmetros de ação personalizados têm um formato esperado (por exemplo: sequência, decimal etc.). Você deve ter cuidado para respeitar esses formatos esperados. Saiba mais neste caso de uso.

As ações personalizadas só oferecem suporte ao formato JSON ao usar solicitações ou cargas de resposta.

NOTE
Quando um ponto de extremidade tem um tempo de resposta superior a 0,75 segundos, suas chamadas de ação personalizadas são roteadas por um serviço de ação personalizada lento dedicado em vez do serviço padrão.

Práticas recomendadas custom-action-enhancements-best-practices

Ao escolher um ponto de acesso para destino usando uma ação personalizada, verifique se:

  • Esse ponto de acesso pode suportar a taxa de transferência da jornada, usando configurações da API de limitação ou da API de limite para limitá-la. Tenha cuidado, pois uma configuração de limitação não pode ficar abaixo de 200 TPS. Qualquer terminal direcionado precisará oferecer suporte a pelo menos 200 TPS. Saiba mais sobre taxas de processamento de jornada nesta seção.
  • Esse ponto de acesso precisa ter um tempo de resposta o mais baixo possível. Dependendo da taxa de transferência esperada, ter um tempo de resposta alto pode afetar a taxa de transferência real.

Um limite máximo de 300.000 chamadas em um minuto é definido para todas as ações personalizadas. Além disso, o limite padrão é executado por host e por sandbox. Por exemplo, em uma sandbox, se você tiver dois endpoints com o mesmo host (por exemplo, https://www.adobe.com/endpoint1 e https://www.adobe.com/endpoint2), o limite será aplicado a todos os endpoints no host adobe.com. “endpoint1” e “endpoint2” compartilharão a mesma configuração de limitação e fazer com que um endpoint atinja o limite terá impacto no outro endpoint.

NOTE
O limite de 300.000 chamadas por minuto é aplicado como uma janela deslizante por sandbox e por ponto de extremidade para pontos de extremidade com tempos de resposta inferiores a 0,75 segundos. A janela deslizante pode começar a qualquer milissegundo, o que significa que erros de limite podem ocorrer mesmo se a taxa aparecer abaixo de 300 k/min quando alinhada aos minutos do relógio. Para endpoints com tempos de resposta maiores que 0,75 segundo, um limite separado de 150.000 chamadas por 30 segundos (também uma janela deslizante) é aplicado. Saiba mais sobre pontos de extremidade lentos em esta página.

O limite padrão de 300.000 chamadas por minuto se aplica no nível de domínio (ou seja, example.com). Se você precisar de um limite mais alto, consulte o Suporte da Adobe com evidências de uso e confirme a taxa de transferência do seu endpoint. Para solicitar um aumento de limite, forneça detalhes sobre o volume de chamadas esperado e a capacidade do endpoint. A Adobe pode personalizar o limite se o teste de capacidade demonstrar que o endpoint pode lidar com uma taxa de transferência mais alta. Para práticas recomendadas, considere reestruturar jornadas ou implementar atividades de espera para escalonar chamadas de saída e evitar erros de limite.

Esse limite foi definido com base no uso do cliente para proteger endpoints externos direcionados por ações personalizadas. Se necessário, é possível substituir essa configuração aumentando o limite máximo por meio das APIs de limite e limitação. Consulte esta página.

Você não deve direcionar endpoints públicos com ações personalizadas por vários motivos:

  • Sem limitação ou limitação adequada, há o risco de enviar muitas chamadas para um endpoint público que pode não suportar esse volume.
  • Os dados do perfil podem ser enviados por meio de ações personalizadas, portanto, o direcionamento a um endpoint público pode levar ao compartilhamento externo inadvertido de informações pessoais.
  • Você não tem controle sobre os dados que estão sendo retornados por pontos de extremidade públicos. Se um endpoint alterar sua API ou começar a enviar informações incorretas, elas serão disponibilizadas nas comunicações enviadas, com possíveis impactos negativos.

Consentimento e governança de dados privacy

No Journey Optimizer, você pode aplicar políticas de consentimento e governança de dados às ações personalizadas para impedir que campos específicos sejam exportados para sistemas de terceiros ou excluir clientes que não consentiram em receber comunicações por email, push ou móveis. Para obter mais informações, consulte as seguintes páginas:

Configuração do endpoint url-configuration

Ao configurar uma ação personalizada, você precisa definir os seguintes parâmetros de Configuração do Ponto de Extremidade:

{width="70%"}

  1. No campo URL, especifique a URL do serviço externo:

    • Se o URL for estático, insira o URL neste campo.

    • Se o URL incluir um caminho dinâmico, insira apenas a parte estática do URL, ou seja, o esquema, o host, a porta e, opcionalmente, uma parte estática do caminho.

      Exemplo: https://xxx.yyy.com/somethingstatic/

      Você especificará o caminho dinâmico do URL ao adicionar a ação personalizada a uma jornada. Saiba mais.

    note
    NOTE
    Por motivos de segurança, recomendamos que você use o esquema HTTPS para o URL. Não permitimos o uso de endereços Adobe que não sejam públicos e o uso de endereços IP.
    Somente as portas padrão são permitidas ao definir uma ação personalizada: 80 para http e 443 para https.
  2. Selecione a chamada Método: pode ser POSTAR, GET ou PUT.

    note
    NOTE
    Não há suporte para o método DELETE. Se precisar atualizar um recurso existente, selecione o método PUT.
  3. Lidar com possíveis redirecionamentos (302 respostas). As ações personalizadas seguem automaticamente os redirecionamentos HTTP 302 com base em cada solicitação.

  4. Defina os cabeçalhos e parâmetros de consulta:

    • Na seção Cabeçalhos, clique em Adicionar um campo de cabeçalho para definir os cabeçalhos HTTP da mensagem de solicitação a ser enviada ao serviço externo. Os campos de cabeçalho Content-Type e Charset são definidos por padrão. Não é possível excluir esses campos. Somente o cabeçalho Content-Type pode ser modificado. Seu valor deve respeitar o formato JSON. Este é o valor padrão:

    • Na seção Parâmetros de consulta, clique em Adicionar um campo de parâmetro de consulta para definir os parâmetros que deseja adicionar à URL.

  5. Insira o rótulo ou o nome do campo.

  6. Selecione o tipo: Constante ou Variável. Se você selecionou Constante, insira o valor constante no campo Valor. Se você selecionou Variável, especificará essa variável ao adicionar a ação personalizada a uma jornada. Saiba mais.

    note
    NOTE
    Depois de ter adicionado a ação personalizada a uma jornada, ainda será possível adicionar campos de parâmetros de cabeçalho ou consulta a ela se a jornada estiver em status de rascunho. Se não quiser que a jornada seja afetada pelas alterações de configuração, duplique a ação personalizada e adicione os campos à nova ação personalizada.
    Os cabeçalhos são validados de acordo com as regras de análise de campo. Saiba mais em esta documentação.

Camada de segurança de transporte tls

Suporte ao protocolo TLS tls-protocol-support

Por padrão, o Adobe Journey Optimizer é compatível com TLS 1.3 para ações personalizadas. Se um cliente também suportar TLS 1.3, a comunicação será conduzida por TLS 1.3. Caso contrário, o processo de negociação do TLS pode recorrer ao TLS 1.2.

Suporte ao protocolo mTLS mtls-protocol-support

Você pode usar o MTLS (Mutual Transport Layer Security) para garantir segurança aprimorada em conexões de saída para ações personalizadas de Adobe Journey Optimizer. O mTLS é um método de segurança completo para autenticação mútua que garante que ambas as partes que compartilham informações sejam quem afirmam ser antes que os dados sejam compartilhados. O mTLS inclui uma etapa adicional em comparação ao TLS, na qual o servidor também solicita o certificado do cliente e o verifica ao final.

A autenticação TLS mútuo (mTLS) é compatível com ações personalizadas. Não é necessária uma configuração adicional da ação personalizada ou jornada para ativar o mTLS; isso ocorre automaticamente ao detectar um ponto de acesso habilitado para mTLS. Saiba mais.

IMPORTANT
O Adobe gira periodicamente o certificado de cliente mTLS usado para conexões de ação personalizadas. Quando um novo certificado é emitido, o armazenamento de confiança do seu endpoint deve ser atualizado para aceitá-lo. Caso contrário, as conexões de saída do Journey Optimizer para o seu serviço falharão com um erro de incompatibilidade de certificado. Para evitar interrupções:
  • Verifique regularmente a API de Certificado Público do Adobe para obter certificados atualizados associados aos seus serviços.
  • Configure seu ponto de extremidade para aceitar certificados sobrepostos (tanto o certificado antigo quanto o novo simultaneamente), de modo que não haja lacuna de conectividade durante a rotação.
  • Atualmente, o Adobe não envia notificações ativas quando um certificado é girado. É sua responsabilidade monitorar atualizações de certificados e manter seu armazenamento de confiança atualizado.
  • A validação de confiança deve se basear na cadeia de certificados até a CA raiz (DigiCert), em vez de fixar em uma impressão digital específica do certificado de folha.

Autenticação personalizada baseada em certificado certificate-based-auth

Para APIs corporativas que impõem a verificação de identidade baseada em certificado, como Microsoft Entra ID, as ações personalizadas oferecem suporte à Autenticação Personalizada Baseada em Certificado. Para habilitá-lo, defina "subType": "certificateCredential" na carga de autorização personalizada configurada na seção Autenticação.

Por padrão, a Journey Optimizer usa o certificado gerenciado da Adobe para assinar uma asserção de cliente JWT com RS256 e trocá-la automaticamente por um token de acesso. Não é necessário nenhum segredo do cliente para esta opção padrão. Omitir alg ou defini-lo como RS256 preserva o fluxo RSA existente.

AVAILABILITY
A autenticação JWT assinada por HMAC está disponível com disponibilidade limitada.

Para provedores de identidade que aceitam client_secret_jwt, defina o campo de carga alg opcional (HS256, HS384 ou HS512) e adicione seu OAuth client_secret a body.bodyParams. O Journey Optimizer usa o segredo para assinar a asserção sem enviá-la na solicitação de token. Nenhum registro de certificado do Adobe é necessário. Qualquer outro valor, incluindo minúsculas, é rejeitado quando a autenticação é testada ou executada. Consulte requisitos de configuração do HMAC.

Para obter a estrutura de carga completa, descrições de campos e medidas de proteção de configuração, consulte Autenticação personalizada com base em certificado.

Definir os parâmetros de carga define-the-message-parameters

Você pode definir o parâmetro de carga útil conforme detalhado abaixo:

  1. Na seção Solicitação, cole um exemplo da carga JSON para enviar ao serviço externo. Este campo é opcional e só está disponível para os métodos de chamada POST e PUT.

    Habilite a opção Permitir valores NULL para manter valores Null na chamada externa. Observe que não há suporte total para o envio de matrizes de int, string etc. com valores Null em. Por exemplo, a seguinte matriz de inteiros [1, null, 2, 3] é enviada como [1, 2, 3] mesmo que esta opção esteja marcada. Além disso, se tal matriz for nula, ela será enviada como uma matriz vazia.

    {width="70%"}

  2. Na seção Resposta, cole um exemplo da carga retornada quando a chamada for bem-sucedida. Este campo é opcional e está disponível para todos os métodos de chamada. Para obter informações detalhadas sobre como aproveitar as respostas de chamada da API em ações personalizadas, consulte esta página.

    {width="70%"}

  3. (Opcional) Selecione Definir uma carga de resposta de falha para habilitar o campo de carga de resposta de erro. Quando habilitado, use a seção Resposta de Erro para colar um exemplo da carga retornada quando a chamada falha. Os mesmos requisitos se aplicam à carga da resposta (tipos de campo e formato). Saiba como aproveitar a carga de resposta de falha no jornada aqui.

    {width="70%"}

NOTE
Os nomes de campos na carga não podem conter um caractere de ponto ., nem começar com um caractere $.

Nessa configuração de campo, você deve:

  • Selecione o tipo de parâmetro, por exemplo: string, inteiro etc.

  • Defina uma constante ou um parâmetro de variável:

    • Constante significa que o valor do parâmetro é definido no painel de configuração da ação por um usuário técnico. O valor será sempre o mesmo nas jornadas. Ela não varia e o profissional de marketing não consegue visualizá-la ao usar a ação personalizada na jornada. Pode ser, por exemplo, uma ID que o sistema de terceiros espera. Nesse caso, o valor constante é definido no campo à direita da constante/variável de alternância.

    • Variável significa que o valor do parâmetro pode variar. Os profissionais de marketing que usam essa ação personalizada em uma jornada podem passar o valor desejado ou especificar onde recuperar o valor desse parâmetro (por exemplo, do evento, do Adobe Experience Platform etc.). Nesse caso, o campo à direita da constante/variável de alternância é o rótulo que os comerciantes verão na jornada para nomear esse parâmetro.

    Para parâmetros opcionais, habilite a opção Is optional no final da linha. Ao marcar essa opção, você marca o parâmetro como não obrigatório e permite que os profissionais de jornada optem por preenchê-lo ou não ao criar essa ação personalizada em uma jornada.

NOTE
Se você configurar parâmetros opcionais enquanto permite valores Nulos, os parâmetros não preenchidos por um profissional do jornada serão enviados como Nulos.

Recursos adicionais

Navegue pelas seções abaixo para saber mais sobre como configurar, usar e solucionar problemas de ações personalizadas:

AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page explains how to configure a custom action that connects journeys to a third-party system or REST API: its endpoint, method, headers and query parameters, authentication, transport security, and request and response payload parameters.

Intents:

  • Create a custom action from Configurations in the ADMINISTRATION menu section, in the Actions section, with Manage and then Create Action.
  • Define the endpoint of a custom action: the URL (static, or the static part of a URL that includes a dynamic path), the call Method, the headers and the query parameters.
  • Configure the Authentication section of a custom action, including the tokenInResponse field and Certificate-Based Custom Authentication.
  • Define the payload parameters of a custom action: an example Request payload, an example Response payload and, optionally, a failure response payload in the Error Response section.
  • Set each payload parameter as a constant or a variable, select its type, and mark it as optional with the Is optional option.
  • Choose an endpoint that can support the journey throughput and keep the custom action calls within the capping limits.

Glossary:

  • Custom action (product-specific): An additional action defined by technical users and made available to marketers, used to configure the connection of a journey to a third-party system that sends messages or that receives API calls from journeys (for example Epsilon, Slack, Adobe Developer or Firebase). Once configured, a custom action appears in the left palette of the journey, in the Action category.
  • Constant parameter (product-specific): A parameter whose value is defined in the action configuration pane by a technical persona. The value is always the same across journeys, does not vary, and the marketer cannot see it when using the custom action in the journey (for example an ID the third-party system expects).
  • Variable parameter (product-specific): A parameter whose value can vary. Marketers using the custom action in a journey pass the value they want or specify where to retrieve it (for example from the event or from Adobe Experience Platform). The field to the right of the constant/variable toggle is the label marketers see in the journey for this parameter.
  • Is optional (product-specific): The option at the end of a parameter line that marks the parameter as non-mandatory, so journey practitioners choose whether to fill it when authoring the custom action in a journey.
  • Allow NULL values (product-specific): The option in the Request section that keeps Null values in the external call.
  • Error Response (product-specific): The section, enabled by selecting Define a failure response payload, where you paste an example of the payload returned when the call fails. The same requirements (field types and format) apply as for the response payload.
  • tokenInResponse (product-specific): The field that specifies which token Journey Optimizer uses as the authentication credential when the endpoint returns both an access_token and an id_token: "tokenInResponse": "json://access_token" uses the access token (default for OAuth 2.0), and "tokenInResponse": "json://id_token" uses the ID token (common in OpenID Connect flows).
  • Mutual Transport Layer Security (mTLS): An end-to-end security method for mutual authentication that ensures that both parties sharing information are who they claim to be before data is shared. Compared to TLS, mTLS includes an additional step in which the server also asks for the client’s certificate and verifies it.
  • Certificate-Based Custom Authentication (product-specific): The custom action authentication for enterprise APIs that enforce certificate-based identity verification, such as Microsoft Entra ID, enabled by setting "subType": "certificateCredential" in the custom authorization payload configured in the Authentication section. By default, Journey Optimizer uses Adobe’s managed certificate to sign a JWT client assertion with RS256 and automatically exchanges it for an access token; no client secret is required for this default option.

Guardrails:

  • A custom action name accepts only alphanumeric characters and underscores, with a maximum length of 30 characters (hard limit).
  • When a custom action is used in a journey, most parameters are read-only: only the Name, Description and URL fields and the Authentication section can be modified.
  • Adobe addresses that are not public and IP addresses are not allowed in the URL. Only the default ports are allowed: 80 for http and 443 for https.
  • The call Method can be POST, GET or PUT. The DELETE method is not supported; to update an existing resource, select the PUT method.
  • The Content-Type and Charset header fields are set by default and cannot be deleted. Only the Content-Type header can be modified, and its value should respect the JSON format.
  • Custom actions support JSON format only for request and response payloads.
  • The Request section is optional and only available for the POST and PUT calling methods. The Response section is optional and available for all calling methods.
  • Field names in the payload cannot contain a dot . character, nor start with a `—
    title: AI Knowledge Reference

AI Knowledge Reference

accordion
AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page explains how to configure a custom action that connects journeys to a third-party system or REST API: its endpoint, method, headers and query parameters, authentication, transport security, and request and response payload parameters.

Intents:

  • Create a custom action from Configurations in the ADMINISTRATION menu section, in the Actions section, with Manage and then Create Action.
  • Define the endpoint of a custom action: the URL (static, or the static part of a URL that includes a dynamic path), the call Method, the headers and the query parameters.
  • Configure the Authentication section of a custom action, including the tokenInResponse field and Certificate-Based Custom Authentication.
  • Define the payload parameters of a custom action: an example Request payload, an example Response payload and, optionally, a failure response payload in the Error Response section.
  • Set each payload parameter as a constant or a variable, select its type, and mark it as optional with the Is optional option.
  • Choose an endpoint that can support the journey throughput and keep the custom action calls within the capping limits.

Glossary:

  • Custom action (product-specific): An additional action defined by technical users and made available to marketers, used to configure the connection of a journey to a third-party system that sends messages or that receives API calls from journeys (for example Epsilon, Slack, Adobe Developer or Firebase). Once configured, a custom action appears in the left palette of the journey, in the Action category.
  • Constant parameter (product-specific): A parameter whose value is defined in the action configuration pane by a technical persona. The value is always the same across journeys, does not vary, and the marketer cannot see it when using the custom action in the journey (for example an ID the third-party system expects).
  • Variable parameter (product-specific): A parameter whose value can vary. Marketers using the custom action in a journey pass the value they want or specify where to retrieve it (for example from the event or from Adobe Experience Platform). The field to the right of the constant/variable toggle is the label marketers see in the journey for this parameter.
  • Is optional (product-specific): The option at the end of a parameter line that marks the parameter as non-mandatory, so journey practitioners choose whether to fill it when authoring the custom action in a journey.
  • Allow NULL values (product-specific): The option in the Request section that keeps Null values in the external call.
  • Error Response (product-specific): The section, enabled by selecting Define a failure response payload, where you paste an example of the payload returned when the call fails. The same requirements (field types and format) apply as for the response payload.
  • tokenInResponse (product-specific): The field that specifies which token Journey Optimizer uses as the authentication credential when the endpoint returns both an access_token and an id_token: "tokenInResponse": "json://access_token" uses the access token (default for OAuth 2.0), and "tokenInResponse": "json://id_token" uses the ID token (common in OpenID Connect flows).
  • Mutual Transport Layer Security (mTLS): An end-to-end security method for mutual authentication that ensures that both parties sharing information are who they claim to be before data is shared. Compared to TLS, mTLS includes an additional step in which the server also asks for the client’s certificate and verifies it.
  • Certificate-Based Custom Authentication (product-specific): The custom action authentication for enterprise APIs that enforce certificate-based identity verification, such as Microsoft Entra ID, enabled by setting "subType": "certificateCredential" in the custom authorization payload configured in the Authentication section. By default, Journey Optimizer uses Adobe’s managed certificate to sign a JWT client assertion with RS256 and automatically exchanges it for an access token; no client secret is required for this default option.

Guardrails:

  • A custom action name accepts only alphanumeric characters and underscores, with a maximum length of 30 characters (hard limit).
  • When a custom action is used in a journey, most parameters are read-only: only the Name, Description and URL fields and the Authentication section can be modified.
  • Adobe addresses that are not public and IP addresses are not allowed in the URL. Only the default ports are allowed: 80 for http and 443 for https.
  • The call Method can be POST, GET or PUT. The DELETE method is not supported; to update an existing resource, select the PUT method.
  • The Content-Type and Charset header fields are set by default and cannot be deleted. Only the Content-Type header can be modified, and its value should respect the JSON format.
  • Custom actions support JSON format only for request and response payloads.
  • The Request section is optional and only available for the POST and PUT calling methods. The Response section is optional and available for all calling methods.
  • Field names in the payload cannot contain a dot . character, nor start with a character.
  • Custom action parameters have an expected format (for example string or decimal), and you must be careful to respect these expected formats.
  • Sending arrays of int, string, etc. with Null values within is not fully supported: for example, the array of integers [1, null, 2, 3] is sent as [1, 2, 3] even if the Allow NULL values option is checked, and if such an array is null, it is sent as an empty array.
  • A throttling configuration cannot go below 200 TPS, and any endpoint targeted needs to support at least 200 TPS.
  • A capping limit of 300,000 calls over one minute is defined for all custom actions (default). The default capping is performed per host and per sandbox: endpoints with the same host (for example https://www.adobe.com/endpoint1 and https://www.adobe.com/endpoint2) share the same capping configuration, and one endpoint reaching the limit has an impact on the other. The default 300,000 calls per minute limit applies at the domain level (for example example.com). You can override this setting by defining a greater capping or throttling limit through the Capping/Throttling APIs.
  • For endpoints with response times less than 0.75 seconds, the 300,000 calls per minute cap is enforced as a sliding window per sandbox and per endpoint. For endpoints with response times greater than 0.75 seconds, a separate limit of 150,000 calls per 30 seconds applies, also as a sliding window.
  • When an endpoint has a response time greater than 0.75 seconds, its custom action calls are routed through a dedicated slow custom action service instead of the default service.

Terminology:

  • Canonical name: Mutual Transport Layer Security — Acronym: mTLS — variants: Mutual TLS
  • Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
  • Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Platform

FAQ:

  • Can I edit a custom action that is already used in a journey? Most parameters are read-only. You can only modify the Name, Description and URL fields and the Authentication section. If the journey is in draft status, you can still add header or query parameter fields; if you do not want the journey to be affected by configuration changes, duplicate the custom action and add the fields to the new custom action.
  • How do I configure a URL that includes a dynamic path? Enter only the static part of the URL in the URL field (the scheme, the host, the port, and, optionally, a static part of the path, for example https://xxx.yyy.com/somethingstatic/). You specify the dynamic path when adding the custom action to a journey.
  • Do custom actions follow redirects? Yes. Custom actions automatically follow HTTP 302 redirects on a per-request basis.
  • Which TLS version do custom actions use? Adobe Journey Optimizer supports TLS 1.3 by default for custom actions. If a client also supports TLS 1.3, communication is conducted over TLS 1.3; otherwise, the TLS negotiation process may fall back to TLS 1.2.
  • Do I need to configure anything to use mTLS? No. There is no additional configuration required in the custom action or journey to activate mTLS; it occurs automatically when an mTLS-enabled endpoint is detected.
  • What happens to optional parameters that a journey practitioner does not fill in? If you configure optional parameters while allowing Null values, parameters not filled in by a journey practitioner are sent as Null.

Troubleshooting:

  • Outbound connections from Journey Optimizer to your service fail with a certificate mismatch error: Adobe periodically rotates the mTLS client certificate used for custom action connections, and your endpoint’s trust store must be updated to accept a new certificate. Adobe does not currently send proactive notifications when a certificate is rotated; it is your responsibility to monitor for certificate updates and keep your trust store current. To avoid disruption, regularly check the Adobe Public Certificate API for updated certificates associated with your services, configure your endpoint to accept overlapping certificates (both the old and new certificate simultaneously), and base trust validation on the certificate chain up to the Root CA (DigiCert) rather than pinning to a specific leaf certificate fingerprint.
  • Capping errors occur although the call rate appears below 300k/min: The 300,000 calls per minute cap is enforced as a sliding window that can begin at any millisecond, so capping errors may occur even if the rate appears below 300k/min when aligned to clock minutes.

Examples:

  • client_secret_jwt with Certificate-Based Custom Authentication: for identity providers that accept client_secret_jwt, set the optional alg payload field (HS256, HS384, or HS512) and add your OAuth client_secret to body.bodyParams. Journey Optimizer uses the secret to sign the assertion without sending it in the token request, and no Adobe certificate registration is required. Any other alg value, including lowercase, is rejected when the authentication is tested or executed. Omitting alg or setting it to RS256 preserves the existing RSA flow. HMAC-signed JWT authentication is available in Limited Availability.

Best practices:

  • For security reasons, Adobe strongly recommends that you use the HTTPS scheme for the custom action URL (recommendation).
  • When choosing an endpoint to target using a custom action, be sure that the endpoint can support the journey throughput, using configurations from the Throttling API or Capping API to limit it, and that the endpoint has a response time as low as possible: depending on your expected throughput, a high response time could impact the actual throughput.
  • You should not target public endpoints with custom actions: without proper capping or throttling, there is a risk of sending too many calls to a public endpoint that may not support such volume; profile data can be sent through custom actions, so targeting a public endpoint could lead to inadvertently sharing personal information externally; and you have no control over the data being returned by public endpoints: if an endpoint changes its API or starts sending incorrect information, those are made available in communications sent, with potential negative impacts.
  • To request a capping increase, consult Adobe Support with usage evidence, confirm your endpoint’s throughput, and provide details of your expected call volume and endpoint capacity. Adobe may customize capping if capacity testing demonstrates the endpoint can handle higher throughput.
  • To avoid capping errors, consider restructuring journeys or implementing wait activities to stagger outbound calls.

Related pages:

Personas:

  • developer: Can paste an example JSON payload in the Request section for the POST and PUT calling methods. Can paste an example payload in the Response section for all calling methods. Can select each parameter type, for example string or integer, and define it as a constant or a variable parameter. The page states that field names in the payload cannot contain a dot . character, nor start with a `—
    title: AI Knowledge Reference

AI Knowledge Reference

accordion
AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page explains how to configure a custom action that connects journeys to a third-party system or REST API: its endpoint, method, headers and query parameters, authentication, transport security, and request and response payload parameters.

Intents:

  • Create a custom action from Configurations in the ADMINISTRATION menu section, in the Actions section, with Manage and then Create Action.
  • Define the endpoint of a custom action: the URL (static, or the static part of a URL that includes a dynamic path), the call Method, the headers and the query parameters.
  • Configure the Authentication section of a custom action, including the tokenInResponse field and Certificate-Based Custom Authentication.
  • Define the payload parameters of a custom action: an example Request payload, an example Response payload and, optionally, a failure response payload in the Error Response section.
  • Set each payload parameter as a constant or a variable, select its type, and mark it as optional with the Is optional option.
  • Choose an endpoint that can support the journey throughput and keep the custom action calls within the capping limits.

Glossary:

  • Custom action (product-specific): An additional action defined by technical users and made available to marketers, used to configure the connection of a journey to a third-party system that sends messages or that receives API calls from journeys (for example Epsilon, Slack, Adobe Developer or Firebase). Once configured, a custom action appears in the left palette of the journey, in the Action category.
  • Constant parameter (product-specific): A parameter whose value is defined in the action configuration pane by a technical persona. The value is always the same across journeys, does not vary, and the marketer cannot see it when using the custom action in the journey (for example an ID the third-party system expects).
  • Variable parameter (product-specific): A parameter whose value can vary. Marketers using the custom action in a journey pass the value they want or specify where to retrieve it (for example from the event or from Adobe Experience Platform). The field to the right of the constant/variable toggle is the label marketers see in the journey for this parameter.
  • Is optional (product-specific): The option at the end of a parameter line that marks the parameter as non-mandatory, so journey practitioners choose whether to fill it when authoring the custom action in a journey.
  • Allow NULL values (product-specific): The option in the Request section that keeps Null values in the external call.
  • Error Response (product-specific): The section, enabled by selecting Define a failure response payload, where you paste an example of the payload returned when the call fails. The same requirements (field types and format) apply as for the response payload.
  • tokenInResponse (product-specific): The field that specifies which token Journey Optimizer uses as the authentication credential when the endpoint returns both an access_token and an id_token: "tokenInResponse": "json://access_token" uses the access token (default for OAuth 2.0), and "tokenInResponse": "json://id_token" uses the ID token (common in OpenID Connect flows).
  • Mutual Transport Layer Security (mTLS): An end-to-end security method for mutual authentication that ensures that both parties sharing information are who they claim to be before data is shared. Compared to TLS, mTLS includes an additional step in which the server also asks for the client’s certificate and verifies it.
  • Certificate-Based Custom Authentication (product-specific): The custom action authentication for enterprise APIs that enforce certificate-based identity verification, such as Microsoft Entra ID, enabled by setting "subType": "certificateCredential" in the custom authorization payload configured in the Authentication section. By default, Journey Optimizer uses Adobe’s managed certificate to sign a JWT client assertion with RS256 and automatically exchanges it for an access token; no client secret is required for this default option.

Guardrails:

  • A custom action name accepts only alphanumeric characters and underscores, with a maximum length of 30 characters (hard limit).
  • When a custom action is used in a journey, most parameters are read-only: only the Name, Description and URL fields and the Authentication section can be modified.
  • Adobe addresses that are not public and IP addresses are not allowed in the URL. Only the default ports are allowed: 80 for http and 443 for https.
  • The call Method can be POST, GET or PUT. The DELETE method is not supported; to update an existing resource, select the PUT method.
  • The Content-Type and Charset header fields are set by default and cannot be deleted. Only the Content-Type header can be modified, and its value should respect the JSON format.
  • Custom actions support JSON format only for request and response payloads.
  • The Request section is optional and only available for the POST and PUT calling methods. The Response section is optional and available for all calling methods.
  • Field names in the payload cannot contain a dot . character, nor start with a `—
    title: AI Knowledge Reference

AI Knowledge Reference

accordion
AI Knowledge Reference

This section contains structured knowledge intended to support interpretation, retrieval, and question answering related to this topic.

For complete understanding, this information should be combined with the documentation on this page. Neither source is intended to stand alone; the page describes the feature, while this section provides additional context that helps disambiguate terminology, intent, applicability, and constraints.

  • TL;DR: This page explains how to configure a custom action that connects journeys to a third-party system or REST API: its endpoint, method, headers and query parameters, authentication, transport security, and request and response payload parameters.

Intents:

  • Create a custom action from Configurations in the ADMINISTRATION menu section, in the Actions section, with Manage and then Create Action.
  • Define the endpoint of a custom action: the URL (static, or the static part of a URL that includes a dynamic path), the call Method, the headers and the query parameters.
  • Configure the Authentication section of a custom action, including the tokenInResponse field and Certificate-Based Custom Authentication.
  • Define the payload parameters of a custom action: an example Request payload, an example Response payload and, optionally, a failure response payload in the Error Response section.
  • Set each payload parameter as a constant or a variable, select its type, and mark it as optional with the Is optional option.
  • Choose an endpoint that can support the journey throughput and keep the custom action calls within the capping limits.

Glossary:

  • Custom action (product-specific): An additional action defined by technical users and made available to marketers, used to configure the connection of a journey to a third-party system that sends messages or that receives API calls from journeys (for example Epsilon, Slack, Adobe Developer or Firebase). Once configured, a custom action appears in the left palette of the journey, in the Action category.
  • Constant parameter (product-specific): A parameter whose value is defined in the action configuration pane by a technical persona. The value is always the same across journeys, does not vary, and the marketer cannot see it when using the custom action in the journey (for example an ID the third-party system expects).
  • Variable parameter (product-specific): A parameter whose value can vary. Marketers using the custom action in a journey pass the value they want or specify where to retrieve it (for example from the event or from Adobe Experience Platform). The field to the right of the constant/variable toggle is the label marketers see in the journey for this parameter.
  • Is optional (product-specific): The option at the end of a parameter line that marks the parameter as non-mandatory, so journey practitioners choose whether to fill it when authoring the custom action in a journey.
  • Allow NULL values (product-specific): The option in the Request section that keeps Null values in the external call.
  • Error Response (product-specific): The section, enabled by selecting Define a failure response payload, where you paste an example of the payload returned when the call fails. The same requirements (field types and format) apply as for the response payload.
  • tokenInResponse (product-specific): The field that specifies which token Journey Optimizer uses as the authentication credential when the endpoint returns both an access_token and an id_token: "tokenInResponse": "json://access_token" uses the access token (default for OAuth 2.0), and "tokenInResponse": "json://id_token" uses the ID token (common in OpenID Connect flows).
  • Mutual Transport Layer Security (mTLS): An end-to-end security method for mutual authentication that ensures that both parties sharing information are who they claim to be before data is shared. Compared to TLS, mTLS includes an additional step in which the server also asks for the client’s certificate and verifies it.
  • Certificate-Based Custom Authentication (product-specific): The custom action authentication for enterprise APIs that enforce certificate-based identity verification, such as Microsoft Entra ID, enabled by setting "subType": "certificateCredential" in the custom authorization payload configured in the Authentication section. By default, Journey Optimizer uses Adobe’s managed certificate to sign a JWT client assertion with RS256 and automatically exchanges it for an access token; no client secret is required for this default option.

Guardrails:

  • A custom action name accepts only alphanumeric characters and underscores, with a maximum length of 30 characters (hard limit).
  • When a custom action is used in a journey, most parameters are read-only: only the Name, Description and URL fields and the Authentication section can be modified.
  • Adobe addresses that are not public and IP addresses are not allowed in the URL. Only the default ports are allowed: 80 for http and 443 for https.
  • The call Method can be POST, GET or PUT. The DELETE method is not supported; to update an existing resource, select the PUT method.
  • The Content-Type and Charset header fields are set by default and cannot be deleted. Only the Content-Type header can be modified, and its value should respect the JSON format.
  • Custom actions support JSON format only for request and response payloads.
  • The Request section is optional and only available for the POST and PUT calling methods. The Response section is optional and available for all calling methods.
  • Field names in the payload cannot contain a dot . character, nor start with a character.
  • Custom action parameters have an expected format (for example string or decimal), and you must be careful to respect these expected formats.
  • Sending arrays of int, string, etc. with Null values within is not fully supported: for example, the array of integers [1, null, 2, 3] is sent as [1, 2, 3] even if the Allow NULL values option is checked, and if such an array is null, it is sent as an empty array.
  • A throttling configuration cannot go below 200 TPS, and any endpoint targeted needs to support at least 200 TPS.
  • A capping limit of 300,000 calls over one minute is defined for all custom actions (default). The default capping is performed per host and per sandbox: endpoints with the same host (for example https://www.adobe.com/endpoint1 and https://www.adobe.com/endpoint2) share the same capping configuration, and one endpoint reaching the limit has an impact on the other. The default 300,000 calls per minute limit applies at the domain level (for example example.com). You can override this setting by defining a greater capping or throttling limit through the Capping/Throttling APIs.
  • For endpoints with response times less than 0.75 seconds, the 300,000 calls per minute cap is enforced as a sliding window per sandbox and per endpoint. For endpoints with response times greater than 0.75 seconds, a separate limit of 150,000 calls per 30 seconds applies, also as a sliding window.
  • When an endpoint has a response time greater than 0.75 seconds, its custom action calls are routed through a dedicated slow custom action service instead of the default service.

Terminology:

  • Canonical name: Mutual Transport Layer Security — Acronym: mTLS — variants: Mutual TLS
  • Canonical name: Adobe Journey Optimizer — Acronym: AJO — variants: Journey Optimizer
  • Canonical name: Adobe Experience Platform — Acronym: AEP — variants: Platform

FAQ:

  • Can I edit a custom action that is already used in a journey? Most parameters are read-only. You can only modify the Name, Description and URL fields and the Authentication section. If the journey is in draft status, you can still add header or query parameter fields; if you do not want the journey to be affected by configuration changes, duplicate the custom action and add the fields to the new custom action.
  • How do I configure a URL that includes a dynamic path? Enter only the static part of the URL in the URL field (the scheme, the host, the port, and, optionally, a static part of the path, for example https://xxx.yyy.com/somethingstatic/). You specify the dynamic path when adding the custom action to a journey.
  • Do custom actions follow redirects? Yes. Custom actions automatically follow HTTP 302 redirects on a per-request basis.
  • Which TLS version do custom actions use? Adobe Journey Optimizer supports TLS 1.3 by default for custom actions. If a client also supports TLS 1.3, communication is conducted over TLS 1.3; otherwise, the TLS negotiation process may fall back to TLS 1.2.
  • Do I need to configure anything to use mTLS? No. There is no additional configuration required in the custom action or journey to activate mTLS; it occurs automatically when an mTLS-enabled endpoint is detected.
  • What happens to optional parameters that a journey practitioner does not fill in? If you configure optional parameters while allowing Null values, parameters not filled in by a journey practitioner are sent as Null.

Troubleshooting:

  • Outbound connections from Journey Optimizer to your service fail with a certificate mismatch error: Adobe periodically rotates the mTLS client certificate used for custom action connections, and your endpoint’s trust store must be updated to accept a new certificate. Adobe does not currently send proactive notifications when a certificate is rotated; it is your responsibility to monitor for certificate updates and keep your trust store current. To avoid disruption, regularly check the Adobe Public Certificate API for updated certificates associated with your services, configure your endpoint to accept overlapping certificates (both the old and new certificate simultaneously), and base trust validation on the certificate chain up to the Root CA (DigiCert) rather than pinning to a specific leaf certificate fingerprint.
  • Capping errors occur although the call rate appears below 300k/min: The 300,000 calls per minute cap is enforced as a sliding window that can begin at any millisecond, so capping errors may occur even if the rate appears below 300k/min when aligned to clock minutes.

Examples:

  • client_secret_jwt with Certificate-Based Custom Authentication: for identity providers that accept client_secret_jwt, set the optional alg payload field (HS256, HS384, or HS512) and add your OAuth client_secret to body.bodyParams. Journey Optimizer uses the secret to sign the assertion without sending it in the token request, and no Adobe certificate registration is required. Any other alg value, including lowercase, is rejected when the authentication is tested or executed. Omitting alg or setting it to RS256 preserves the existing RSA flow. HMAC-signed JWT authentication is available in Limited Availability.

Best practices:

  • For security reasons, Adobe strongly recommends that you use the HTTPS scheme for the custom action URL (recommendation).
  • When choosing an endpoint to target using a custom action, be sure that the endpoint can support the journey throughput, using configurations from the Throttling API or Capping API to limit it, and that the endpoint has a response time as low as possible: depending on your expected throughput, a high response time could impact the actual throughput.
  • You should not target public endpoints with custom actions: without proper capping or throttling, there is a risk of sending too many calls to a public endpoint that may not support such volume; profile data can be sent through custom actions, so targeting a public endpoint could lead to inadvertently sharing personal information externally; and you have no control over the data being returned by public endpoints: if an endpoint changes its API or starts sending incorrect information, those are made available in communications sent, with potential negative impacts.
  • To request a capping increase, consult Adobe Support with usage evidence, confirm your endpoint’s throughput, and provide details of your expected call volume and endpoint capacity. Adobe may customize capping if capacity testing demonstrates the endpoint can handle higher throughput.
  • To avoid capping errors, consider restructuring journeys or implementing wait activities to stagger outbound calls.

Related pages:

Personas:

  • developer: Can paste an example JSON payload in the Request section for the POST and PUT calling methods. Can paste an example payload in the Response section for all calling methods. Can select each parameter type, for example string or integer, and define it as a constant or a variable parameter. The page states that field names in the payload cannot contain a dot . character, nor start with a character. Where: “Define the payload parameters”.
  • admin: Can create a custom action from Configurations in the ADMINISTRATION menu section, with Manage and then Create Action in the Actions section. Can enter a name for the action and configure its Authentication section. The page states that only alphanumeric characters and underscores are allowed in the name, with a maximum length of 30 characters. Where: “Configuration steps”.

Onboarding:

  • Level: Experienced
  • First minimal step: In the ADMINISTRATION menu section, select Configurations, then select Manage in the Actions section and select Create Action.
  • Success check: Once configured, the custom action appears in the left palette of your journey, in the Action category.
recommendation-more-help
journey-optimizer-help