ps_send_webhook
Send a webhook notification by filling Periscope template variables in the configured URL and request body, then posting the update to your webhook endpoint.
Instructions
Send a webhook notification with the given variables.
Uses the webhook URL (from environment variable), request_body template, and headers from the Periscope config. Template variables #{date}, #{language}, #{important_items}, #{all_items}, #{result}, #{timestamp}, #{summary} are replaced in the URL and request_body before sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| result | No | success | |
| summary | No | ||
| language | No | zh | |
| all_items | No | ||
| config_path | No | ||
| periscope_path | No | ||
| important_items | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||