Slack
AWS Lambda
integromat

An automated workflow using integromat

Connects Slack + AWS Lambda

Invoke Amazon Lambda function for new Slack message

About this workflow template

This automation scenario allows you to connect Slack and AWS Lambda

It can be build using Integromat, a no-code workflow automation tool. Integromat allows you to create automated scripts using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.

Slack and AWS Lambda can also be integrated using automation tools other than integromat:

Diagram

Invoke Amazon Lambda function for new Slack message
Workflow diagram: Slack + AWS Lambda integration

How it works?

When this trigger fires in Slack

Slack

Watch Public Channel Messages in Slack

Triggers when a new message is added to a public channel.

Then these actions happen in Slack and Slack

AWS Lambda

Invoke a Function in AWS Lambda

Invokes a AWS Lambda function synchronously or asynchronously.

Slack

Create a Message in Slack

Creates a message.

How to set up this workflow

This guide contains information on how to set up an automatic workflow that allows to Invoke Amazon Lambda function for new Slack message.

Part I

Configure Applications

First, we need to connect Slack and AWS Lambda to Make.com.

  • Create Make.com account.

    Create Make.com account.

    Create Make.com account if you don't have one.

  • Connect Slack to Make.com.

    Connect Slack to Make.com.

    Give Make.com access to your Slack account, using Slack credentials.

  • Connect AWS Lambda to Make.com.

    Connect AWS Lambda to Make.com.

    Give Make.com access to your AWS Lambda account, using AWS Lambda credentials.

Part II

Build an integration workflow

Next, we need to create a workflow automation scenario using graphical no-code web interface of Make.com.

  • Set up a Trigger action for Slack

    Set up a Trigger action for Slack

    Choose the following trigger: Watch Public Channel Messages (Triggers when a new message is added to a public channel.).

  • Then set up an Action for AWS Lambda

    Then set up an Action for AWS Lambda

    Choose this action: Invoke a Function (Invokes a AWS Lambda function synchronously or asynchronously.).

  • Then set up another Action for Slack

    Then set up another Action for Slack

    Choose this action: Create a Message (Creates a message.).

Part III

Test and Publish

Finally, we need to test this automation and publish it.

  • Customize data flow

    Customize data flow

    Configure the data that is exchanged between Slack and AWS Lambda.

  • Test the workflow and turn it on for production use

    Test the workflow and turn it on for production use

    Test your scenario and publish to production. Now you have an automatic workflow, that will Invoke Amazon Lambda function for new Slack message!

Supported triggers and actions

  • Slack

    New message in channels (instant)

    New message in channels (instant)

    pipedream
    triggerbypipedream
  • Slack

    New message posted to channel

    Triggers when a new message is posted to a specific #channel you choose.

    zapier
    triggerbyzapier
  • Slack

    New saved message

    Triggers when you save a message.

    zapier
    triggerbyzapier
  • Slack

    New pushed message

    Triggers when you click the "Push to Zapier" button from a message in Slack.

    zapier
    triggerbyzapier
  • Slack

    New user

    Triggers when a new Slack user is created / first joins your org.

    zapierpabbly-connectalbato
    triggerbyzapierpabbly-connectalbato
  • Slack

    New mention

    Triggers when a username or highlight word is mentioned in a public #channel.

    zapier
    triggerbyzapier
  • AWS Lambda

    Invoke function (async)

    Invokes a pre-built function asynchronously providing only data.

    zapier
    actionbyzapier
  • AWS Lambda

    Invoke a function

    Invokes a AWS Lambda function synchronously or asynchronously.

    integromat
    actionbyintegromat
  • AWS Lambda

    Run code

    Write Javascript code directly in your browser and execute it in a Lambda function that we provide the source for.

    zapier
    actionbyzapier
  • AWS Lambda

    Get a function

    Gets the information of an AWS Lambda function.

    integromat
    actionbyintegromat
  • AWS Lambda

    Get a layer version

    Gets the information of a version of an AWS Lambda layer.

    integromat
    actionbyintegromat
  • AWS Lambda

    Make an api call

    Performs an arbitrary authorized API call.

    integromat
    actionbyintegromat

Apps you need

Slack

Slack

Team Chat

A cloud-based platform for team communication and collaboration

Slack is the go-to platform for modern teams seeking seamless communication and collaboration. With everything in one easily searchable place, including channels, integrations, and tools, Slack keeps your team aligned and productive.

Make.com

Make.com

Automation Platforms

Integromat now Make! A workflow automation service.

Make.com (Integromat) is a powerful automation tool that enables users to connect their favorite apps, services, and devices without any coding skills. With its unique features, users can automate even complex integrations easily and efficiently, saving time and effort. Integromat allows to connect apps and automate processes in a few clicks.