Webhooks

Requests

URL

—

Method

—

Content Type

—

Headers

To construct headers, you can iterate over a list from another pipe. If a header and respective value contains newlines, each line in the name and corresponding line in value are treated as a Header: Value pair. For example having a Name “X-One↵X-Two” and a Value “one↵two” will result in two headers: “X-One: One” and “X-Two: two” (↵ stands for a newline, like pressing the enter key).

Body

Hint: you can use to_json filter like {{a|to_json}} or {{a.attribute|to_json}} to obtain json representation of an object. You can even combine objects exported from several pipes, like {{ {'trello_card': A, 'salesforce_task': b}|to_json }}.