POST-request: Difference between revisions

From Planfix
Jump to: navigation, search
Line 18: Line 18:


*'''First''', we send a request to Slack with the task’s assignee and due date when the deadline is approaching — in our case, when it's due sometime this week.
*'''First''', we send a request to Slack with the task’s assignee and due date when the deadline is approaching — in our case, when it's due sometime this week.
https://s.pfx.so/pf/dC/OKgxG2.jpg


*'''Next''', we parse Slack’s response. Since it just returns “ok,” we can use this as a simple check to confirm the request was delivered without issues.
*'''Next''', we parse Slack’s response. Since it just returns “ok,” we can use this as a simple check to confirm the request was delivered without issues.
https://s.pfx.so/pf/ww/eBYmtP.jpg

Revision as of 08:39, 7 August 2025

Use case examples

Slack

This setup is helpful when you want to send a notification in Slack that a task's due date is approaching.

What you need:

1. Slack workspace with incoming webhooks enabled
2. Webhook URL that links to the desired Slack channel
3. Custom script or button your Planfix object
  • First, we send a request to Slack with the task’s assignee and due date when the deadline is approaching — in our case, when it's due sometime this week.

OKgxG2.jpg

  • Next, we parse Slack’s response. Since it just returns “ok,” we can use this as a simple check to confirm the request was delivered without issues.

eBYmtP.jpg