forked from ot4i/app-connect-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreate a new Trello card for a new Salesforce campaign.yaml
48 lines (48 loc) · 1.57 KB
/
Create a new Trello card for a new Salesforce campaign.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
$integration: 'http://ibm.com/appconnect/integration/v2/integrationFile'
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
type: event-trigger
triggers:
CREATED:
input-context:
data: Campaign
assembly:
$ref: '#/integration/assemblies/assembly-1'
options: {}
connector-type: salesforce
action-interfaces:
action-interface-1:
type: api-action
business-object: card
connector-type: trello
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- create-action:
name: Trello Add New Card to List
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- desc:
template: >-
The campaign will begin on {{$Trigger.StartDate}}.
Ensure that budgetd cost of {{$Trigger.BudgetedCost}} is
understood by accounting.
- idBoard:
template: 59af090b40aa6a9553289141
- idList:
template: 59af09209fd9d52867c1e67a
- name:
template: '{{$Trigger.Name}} is now ready'
$map: 'http://ibm.com/appconnect/map/v1'
input:
- variable: Trigger
$ref: '#/trigger/payload'
name: Create a new Trello card for a new Salesforce campaign
models: {}