All Collections
Features | Admin Users
Automation Applications
Examples of HTTP requests with Pipefy automations
Examples of HTTP requests with Pipefy automations
Rodrigo Subirá avatar
Written by Rodrigo Subirá
Updated over a week ago

🔐 Available for all plans (currently in Beta)

🎯 For those who want to create HTTP requests and further customize their automation

Content Summary:

The step-by-step guide below shows how to build automations sending HTTP requests to:

  • Slack messages

How to send a message to a Slack channel from Pipefy

To send a message to a Slack channel from any action that occurs in Pipefy, you will need to set up your automation as described below:

In Pipefy:

  1. Find your pipe automations and select Create new automation.

  2. Select the trigger that makes the most sense for your process. Select Make an HTTP request.

  3. In Method, select POST.

  4. In Authentication, choose Authorization, then type the command Bearer and copy your Slack Token (you will learn more about this below).

  5. For this request, a header is not necessary.

  6. In Request body, fill out the following information in JSON format:

    "channel": "ID",
    "text": "Message"

    1. In "channel", replace your ID with the Slack channel ID to which you want to send the message.

    2. In "text" replace Message with the message you want to send. Remember: You can use any data from the card to customize your message with the required information.

  7. Lastly, you can choose to map the Long text field to preview the results of your HTTP request.

In Slack:

  1. Create an App in your company’s environment in Slack.

  2. Assign all the permissions necessary to send messages to your chosen channels. Learn more about Slack permissions.

  3. Inside the building area of your App in Slack, find the value that must be filled out in the automation’s Authentication section. Remember to enter the value as "Bearer YOUR_SLACK_TOKEN."

If you have any questions or issues as you build, consult Slack documentation about their API.

Conclusion: When everything is set up correctly, your desired message will arrive at the selected Slack channel in this format:

💡Tip: If your automation doesn’t work at first, use the mapping response of your HTTP request for a Long text field view of your pipe; this will help you understand what’s going wrong.

Related content:

🎓 Learn to do more with free Pipefy Academy courses!

🌎 Be part of the Pipefy Community to ask questions, make suggestions, and share your knowledge with people worldwide!

Did this answer your question?