Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

450
Visualizações
Confirming AWS SNS Topic Subscription for Slack Webhook

I am integrating SNS and Slack. I have created a slack app with incoming webhook enabled. I have got the webhook URL. I created a subscription for a SNS Topic with HTTPS protocol and set the Endpoint the webhookURL. Now the subscription is PendingConfirmation. I didnot receive any confirmation message, not in the destined channel.

How do I confirm the subscription?

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

You don't need to create a lambda function or create an HTTPS subscription with Slack.

On your slack channel, add the "email integration" app. Once done, Slack will provide you an email address with slack.com domain.

Emails sent to this address will be imported into your slack channel.

Then, on SNS create an email subscription and provide the slack email above.

over 4 years ago · Santiago Trujillo Relatório

0

The reason you're not seeing it in Slack is because the default JSON format for SNS messages doesn't conform to the format required by Slack:

You have two options for sending data to the Webhook URL above:

  • Send a JSON string as the payload parameter in a POST request
  • Send a JSON string as the body of a POST request

For a simple message, your JSON payload could contain a text property at minimum. This is the text that will be posted to the channel.

As another user suggested you can use an AWS Lambda function to facilitate this. There are free, public solutions available already, such as this one (which I did not author, and have not used...only including as a reference point).

over 4 years ago · Santiago Trujillo Relatório

0

You have create a lambda function that receives SNS feedback and POST it to your webhook URL.

When you create a subscription to your lambda topic you choose AWS Lambda as protocol and select the lambda that you just created.

More info about it here: https://medium.com/cohealo-engineering/how-set-up-a-slack-channel-to-be-an-aws-sns-subscriber-63b4d57ad3ea

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda