Slack Integration
This is a aws lambda function to receive new transaction informations from OpenPix @ your company's slack workspace.
Getting Started
First, you'll need to setup Incoming Webhooks because we need the URL that Slack provides to send a text into any channel.
Then, create a lambda function at your own AWS following this one. Change the SLACK_URI with the URL that Slack provides to your channel.
After that, you'll need to setup an API Gateway in AWS, this API will only call your lambda function. This tutorial will do the job for you: Lambda & API Gateway
Example
This is what this code is doing right now. It's just a basic setup, but you can always modify it by yourself. Slack has a lot of possibilities here: Text Format.
And you can see what the webhook from OpenPix returns here: Webhook Sample