-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into shahminiaru-patch-15
- Loading branch information
Showing
70 changed files
with
4,623 additions
and
1 deletion.
There are no files selected for viewing
56 changes: 56 additions & 0 deletions
56
resources/Add a card to a list in Trello whenever a new task is created in Asana.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: {} |
128 changes: 128 additions & 0 deletions
128
...cribers to a list in MailChimp for each other contact retrieved from Google Contacts.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
$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: minute | ||
value: 1 | ||
runOnceOncheck: true | ||
days: | ||
- MON | ||
- TUE | ||
- WED | ||
- THU | ||
- FRI | ||
- SAT | ||
- SUN | ||
timeZone: UTC | ||
action-interfaces: | ||
action-interface-1: | ||
type: api-action | ||
business-object: getOtherContactssearch_model | ||
connector-type: googlecontacts | ||
actions: | ||
getOtherContactssearch: {} | ||
action-interface-2: | ||
type: api-action | ||
business-object: Members | ||
connector-type: mailchimp | ||
actions: | ||
CREATE: {} | ||
assemblies: | ||
assembly-1: | ||
assembly: | ||
execute: | ||
- custom-action: | ||
name: Google Contacts Retrieve other contacts by search string | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-1' | ||
action: getOtherContactssearch | ||
map: | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
mappings: [] | ||
filter: | ||
where: | ||
query: example | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
limit: 10 | ||
- for-each: | ||
name: For each | ||
assembly: | ||
$ref: '#/integration/assemblies/assembly-2' | ||
source: | ||
expression: >- | ||
$GoogleContactsRetrieveothercontactsbysearchstring."Other | ||
contacts" | ||
input: | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: GoogleContactsRetrieveothercontactsbysearchstring | ||
$ref: >- | ||
#/node-output/Google Contacts Retrieve other contacts by | ||
search string/response/payload | ||
- variable: MailChimpRetrievemembers | ||
$ref: '#/node-output/MailChimp Retrieve members/response/payload' | ||
- variable: MailChimpRetrievemembersMetadata | ||
$ref: '#/node-output/MailChimp Retrieve members/response' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
mode: sequential | ||
continue-on-error: true | ||
map: | ||
$map: http://ibm.com/appconnect/map/v1 | ||
mappings: [] | ||
display-name: Google Contacts Other contacts | ||
assembly-2: | ||
assembly: | ||
execute: | ||
- create-action: | ||
name: MailChimp Add subscriber to a list | ||
target: | ||
$ref: '#/integration/action-interfaces/action-interface-2' | ||
map: | ||
mappings: | ||
- email_address: | ||
template: '{{$Foreachitem.person.emailAddress}}' | ||
- list_id: | ||
template: 6fc8383307 | ||
$map: http://ibm.com/appconnect/map/v1 | ||
input: | ||
- variable: Foreach2item | ||
$ref: '#/block/For each 2/current-item' | ||
- variable: Foreachitem | ||
$ref: '#/block/For each/current-item' | ||
- variable: Trigger | ||
$ref: '#/trigger/payload' | ||
- variable: GoogleContactsRetrieveothercontactsbysearchstring | ||
$ref: >- | ||
#/node-output/Google Contacts Retrieve other contacts by | ||
search string/response/payload | ||
- variable: MailChimpRetrievemembers | ||
$ref: '#/node-output/MailChimp Retrieve members/response/payload' | ||
- variable: MailChimpRetrievemembersMetadata | ||
$ref: '#/node-output/MailChimp Retrieve members/response' | ||
- variable: flowDetails | ||
$ref: '#/flowDetails' | ||
name: Add subscribers to a list in MailChimp for each other contact retrieved from Google Contacts | ||
models: {} |
Oops, something went wrong.