Skip to content

Commit

Permalink
Merge pull request #354 from ot4i/revert-339-revert-338-shahminiaru-p…
Browse files Browse the repository at this point in the history
…atch-2

Revert "Revert "shahmini  master epic 3358""
  • Loading branch information
asfordmatt authored Aug 25, 2023
2 parents 715a129 + 03aeb24 commit 79e6005
Show file tree
Hide file tree
Showing 35 changed files with 1,403 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: asana
type: event-trigger
triggers:
CREATED:
input-context:
data: Tasks
assembly:
$ref: '#/integration/assemblies/assembly-1'
options:
workspace-id: '1204205574829453'
team-id: '1204205586130693'
project: '1204205585687152'
parentFilter:
workspace-id: '1204205574829453'
team-id: '1204205586130693'
project: '1204205585687152'
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 card to list
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- desc:
template: '{{$Trigger.notes}}'
- idBoard:
template: 629d96c76766c513b0e82f66
- idList:
template: 629d96c76766c513b0e82f6d
- idOrganization:
template: 6087b4630e5b124b38c75386
- name:
template: '{{$Trigger.name}}'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
name: Add a card to a list in Trello whenever a new task is created in Asana
models: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: streaming-connector-scheduler
type: event-trigger
triggers:
SCHEDULE:
input-context:
data: scheduler
assembly:
$ref: '#/integration/assemblies/assembly-1'
options:
subscription:
scheduleConfiguration:
interval:
unit: hour
value: 1
runOnceOncheck: true
days:
- MON
- TUE
- WED
- THU
- FRI
- SAT
- SUN
timeZone: UTC
action-interfaces:
action-interface-1:
type: api-action
business-object: Event
connector-type: eventbrite
actions:
RETRIEVEALL: {}
action-interface-2:
type: api-action
business-object: Folder
connector-type: box
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- retrieve-action:
name: Eventbrite Retrieve events
target:
$ref: '#/integration/action-interfaces/action-interface-1'
filter:
where:
and:
- status: New
- organizationID: '344797520005'
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
limit: 10
allow-truncation: true
pagination-type: SKIP_LIMIT
allow-empty-output: true
- for-each:
name: For each
assembly:
$ref: '#/integration/assemblies/assembly-2'
source:
expression: '$EventbriteRetrieveevents '
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: EventbriteRetrieveevents
$ref: '#/node-output/Eventbrite Retrieve events/response/payload'
- variable: EventbriteRetrieveeventsMetadata
$ref: '#/node-output/Eventbrite Retrieve events/response'
- variable: flowDetails
$ref: '#/flowDetails'
mode: sequential
continue-on-error: true
map:
$map: http://ibm.com/appconnect/map/v1
mappings: []
display-name: Eventbrite Event
assembly-2:
assembly:
execute:
- create-action:
name: Box Create folder
target:
$ref: '#/integration/action-interfaces/action-interface-2'
map:
mappings:
- name:
template: '{{$Foreachitem.name.html}}'
- parent_id:
template: '0'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Foreachitem
$ref: '#/block/For each/current-item'
- variable: Trigger
$ref: '#/trigger/payload'
- variable: EventbriteRetrieveevents
$ref: '#/node-output/Eventbrite Retrieve events/response/payload'
- variable: EventbriteRetrieveeventsMetadata
$ref: '#/node-output/Eventbrite Retrieve events/response'
- variable: flowDetails
$ref: '#/flowDetails'
name: Create a folder in Box for each event retrieved from Eventbrite
models: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: salesforce
type: event-trigger
triggers:
CREATED:
input-context:
data: Account
assembly:
$ref: '#/integration/assemblies/assembly-1'
options: {}
action-interfaces:
action-interface-1:
type: api-action
business-object: Folder
connector-type: box
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- create-action:
name: Box Create folder
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- name:
template: '{{$Trigger.Name}}'
- parent_id:
template: '0'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
name: Create a folder in Box whenever a new account is created in Salesforce
models: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: mailchimp
type: event-trigger
triggers:
CREATED:
input-context:
data: Campaigns
assembly:
$ref: '#/integration/assemblies/assembly-1'
options:
list_id: 40277bc9bf
parentFilter:
list_id: 40277bc9bf
action-interfaces:
action-interface-1:
type: api-action
business-object: Folder
connector-type: box
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- create-action:
name: Box Create folder
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- name:
template: '{{$Trigger.settings.title}}'
- parent_id:
template: '0'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
name: Create a folder in Box whenever a new campaign is created in MailChimp
models: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: salesforce
type: event-trigger
triggers:
CREATED:
input-context:
data: Case
assembly:
$ref: '#/integration/assemblies/assembly-1'
options: {}
action-interfaces:
action-interface-1:
type: api-action
business-object: Folder
connector-type: box
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- create-action:
name: Box Create folder
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- name:
template: '{{$Trigger.CaseNumber}} '
- parent_id:
template: '0'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
tags:
- incomplete
name: Create a folder in Box whenever a new case is created in Salesforce
models: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: wufoo
type: event-trigger
triggers:
CREATED:
input-context:
data: FormEntry
assembly:
$ref: '#/integration/assemblies/assembly-1'
options:
Hash: q1z0scqf0z2bi37
parentFilter:
Hash: q1z0scqf0z2bi37
action-interfaces:
action-interface-1:
type: api-action
business-object: Folder
connector-type: box
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- create-action:
name: Box Create folder
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- name:
template: '{{$Trigger.Field15}}'
- parent_id:
template: '0'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
name: Create a folder in Box whenever a new form entry is created in Wufoo
models: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
$integration: http://ibm.com/appconnect/integration/v2/integrationFile
integration:
type: trigger-action
trigger-interfaces:
trigger-interface-1:
connector-type: servicenow
type: event-trigger
triggers:
CREATED:
input-context:
data: incident
assembly:
$ref: '#/integration/assemblies/assembly-1'
options: {}
action-interfaces:
action-interface-1:
type: api-action
business-object: Folder
connector-type: box
actions:
CREATE: {}
assemblies:
assembly-1:
assembly:
execute:
- create-action:
name: Box Create folder
target:
$ref: '#/integration/action-interfaces/action-interface-1'
map:
mappings:
- name:
template: Incident {{$Trigger.number}}
- parent_id:
template: '0'
$map: http://ibm.com/appconnect/map/v1
input:
- variable: Trigger
$ref: '#/trigger/payload'
- variable: flowDetails
$ref: '#/flowDetails'
name: Create a folder in Box whenever a new incident is created in ServiceNow
models: {}
Loading

0 comments on commit 79e6005

Please sign in to comment.