Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 2.44 KB

trello-create-card.md

File metadata and controls

60 lines (43 loc) · 2.44 KB

How to create a card in Trello when a sales order has been released?

To successfully create a Trello card, you need the following:

Webhook template

Below is an example of what the webhook template should contain.

Attribute name Attribute value
Code trello_release_so_01
Name Trello - released sales order
Repository name Crm.Sales.SalesOrders
URL https://api.trello.com/1/cards?idList=<id_list>&name={DisplayText}&key=<yourKey>&token=<yourToken>
Notes Creates a card in Trello when a sales order is released.

Where,

  • <yourKey> and <yourToken> - the API keys, provided from Trello.
  • <id_list> - the Id of the list where the new card should be created.
  • {DisplayText} - the name of the card. It is also an interpolated string. It will be evaluated by @@name and will contain the display text of the sales order (e.g., Sales Order 00108).

Note

Body and Headers attributes are missing intentionally. They are not required.

User business rule

А business rule that triggers when a sales order has been released.

Repository
Crm.Sales.SalesOrders
Events
Event type Event parameter Execution priority
STATECHANGED RELEASED Normal
Actions
Action No Action type Parameter1 type Parameter1 value
1 WEBHOOK Constant trello_release_so_01

See more