From 84abdb6530aca0988199fa304c1800180753e3b7 Mon Sep 17 00:00:00 2001 From: shahminiaru <86762255+shahminiaru@users.noreply.github.com> Date: Thu, 17 Aug 2023 18:53:04 +0800 Subject: [PATCH 1/8] ms onenote --- ...eNote when a task is created in Asana.yaml | 146 +++++++++ ...ach file downloaded from Google Drive.yaml | 266 +++++++++++++++ ...h attachments from Microsoft Exchange.yaml | 306 ++++++++++++++++++ ...tent retrieved from Microsoft OneNote.yaml | 164 ++++++++++ 4 files changed, 882 insertions(+) create mode 100644 resources/Append a note in Microsoft OneNote when a task is created in Asana.yaml create mode 100644 resources/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive.yaml create mode 100644 resources/Create a page with embedded content for each new email received with attachments from Microsoft Exchange.yaml create mode 100644 resources/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote.yaml diff --git a/resources/Append a note in Microsoft OneNote when a task is created in Asana.yaml b/resources/Append a note in Microsoft OneNote when a task is created in Asana.yaml new file mode 100644 index 000000000..b44d57dcf --- /dev/null +++ b/resources/Append a note in Microsoft OneNote when a task is created in Asana.yaml @@ -0,0 +1,146 @@ +$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: '182723897938599' + team-id: '182723898008235' + project: '747865922507849' + parentFilter: + workspace-id: '182723897938599' + team-id: '182723898008235' + project: '747865922507849' + action-interfaces: + action-interface-2: + type: api-action + business-object: message + connector-type: slack + actions: + CREATE: {} + action-interface-1: + type: api-action + business-object: patchUsersByUserIdOnenotePagesByPageIdContent_model + connector-type: msonenote + actions: + patchUsersByUserIdOnenotePagesByPageIdContent: {} + action-interface-3: + type: api-action + business-object: patchUsersByUserIdOnenotePagesByPageIdContent_model + connector-type: msonenote + actions: + patchUsersByUserIdOnenotePagesByPageIdContent: {} + assemblies: + assembly-1: + assembly: + execute: + - create-action: + name: Slack Send message + target: + $ref: '#/integration/action-interfaces/action-interface-2' + map: + mappings: + - OBJECT_ID: + template: C05AY19GTQE + - OBJECT_NAME: + template: channel + - text: + template: '{{$Trigger}}' + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: flowDetails + $ref: '#/flowDetails' + - if: + name: If + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage + $ref: '#/node-output/Slack Send message/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + branch: + - condition: + '{{$Trigger.assignee_status}}': upcoming + execute: + - custom-action: + name: Microsoft OneNote Append note + target: + $ref: '#/integration/action-interfaces/action-interface-1' + action: patchUsersByUserIdOnenotePagesByPageIdContent + map: + mappings: + - content: + template: '{{$Trigger.name}} needs to be Assigned' + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage + $ref: >- + #/node-output/Slack Send + message/response/payload + - variable: flowDetails + $ref: '#/flowDetails' + filter: + where: + and: + - page_id: >- + 1-334f4b8694f44545912bc52d0664b70a!59-ccf3b9c3-8c79-4515-a355-be19f77408d9 + - user_id: me + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage + $ref: >- + #/node-output/Slack Send + message/response/payload + - variable: flowDetails + $ref: '#/flowDetails' + limit: 10 + else: + execute: + - custom-action: + name: Microsoft OneNote Append note 2 + target: + $ref: '#/integration/action-interfaces/action-interface-3' + action: patchUsersByUserIdOnenotePagesByPageIdContent + map: + mappings: + - content: + template: '{{$Trigger.name}} is already assigned' + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage + $ref: '#/node-output/Slack Send message/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + filter: + where: + and: + - page_id: >- + 1-334f4b8694f44545912bc52d0664b70a!14-ca5664ce-680c-4a1f-b481-0b1c66591bb9 + - user_id: me + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage + $ref: '#/node-output/Slack Send message/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + limit: 10 + output-schema: {} + name: Append a note in Microsoft OneNote when a task is created in Asana +models: {} diff --git a/resources/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive.yaml b/resources/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive.yaml new file mode 100644 index 000000000..fc2c6a3f1 --- /dev/null +++ b/resources/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive.yaml @@ -0,0 +1,266 @@ +$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: + calendar: + cronExp: 00 00 * * * + runOnceOncheck: true + timeZone: UTC + every: day + action-interfaces: + action-interface-2: + type: api-action + business-object: patchUsersByUserIdOnenotePagesByPageIdContent_model + connector-type: msonenote + actions: + patchUsersByUserIdOnenotePagesByPageIdContent: {} + action-interface-4: + type: api-action + business-object: message + connector-type: slack + actions: + CREATE: {} + action-interface-6: + type: api-action + business-object: Files + connector-type: googledrive + actions: + RETRIEVEALL: {} + action-interface-7: + type: api-action + business-object: Files + connector-type: googledrive + actions: + DOWNLOADCONTENT: {} + assemblies: + assembly-1: + assembly: + execute: + - retrieve-action: + name: Google Drive Retrieve files metadata + target: + $ref: '#/integration/action-interfaces/action-interface-6' + filter: + limit: 10 + allow-truncation: true + allow-empty-output: true + - for-each: + name: For each + assembly: + $ref: '#/integration/assemblies/assembly-2' + source: + expression: '$GoogleDriveRetrievefilesmetadata ' + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: BoxRetrievefilemetadata + $ref: '#/node-output/Box Retrieve file metadata/response/payload' + - variable: BoxRetrievefilemetadataMetadata + $ref: '#/node-output/Box Retrieve file metadata/response' + - variable: GoogleDriveRetrievefilesmetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response/payload + - variable: GoogleDriveRetrievefilesmetadataMetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response + - variable: BoxRetrievefolders + $ref: '#/node-output/Box Retrieve folders/response/payload' + - variable: BoxRetrievefoldersMetadata + $ref: '#/node-output/Box Retrieve folders/response' + - variable: flowDetails + $ref: '#/flowDetails' + mode: sequential + continue-on-error: true + map: + $map: http://ibm.com/appconnect/map/v1 + mappings: [] + display-name: Box File + assembly-2: + assembly: + execute: + - custom-action: + name: Google Drive Download file + target: + $ref: '#/integration/action-interfaces/action-interface-7' + action: DOWNLOADCONTENT + map: + mappings: + - id: + template: '{{$Foreachitem.id}}' + - type: + template: PDF + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: BoxRetrievefilemetadata + $ref: '#/node-output/Box Retrieve file metadata/response/payload' + - variable: BoxRetrievefilemetadataMetadata + $ref: '#/node-output/Box Retrieve file metadata/response' + - variable: GoogleDriveRetrievefilesmetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response/payload + - variable: GoogleDriveRetrievefilesmetadataMetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response + - variable: BoxRetrievefolders + $ref: '#/node-output/Box Retrieve folders/response/payload' + - variable: BoxRetrievefoldersMetadata + $ref: '#/node-output/Box Retrieve folders/response' + - variable: flowDetails + $ref: '#/flowDetails' + - if: + name: If 2 + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: GoogleDriveDownloadfile + $ref: >- + #/block/For each/node-output/Google Drive Download + file/response/payload + - variable: BoxRetrievefilemetadata + $ref: '#/node-output/Box Retrieve file metadata/response/payload' + - variable: BoxRetrievefilemetadataMetadata + $ref: '#/node-output/Box Retrieve file metadata/response' + - variable: GoogleDriveRetrievefilesmetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response/payload + - variable: GoogleDriveRetrievefilesmetadataMetadata + $ref: '#/node-output/Google Drive Retrieve files metadata/response' + - variable: flowDetails + $ref: '#/flowDetails' + branch: + - condition: + '{{$Foreachitem.createdTime}}': + lte: '{{$now()}}' + execute: + - custom-action: + name: Microsoft OneNote Append note + target: + $ref: '#/integration/action-interfaces/action-interface-2' + action: patchUsersByUserIdOnenotePagesByPageIdContent + map: + mappings: + - content: + template: >- +

This page displays the uploaded + pdf.

+ - images: + foreach: + input: '[0]' + iterator: imagesItem + mappings: + - base64content: + template: '{{$GoogleDriveDownloadfile.content}}' + - contenttype: + template: application/pdf + - filename: + template: '{{$Foreachitem.name}}' + - imagetag: + template: mypdf + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: GoogleDriveDownloadfile + $ref: >- + #/block/For each/node-output/Google Drive + Download file/response/payload + - variable: GoogleDriveRetrievefilesmetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response/payload + - variable: GoogleDriveRetrievefilesmetadataMetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response + - variable: flowDetails + $ref: '#/flowDetails' + filter: + where: + and: + - page_id: >- + 1-b02aff463b7f46eca396cf05b01e665b!111-1114bacf-56d3-46b7-a765-5db25936dbec​Created + date​2023-08-14T10:27:25Z + - user_id: me + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: GoogleDriveDownloadfile + $ref: >- + #/block/For each/node-output/Google Drive + Download file/response/payload + - variable: GoogleDriveRetrievefilesmetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response/payload + - variable: GoogleDriveRetrievefilesmetadataMetadata + $ref: >- + #/node-output/Google Drive Retrieve files + metadata/response + - variable: flowDetails + $ref: '#/flowDetails' + limit: 10 + else: + execute: + - create-action: + name: Slack Send message + target: + $ref: '#/integration/action-interfaces/action-interface-4' + map: + mappings: + - OBJECT_ID: + template: C04UR5KMWQN + - OBJECT_NAME: + template: channel + - text: + template: >- + {{$Foreachitem.name}} ---- is in different + format + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: BoxRetrievefilecontent + $ref: >- + #/block/For each/node-output/Box Retrieve file + content/response/payload + - variable: BoxRetrievefilemetadata + $ref: >- + #/node-output/Box Retrieve file + metadata/response/payload + - variable: BoxRetrievefilemetadataMetadata + $ref: '#/node-output/Box Retrieve file metadata/response' + - variable: flowDetails + $ref: '#/flowDetails' + output-schema: {} + name: Append a note to the Microsoft OneNote page for each file downloaded from Google Drive +models: {} diff --git a/resources/Create a page with embedded content for each new email received with attachments from Microsoft Exchange.yaml b/resources/Create a page with embedded content for each new email received with attachments from Microsoft Exchange.yaml new file mode 100644 index 000000000..e1c9714b1 --- /dev/null +++ b/resources/Create a page with embedded content for each new email received with attachments from Microsoft Exchange.yaml @@ -0,0 +1,306 @@ +$integration: http://ibm.com/appconnect/integration/v2/integrationFile +integration: + type: trigger-action + trigger-interfaces: + trigger-interface-1: + type: event-trigger + triggers: + CREATED_POLLER: + input-context: + data: Messages + assembly: + $ref: '#/integration/assemblies/assembly-1' + options: + subscription: + createdField: createdDateTime + updatedField: lastModifiedDateTime + timeFormat: YYYY-MM-DDTHH:mm:ssZ + timeZone: UTC + pollingInterval: 1 + isCreatedQueryable: true + connector-type: msexchange + action-interfaces: + action-interface-4: + type: api-action + business-object: Attachments + connector-type: msexchange + actions: + RETRIEVEALL: {} + action-interface-3: + type: api-action + business-object: message + connector-type: slack + actions: + CREATE: {} + action-interface-1: + type: api-action + business-object: Attachments + connector-type: msexchange + actions: + DOWNLOADATTACHMENT: {} + action-interface-9: + type: api-action + business-object: postUsersByIdOnenoteSectionsByIdPages_model + connector-type: msonenote + actions: + postUsersByIdOnenoteSectionsByIdPages: {} + assemblies: + assembly-1: + assembly: + execute: + - if: + name: If + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage3 + $ref: '#/node-output/Slack Send message 3/response/payload' + - variable: GmailSendemail + $ref: '#/node-output/Gmail Send email/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + branch: + - condition: + '{{$Trigger.hasAttachments}}': 'true' + execute: + - retrieve-action: + name: Microsoft Exchange Retrieve attachments 2 + target: + $ref: '#/integration/action-interfaces/action-interface-4' + filter: + where: + and: + - AttachmentHolderType: Messages + - AttachmentOwnerId: '{{$Trigger.id}}' + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage3 + $ref: >- + #/node-output/Slack Send message + 3/response/payload + - variable: GmailSendemail + $ref: '#/node-output/Gmail Send email/response/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: '$MicrosoftExchangeRetrieveattachments2 ' + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: MicrosoftExchangeRetrieveattachments2 + $ref: >- + #/block/If/node-output/Microsoft Exchange + Retrieve attachments 2/response/payload + - variable: MicrosoftExchangeRetrieveattachments2Metadata + $ref: >- + #/block/If/node-output/Microsoft Exchange + Retrieve attachments 2/response + - variable: SlackSendmessage2 + $ref: >- + #/block/If/node-output/Slack Send message + 2/response/payload + - variable: SlackSendmessage3 + $ref: >- + #/node-output/Slack Send message + 3/response/payload + - variable: GmailSendemail + $ref: '#/node-output/Gmail Send email/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + mode: sequential + continue-on-error: true + map: + $map: http://ibm.com/appconnect/map/v1 + mappings: [] + display-name: Microsoft Exchange Attachments + else: + execute: + - create-action: + name: Slack Send message + target: + $ref: '#/integration/action-interfaces/action-interface-3' + map: + mappings: + - OBJECT_ID: + template: C05AY19GTQE + - OBJECT_NAME: + template: channel + - text: + template: >- + This email with {{$Trigger.subject}} has no + attachments + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage3 + $ref: >- + #/node-output/Slack Send message + 3/response/payload + - variable: GmailSendemail + $ref: '#/node-output/Gmail Send email/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + output-schema: {} + assembly-2: + assembly: + execute: + - custom-action: + name: Microsoft Exchange Download attachment + target: + $ref: '#/integration/action-interfaces/action-interface-1' + action: DOWNLOADATTACHMENT + map: + mappings: + - AttachmentHolderType: + template: Messages + - AttachmentOwnerId: + template: '{{$Trigger.id}}' + - fileType: + template: Binary + - id: + template: '{{$Foreachitem.id}}' + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage5 + $ref: >- + #/block/For each/node-output/Slack Send message + 5/response/payload + - variable: MicrosoftExchangeRetrieveattachments2 + $ref: >- + #/block/If/node-output/Microsoft Exchange Retrieve + attachments 2/response/payload + - variable: MicrosoftExchangeRetrieveattachments2Metadata + $ref: >- + #/block/If/node-output/Microsoft Exchange Retrieve + attachments 2/response + - variable: SlackSendmessage2 + $ref: >- + #/block/If/node-output/Slack Send message + 2/response/payload + - variable: SlackSendmessage3 + $ref: '#/node-output/Slack Send message 3/response/payload' + - variable: GmailSendemail + $ref: '#/node-output/Gmail Send email/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + - custom-action: + name: Microsoft OneNote Create embedded content + target: + $ref: '#/integration/action-interfaces/action-interface-9' + action: postUsersByIdOnenoteSectionsByIdPages + map: + mappings: + - images: + foreach: + input: '[1]' + iterator: imagesItem + mappings: + - base64content: + template: '{{$MicrosoftExchangeDownloadattachment.content}}' + - contenttype: + template: application/pdf + - filename: + template: '{{$Foreachitem.name}}' + - imagetag: + template: mypdf + - presentation: + template: >- + Page with PDF

This + page displays the uploaded pdf.

+ $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage5 + $ref: >- + #/block/For each/node-output/Slack Send message + 5/response/payload + - variable: MicrosoftExchangeDownloadattachment + $ref: >- + #/block/For each/node-output/Microsoft Exchange Download + attachment/response/payload + - variable: SlackSendmessage4 + $ref: >- + #/block/For each/node-output/Slack Send message + 4/response/payload + - variable: MicrosoftExchangeRetrieveattachments2 + $ref: >- + #/block/If/node-output/Microsoft Exchange Retrieve + attachments 2/response/payload + - variable: MicrosoftExchangeRetrieveattachments2Metadata + $ref: >- + #/block/If/node-output/Microsoft Exchange Retrieve + attachments 2/response + - variable: SlackSendmessage2 + $ref: >- + #/block/If/node-output/Slack Send message + 2/response/payload + - variable: SlackSendmessage3 + $ref: '#/node-output/Slack Send message 3/response/payload' + - variable: GmailSendemail + $ref: '#/node-output/Gmail Send email/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + filter: + where: + and: + - section_id: 1-b4caaa49-effb-4a49-8994-1e09d78a6840 + - user_id: me + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: SlackSendmessage5 + $ref: >- + #/block/For each/node-output/Slack Send message + 5/response/payload + - variable: MicrosoftExchangeDownloadattachment + $ref: >- + #/block/For each/node-output/Microsoft Exchange Download + attachment/response/payload + - variable: SlackSendmessage4 + $ref: >- + #/block/For each/node-output/Slack Send message + 4/response/payload + - variable: MicrosoftExchangeRetrieveattachments2 + $ref: >- + #/block/If/node-output/Microsoft Exchange Retrieve + attachments 2/response/payload + - variable: MicrosoftExchangeRetrieveattachments2Metadata + $ref: >- + #/block/If/node-output/Microsoft Exchange Retrieve + attachments 2/response + - variable: SlackSendmessage2 + $ref: >- + #/block/If/node-output/Slack Send message + 2/response/payload + - variable: SlackSendmessage3 + $ref: '#/node-output/Slack Send message 3/response/payload' + - variable: GmailSendemail + $ref: '#/node-output/Gmail Send email/response/payload' + - variable: flowDetails + $ref: '#/flowDetails' + limit: 10 + name: Create a page with embedded content for each new email received with attachments from Microsoft Exchange +models: {} diff --git a/resources/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote.yaml b/resources/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote.yaml new file mode 100644 index 000000000..28b839c07 --- /dev/null +++ b/resources/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote.yaml @@ -0,0 +1,164 @@ +$integration: http://ibm.com/appconnect/integration/v2/integrationFile +integration: + type: trigger-action + trigger-interfaces: + trigger-interface-1: + type: event-trigger + triggers: + SCHEDULE: + input-context: + data: scheduler + assembly: + $ref: '#/integration/assemblies/assembly-1' + options: + subscription: + scheduleConfiguration: + calendar: + cronExp: 00 00 * * * + runOnceOncheck: true + timeZone: UTC + every: day + connector-type: streaming-connector-scheduler + action-interfaces: + action-interface-1: + type: api-action + business-object: getUsersByUserIdOnenotePagesByPageIdContent_model + connector-type: msonenote + actions: + getUsersByUserIdOnenotePagesByPageIdContent: {} + action-interface-2: + type: api-action + business-object: getUsersByUserIdOnenotePages_model + connector-type: msonenote + actions: + RETRIEVEALL: {} + action-interface-3: + type: api-action + business-object: File + connector-type: box + actions: + CREATE: {} + assemblies: + assembly-1: + assembly: + execute: + - retrieve-action: + name: Microsoft One Note Retrieve pages + target: + $ref: '#/integration/action-interfaces/action-interface-2' + filter: + where: + and: + - user_id: me + - createdDateTime: + gte: '{{$now() }}' + - custom_id: 1-b1d1bccf-ad40-48cd-868b-248a75787c59 + 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: '$MicrosoftOneNoteRetrievepages ' + input: + - variable: Trigger + $ref: '#/trigger/payload' + - variable: MicrosoftOneNoteRetrievepages + $ref: >- + #/node-output/Microsoft One Note Retrieve + pages/response/payload + - variable: MicrosoftOneNoteRetrievepagesMetadata + $ref: '#/node-output/Microsoft One Note Retrieve pages/response' + - variable: flowDetails + $ref: '#/flowDetails' + mode: sequential + continue-on-error: true + map: + $map: http://ibm.com/appconnect/map/v1 + mappings: [] + display-name: Microsoft One Note Pages + assembly-2: + assembly: + execute: + - custom-action: + name: Microsoft One Note Download page content + target: + $ref: '#/integration/action-interfaces/action-interface-1' + action: getUsersByUserIdOnenotePagesByPageIdContent + map: + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: MicrosoftOneNoteRetrievepages + $ref: >- + #/node-output/Microsoft One Note Retrieve + pages/response/payload + - variable: MicrosoftOneNoteRetrievepagesMetadata + $ref: '#/node-output/Microsoft One Note Retrieve pages/response' + - variable: flowDetails + $ref: '#/flowDetails' + mappings: [] + filter: + where: + and: + - page_id: '{{$Foreachitem.id}}' + - user_id: me + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: MicrosoftOneNoteRetrievepages + $ref: >- + #/node-output/Microsoft One Note Retrieve + pages/response/payload + - variable: MicrosoftOneNoteRetrievepagesMetadata + $ref: '#/node-output/Microsoft One Note Retrieve pages/response' + - variable: flowDetails + $ref: '#/flowDetails' + limit: 10 + - create-action: + name: Box Create file + target: + $ref: '#/integration/action-interfaces/action-interface-3' + map: + mappings: + - content: + template: '{{$MicrosoftOneNoteDownloadpagecontent.content}}' + - fileType: + template: Binary + - name: + template: '{{$Foreachitem.title}}' + - parent_id: + template: '216911298723' + $map: http://ibm.com/appconnect/map/v1 + input: + - variable: Foreachitem + $ref: '#/block/For each/current-item' + - variable: Trigger + $ref: '#/trigger/payload' + - variable: MicrosoftOneNoteDownloadpagecontent + $ref: >- + #/block/For each/node-output/Microsoft One Note Download + page content/response/payload + - variable: MicrosoftOneNoteRetrievepages + $ref: >- + #/node-output/Microsoft One Note Retrieve + pages/response/payload + - variable: MicrosoftOneNoteRetrievepagesMetadata + $ref: '#/node-output/Microsoft One Note Retrieve pages/response' + - variable: flowDetails + $ref: '#/flowDetails' + name: Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote +models: {} From 15e1815239b2868f9b8faf2fb358b2602caa2e81 Mon Sep 17 00:00:00 2001 From: shahminiaru <86762255+shahminiaru@users.noreply.github.com> Date: Thu, 17 Aug 2023 18:54:06 +0800 Subject: [PATCH 2/8] ms onenote 4 ucs --- ...te when a task is created in Asana_instructions.md | 10 ++++++++++ ... file downloaded from Google Drive_instructions.md | 11 +++++++++++ ...ttachments from Microsoft Exchange_instructions.md | 11 +++++++++++ ...t retrieved from Microsoft OneNote_instructions.md | 10 ++++++++++ 4 files changed, 42 insertions(+) create mode 100644 resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md create mode 100644 resources/markdown/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md create mode 100644 resources/markdown/Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md create mode 100644 resources/markdown/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md diff --git a/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md b/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md new file mode 100644 index 000000000..66c187dca --- /dev/null +++ b/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md @@ -0,0 +1,10 @@ +To refer to these instructions while editing the flow, open [the GitHub page] +(https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Append%20a%20note%20in%20Microsoft%20OneNote%20when%20a%20task%20is%20created%20in%20Asana_instructions.md) (opens in a new window). + +1. Click **Create flow** to start using the template. +2. Connect to the following accounts by using your credentials: + - [Asana](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-asana) + - [Microsoft OneNote](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-microsoft-onenote) +3. To start the flow, in the banner, click **Start flow**. + +Use this template to append a note to a Microsoft OneNote page whenever a new task is created in Asana. The note is added based on the Asana assignee status. diff --git a/resources/markdown/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md b/resources/markdown/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md new file mode 100644 index 000000000..69abbc750 --- /dev/null +++ b/resources/markdown/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md @@ -0,0 +1,11 @@ +To refer to these instructions while editing the flow, open [the GitHub page] +(https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Append%20a%20note%20to%20the%20Microsoft%20OneNote%20page%20for%20each%20file%20downloaded%20from%20Google%20Drive_instructions.md) (opens in a new window). + +1. Click **Create flow** to start using the template. +2. Connect to the following accounts by using your credentials: + - [Google Drive](https://www.ibm.com/docs/en/app-connect/saas?topic=apps-asana) + - [Microsoft OneNote](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-microsoft-onenote) + - [Slack](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-slack) +3. To start the flow, in the banner, click **Start flow**. + +Use this template to append a note to the Microsoft OneNote page for each new file downloaded from Google Drive. Google Drive retrieves and downloads the files periodically. For each new file, OneNote creates the file and adds a note to it. diff --git a/resources/markdown/Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md b/resources/markdown/Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md new file mode 100644 index 000000000..f6af0df87 --- /dev/null +++ b/resources/markdown/Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md @@ -0,0 +1,11 @@ +To refer to these instructions while editing the flow, open [the GitHub page] +(https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Create%20a%20page%20with%20embedded%20content%20for%20each%20new%20email%20received%20with%20attachments%20from%20Microsoft%20Exchange_instructions.md) (opens in a new window). + +1. Click **Create flow** to start using the template. +2. Connect to the following accounts by using your credentials: + - [Microsoft Exchange](https://www.ibm.com/docs/en/app-connect/saas?topic=apps-microsoft-exchange) + - [Microsoft OneNote](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-microsoft-onenote) + - [Slack](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-slack) +3. To start the flow, in the banner, click **Start flow**. + +Use this template to create a page with embedded content for each new email received with attachments from Microsoft Exchange. Otherwise, a slack notification is sent, notifying that the email has no attachment. \ No newline at end of file diff --git a/resources/markdown/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md b/resources/markdown/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md new file mode 100644 index 000000000..57833c7fa --- /dev/null +++ b/resources/markdown/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md @@ -0,0 +1,10 @@ +To refer to these instructions while editing the flow, open [the GitHub page] +(https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Create%20an%20HTML%20file%20in%20Box%20for%20each%20page%20of%20the%20HTML%20content%20retrieved%20from%20Microsoft%20OneNote_instructions.md) (opens in a new window). + +1. Click **Create flow** to start using the template. +2. Connect to the following accounts by using your credentials: + - [Box](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-box) + - [Microsoft OneNote](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-microsoft-onenote) +3. To start the flow, in the banner, click **Start flow**. + +Use this template to create an HTML file in Box for each page of the content downloaded from Microsoft OneNote. An HTML file is created in Box based on the downloaded HTML content from the retrieved OneNote pages. From 597e17c402ad838ab2c9e74fded5bbe051be5f0f Mon Sep 17 00:00:00 2001 From: shahminiaru <86762255+shahminiaru@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:49:57 +0800 Subject: [PATCH 3/8] Update template-metadata.json onenote 4 ucs --- resources/template-metadata.json | 356 ++++++++++++++++++++++++++++++- 1 file changed, 349 insertions(+), 7 deletions(-) diff --git a/resources/template-metadata.json b/resources/template-metadata.json index 326cd6570..653cf4146 100644 --- a/resources/template-metadata.json +++ b/resources/template-metadata.json @@ -10,7 +10,7 @@ }, { "name": "Open a ticket on ServiceNow from an identified issue in Slack and send an email using Gmail", - "description": "Use this template to open a ticket in ServiceNow directly from Slack using a simple slash command. The flow will send you an email using Gmail with the ticket ID number and creation date in the subject, and the description of the issue in the body of the email.", + "description": "Use this template to open a ticket in ServiceNow directly from Slack using a simple slash command. The flow sends you an email using Gmail with the ticket ID number and creation date in the subject, and the description of the issue in the body of the email.", "summary": "Slack to 2 applications", "sourceApp": "slack", "targetApps": ["servicenow", "gmail"], @@ -19,7 +19,7 @@ }, { "name": "Create a Slack translation bot", - "description": "Configure a /translate Slack slash command and use this template to translate messages from English to French, and French to English. Use /translate before a message for the bot to identify the language and translate the message. A message then appears in the channel in both languages, allowing for real time multilingual chat.", + "description": "Configure a /translate Slack slash command and use this template to translate messages from English to French, and French to English. Use /translate before a message for the bot to identify the language and translate the message. A message then appears in the channel in both languages, allowing for real-time multilingual chat.", "summary": "Slack to 2 applications", "sourceApp": "slack", "targetApps": ["watsonlt", "slack"], @@ -122,7 +122,7 @@ "summary": "Slack to 3 applications", "sourceApp": "slack", "targetApps": ["googlesheet", "marketo", "slack"], - "tags": ["slack", "marketo", "googlesheets", "spreadsheet", "marketing", "contact", "lead", "leadcapturing"], + "tags": ["slack", "marketo", "googlesheet", "spreadsheet", "marketing", "contact", "lead", "leadcapturing"], "offerings": ["app connect professional"] }, { @@ -248,7 +248,7 @@ "summary": "1 flow using 2 applications", "sourceApp": "api", "targetApps": ["googlesheet", "salesforce"], - "tags": ["api", "salesforce", "googlesheets"], + "tags": ["api", "salesforce", "googlesheet"], "offerings": ["app connect professional"] }, { @@ -869,7 +869,7 @@ "summary": "Google Sheets to Trello", "sourceApp": "googlesheet", "targetApps": ["trello"], - "tags": ["trello", "googlesheets", "spreadsheet", "record", "card", "event-driven flow", "row","metadata"], + "tags": ["trello", "googlesheet", "spreadsheet", "record", "card", "event-driven flow", "row","metadata"], "offerings": ["app connect professional"] }, { @@ -1781,7 +1781,7 @@ "tags": ["jira", "db2"], "offerings": ["app connect professional"] }, - { + { "name": "Create an incident in ServiceNow whenever a new customer issue record is added to IBM Db2", "description": "Use this template to create an incident in ServiceNow whenever a new customer issue record is added to IBM Db2.", "summary": "IBM Db2 to ServiceNow", @@ -1789,6 +1789,348 @@ "targetApps": ["servicenow"], "tags": ["db2", "servicenow"], "offerings": ["app connect professional"] - } + }, + { + "name": "Create a folder in Box whenever a new case is created in Salesforce", + "description": "Use this template to create a folder in Box whenever a new case is created in Salesforce.", + "summary": "Salesforce to Box", + "sourceApp": "salesforce", + "targetApps": ["box"], + "tags": ["salesforce", "box"], + "offerings": ["app connect professional"] + }, +{ + "name": "Create a folder in Box whenever a new opportunity is created in Salesforce", + "description": "Use this template to create a folder in Box whenever a new opportunity is created in Salesforce.", + "summary": "Salesforce to 2 applications", + "sourceApp": "salesforce", + "targetApps": ["gmail", "box"], + "tags": ["salesforce", "box", "gmail"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a folder in Box whenever a new account is created in Salesforce", + "description": "Use this template to create a folder in Box whenever a new account is created in Salesforce.", + "summary": "Salesforce to Box", + "sourceApp": "salesforce", + "targetApps": ["box"], + "tags": ["salesforce", "box"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a folder in Box whenever a new incident is created in ServiceNow", + "description": "Use this template to create a folder in Box whenever a new incident is created in ServiceNow.", + "summary": "ServiceNow to Box", + "sourceApp": "servicenow", + "targetApps": ["box"], + "tags": ["servicenow", "box"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a folder in Box for each event retrieved from Eventbrite", + "description": "Use this template to create a folder in Box for each event retrieved from Eventbrite.", + "summary": "Scheduler to 2 applications", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["eventbrite", "box"], + "tags": ["scheduler", "eventbrite", "box", "foreach"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a folder in Box whenever a new form entry is created in Wufoo", + "description": "Use this template to create a folder in Box whenever a new form entry is created in Wufoo.", + "summary": "Wufoo to Box", + "sourceApp": "wufoo", + "targetApps": ["box"], + "tags": ["wufoo", "box"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a folder in Box whenever a new campaign is created in MailChimp", + "description": "Use this template to create a folder in Box whenever a new campaign is created in MailChimp.", + "summary": "MailChimp to Box", + "sourceApp": "mailchimp", + "targetApps": ["box"], + "tags": ["mailchimp", "box"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a folder in Google Drive for each event retrieved from Eventbrite", + "description": "Use this template to create a folder in Google Drive for each event retrieved from Eventbrite.", + "summary": "Scheduler to 2 applications", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["eventbrite", "googledrive"], + "tags": ["scheduler", "googledrive", "eventbrite", "foreach"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a folder in Google Drive whenever a new row is appended in Google Sheets", + "description": "Use this template to create a folder in Google Drive whenever a new row is appended in a Google Sheets spreadsheet.", + "summary": "Google Sheets to Google Drive", + "sourceApp": "googlesheet", + "targetApps": ["googledrive"], + "tags": ["googlesheet", "googledrive"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a folder in Google Drive whenever a new campaign is created in Salesforce", + "description": "Use this template to create a folder in Google Drive whenever a new campaign is created in Salesforce.", + "summary": "Salesforce to Google Drive", + "sourceApp": "salesforce", + "targetApps": ["googledrive"], + "tags": ["salesforce", "googledrive"], + "offerings": ["app connect professional"] + }, + { + "name": "Send a Slack message whenever a new task is created in Asana", + "description": "Use this template to send a Slack message to the intended channel whenever a new task is created in Asana.", + "summary": "Asana to Slack", + "sourceApp": "asana", + "targetApps": ["slack"], + "tags": ["asana", "slack"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a task in Asana whenever a new row is appended in Google Sheets", + "description": "Use this template to create a task in Asana whenever a new row is appended to a Google Sheets spreadsheet. A Slack notification is then posted in the intended channel.", + "summary": "Google Sheets to 2 applications", + "sourceApp": "googlesheet", + "targetApps": ["asana", "slack"], + "tags": ["googlesheet", "asana", "slack"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a row in Google Sheets whenever a new task is created in Asana", + "description": "Use this template to create a row in a Google Sheets spreadsheet whenever a new task is created in Asana. A Slack notification is then posted in the intended channel.", + "summary": "Asana to 2 applications", + "sourceApp": "asana", + "targetApps": ["googlesheet", "slack"], + "tags": ["asana", "googlesheet", "slack"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a task in Asana whenever a new subscriber is added to MailChimp", + "description": "Use this template to create a task in Asana whenever a new subscriber is added in MailChimp.", + "summary": "MailChimp to Asana ", + "sourceApp": "mailchimp", + "targetApps": ["asana"], + "tags": ["mailchimp", "asana"], + "offerings": ["app connect professional"] + }, + { + "name": "Send a Gmail message whenever a new task is created in Asana", + "description": "Use this template to send a Gmail message to the intended recipients whenever a new task is created in Asana.", + "summary": "Asana to Gmail", + "sourceApp": "asana", + "targetApps": ["gmail"], + "tags": ["asana", "gmail"], + "offerings": ["app connect professional"] + }, + { + "name": "Add a card to a list in Trello whenever a new task is created in Asana", + "description": "Use this template to add a card to a list in Trello whenever a new task is created in Asana.", + "summary": "Asana to Trello", + "sourceApp": "asana", + "targetApps": ["trello"], + "tags": ["asana", "trello"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a task in Asana whenever a new response is added in SurveyMonkey", + "description": "Use this template to create a task in Asana whenever a new response is added in SurveyMonkey.", + "summary": "SurveyMonkey to Asana", + "sourceApp": "surveymonkey", + "targetApps": ["asana"], + "tags": ["surveymonkey", "asana"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a customer in Square when a customer is created in Shopify", + "description": "Use this template to create a new customer in Square when a new customer is created in Shopify.", + "summary": "2 flows using 2 applications", + "sourceApp": "api", + "targetApps": ["shopify", "square"], + "tags": ["api", "shopify", "square"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a contact in HubSpot CRM when a contact is created in Salesforce and then associate the contact with a company", + "description": "Use this template to create a contact in HubSpot CRM with the contact details whenever a contact is created in Salesforce. If the Salesforce contact has the company’s details, then the company will be associated with the contact in HubSpot CRM.", + "summary": "Salesforce to 2 applications", + "sourceApp": "salesforce", + "targetApps": ["hubspotcrm", "salesforce"], + "tags": ["salesforce", "hubspotcrm", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Create an order in Oracle E-Business Suite when a new order is received in Microsoft Dynamics 365", + "description": "Use this template to create an order in Oracle E-Business Suite when a new order is received in Microsoft Dynamics 365 for Sales.", + "summary": "Microsoft Dynamics 365 for Sales to Oracle E-Business Suite", + "sourceApp": "msdynamicscrmrest", + "targetApps": ["oracleebs"], + "tags": ["msdynamicscrmrest", "oracleebs"], + "offerings": ["app connect professional"] + }, + { + "name": "Send an email notification on creating an employee in BambooHR", + "description": "Use this template to send an email notification to a user or employee on Gmail on adding a new employee in BambooHR.", + "summary": "Scheduler to 2 applications", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["bamboohr", "gmail"], + "tags": ["scheduler","bamboohr", "gmail"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a new form entry in Wufoo from BambooHR", + "description": "Use this template to create a new employee entry in Wufoo from BambooHR", + "summary": "1 flow using 2 applications", + "sourceApp": "api", + "targetApps": ["bamboohr", "wufoo"], + "tags": ["api", "bamboohr", "wufoo"], + "offerings": ["app connect professional"] + }, + { + "name": "Send an email using a template from Salesforce Account Engagement for each Salesforce Account Engagement prospect", + "description": "Use this template to send an email by using a template from Salesforce Account Engagement for each prospect retrieved from Salesforce Account Engagement that has opted out of phone or voice calls.", + "summary": "Scheduler to Salesforce Account Engagement", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["salesforceae"], + "tags": ["scheduler", "salesforceae", "foreach", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Update a prospect score in Salesforce Account Engagement for each visit retrieved from Salesforce Account Engagement", + "description": "Use this template to update a prospect score in Salesforce Account Engagement based on the each visit retrieved from Salesforce Account Engagement. The flow checks if the prospect has visited the site for a certain amount of time and the number of page views.", + "summary": "Scheduler to Salesforce Account Engagement", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["salesforceae"], + "tags": ["scheduler", "salesforceae", "foreach", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Associate a new prospect to a list in Salesforce Account Engagement when a new subscriber is created in MailChimp", + "description": "Use this template to associate a newly created prospect to a list in Salesforce Account Engagement from a MailChimp list whenever a new subscriber is created in MailChimp. If the list exists, based on the new subscriber, a prospect is created, and the prospect is then associated with the existing list. If the list does not exist, a list is created along with the prospect details, and it will be associated with the newly created list in Salesforce Account Engagement.", + "summary": "MailChimp to Salesforce Account Engagement", + "sourceApp": "mailchimp", + "targetApps": ["mailchimp", "salesforceae"], + "tags": ["mailchimp", "salesforceae", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a contact and add the contact to a Google Contacts group based on the product interest of the new Salesforce lead", + "description": "Use this template to create a contact and add the contact to a contact group in Google Contacts whenever a new lead is created in Salesforce. The contacts created are then added to Google Contacts group based on the product interest of the new Salesforce lead.", + "summary": "Salesforce to Google Contacts", + "sourceApp": "salesforce", + "targetApps": ["googlecontacts"], + "tags": ["googlecontacts", "salesforceae", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a contact in Google Contacts when a new row in Google Sheets containing contact information is appended", + "description": "Use this template to create a contact in Google Contacts whenever a new complete row containing contact information is appended in Google Sheets.", + "summary": "Google Sheets to Google Contacts", + "sourceApp": "googlesheet", + "targetApps": ["googlecontacts"], + "tags": ["googlesheet", "googlecontacts", "foreach"], + "offerings": ["app connect professional"] + }, + { + "name": "Add subscribers to a list in MailChimp for each other contact retrieved from Google Contacts", + "description": "Use this template to add subscribers to a list in MailChimp for each other contact retrieved from Google Contacts. This use case retrieves the other contacts from Google Contacts by using a search string.", + "summary": "Scheduler to 2 applications", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["googlecontacts", "mailchimp"], + "tags": ["scheduler", "googlecontacts", "mailchimp", "foreach"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a contact in Google Contacts for each HubSpot CRM contact who qualifies as a customer", + "description": "Use this template to create a contact in Google Contacts for each contact retrieved from HubSpot CRM. If the HubSpot CRM contact type is a customer, the contact is created in Google Contacts with the customer information.", + "summary": "Scheduler to 3 applications", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["hubspotcrm", "googlecontacts", "slack"], + "tags": ["scheduler", "googlecontacts", "hubspotcrm", "slack", "foreach", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a task in Microsoft To Do when a new task is created in Asana", + "description": "Use this template to create a new task in the default list in Microsoft To Do whenever a new task is created in Asana.", + "summary": "Asana to Microsoft To Do", + "sourceApp": "asana", + "targetApps": ["mstodo"], + "tags": ["asana", "mstodo"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a task in a list in Microsoft To Do when a lead is created in Salesforce", + "description": "Use this template to create a new task in a list in Microsoft To Do whenever a new lead is created in Salesforce. The task is created and added to the Microsoft To Do list based on the lead rating of the new Salesforce lead.", + "summary": "Salesforce to Microsoft To Do", + "sourceApp": "salesforce", + "targetApps": ["mstodo"], + "tags": ["salesforce", "mstodo"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a task in Microsoft To Do when a new event is created in Google Calendar", + "description": "Use this template to create a new task in Microsoft To Do whenever a new event is created in Google Calendar.", + "summary": "Google Calendar to Microsoft To Do", + "sourceApp": "googlecalendar", + "targetApps": ["mstodo"], + "tags": ["googlecalendar", "mstodo"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a task on the Microsoft To Do list using information retrieved from Microsoft Excel Online", + "description": "Use this template to create a new task in a list in Microsoft To Do whenever a new row is appended in Microsoft Excel Online. A new list is created if the list doesn’t exist in To Do based on the information retrieved from the Microsoft Excel Online worksheet. A task is then added to the newly created list. Otherwise, if the list already exists in To Do, the task will be added to that list.", + "summary": "Microsoft Excel Online to 2 applications", + "sourceApp": "msexcel", + "targetApps": ["mstodo", "slack"], + "tags": ["msexcel", "mstodo", "slack", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a task in Microsoft To Do when a new ticket is created in Zendesk Service", + "description": "Use this template to create a new task in Microsoft To Do whenever a new ticket is created in Zendesk Service. The task is created in a Microsoft default list based on the Zendesk Service ticket type.", + "summary": "Zendesk Service to Microsoft To Do", + "sourceApp": "zendeskservice", + "targetApps": ["mstodo"], + "tags": ["zendeskservice", "mstodo", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Append a note in Microsoft OneNote when a task is created in Asana", + "description": "Use this template to append a note to a Microsoft OneNote page whenever a new task is created in Asana. The note is added based on the Asana assignee status.", + "summary": "Asana to Microsoft OneNote", + "sourceApp": "asana", + "targetApps": ["msonenote"], + "tags": ["asana", "msonenote", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Append a note to the Microsoft OneNote page for each file downloaded from Google Drive", + "description": "Use this template to append a note to the Microsoft OneNote page for each new file downloaded from Google Drive. Google Drive retrieves and downloads the files periodically. For each new file, OneNote creates the file and adds a note to it.", + "summary": "Scheduler to 3 applications", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["googledrive", "msonenote", "slack"], + "tags": ["scheduler", "googledrive", "msonenote", "slack", "foreach", "if"], + "offerings": ["app connect professional"] + }, + { + "name": "Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote", + "description": "Use this template to create an HTML file in Box for each page of the content downloaded from Microsoft OneNote. An HTML file is created in Box based on the downloaded HTML content from the retrieved OneNote pages.", + "summary": "Scheduler to 2 applications", + "sourceApp": "streaming-connector-scheduler", + "targetApps": ["msonenote", "box"], + "tags": ["scheduler", "msonenote", "box", "foreach"], + "offerings": ["app connect professional"] + }, + { + "name": "Create a page with embedded content for each new email received with attachments from Microsoft Exchange", + "description": "Use this template to create a page with embedded content for each new email received with attachments from Microsoft Exchange. Otherwise, a slack notification is sent, notifying that the email has no attachment.", + "summary": "Microsoft Exchange to 2 applications", + "sourceApp": "msexchange", + "targetApps": ["msonenote", "slack"], + "tags": ["msexchange", "msonenote", "slack", "if"], + "offerings": ["app connect professional"] + }, ] } From 77e72814c239fb830411d6cf4f6c2f2ab71cf143 Mon Sep 17 00:00:00 2001 From: shahminiaru <86762255+shahminiaru@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:52:07 +0800 Subject: [PATCH 4/8] Update Append a note in Microsoft OneNote when a task is created in Asana_instructions.md onenote --- ...oft OneNote when a task is created in Asana_instructions.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md b/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md index 66c187dca..1e772b324 100644 --- a/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md +++ b/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md @@ -1,5 +1,4 @@ -To refer to these instructions while editing the flow, open [the GitHub page] -(https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Append%20a%20note%20in%20Microsoft%20OneNote%20when%20a%20task%20is%20created%20in%20Asana_instructions.md) (opens in a new window). +To refer to these instructions while editing the flow, open [the GitHub page](https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Append%20a%20note%20in%20Microsoft%20OneNote%20when%20a%20task%20is%20created%20in%20Asana_instructions.md) (opens in a new window). 1. Click **Create flow** to start using the template. 2. Connect to the following accounts by using your credentials: From eff459121b192ea486d76efc87c2ef9d849b26ef Mon Sep 17 00:00:00 2001 From: shahminiaru <86762255+shahminiaru@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:53:04 +0800 Subject: [PATCH 5/8] Update Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md onenote --- ...or each file downloaded from Google Drive_instructions.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/markdown/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md b/resources/markdown/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md index 69abbc750..6e804f3f1 100644 --- a/resources/markdown/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md +++ b/resources/markdown/Append a note to the Microsoft OneNote page for each file downloaded from Google Drive_instructions.md @@ -1,9 +1,8 @@ -To refer to these instructions while editing the flow, open [the GitHub page] -(https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Append%20a%20note%20to%20the%20Microsoft%20OneNote%20page%20for%20each%20file%20downloaded%20from%20Google%20Drive_instructions.md) (opens in a new window). +To refer to these instructions while editing the flow, open the [GitHub page](https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Append%20a%20note%20to%20the%20Microsoft%20OneNote%20page%20for%20each%20file%20downloaded%20from%20Google%20Drive_instructions.md) (opens in a new window). 1. Click **Create flow** to start using the template. 2. Connect to the following accounts by using your credentials: - - [Google Drive](https://www.ibm.com/docs/en/app-connect/saas?topic=apps-asana) + - [Google Drive](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-asana) - [Microsoft OneNote](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-microsoft-onenote) - [Slack](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-slack) 3. To start the flow, in the banner, click **Start flow**. From db08c3be1d1f7b71ad6cfce5ea203729eb6ad844 Mon Sep 17 00:00:00 2001 From: shahminiaru <86762255+shahminiaru@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:53:38 +0800 Subject: [PATCH 6/8] Update Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md onenote --- ...ith attachments from Microsoft Exchange_instructions.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/markdown/Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md b/resources/markdown/Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md index f6af0df87..f10f44fd7 100644 --- a/resources/markdown/Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md +++ b/resources/markdown/Create a page with embedded content for each new email received with attachments from Microsoft Exchange_instructions.md @@ -1,11 +1,10 @@ -To refer to these instructions while editing the flow, open [the GitHub page] -(https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Create%20a%20page%20with%20embedded%20content%20for%20each%20new%20email%20received%20with%20attachments%20from%20Microsoft%20Exchange_instructions.md) (opens in a new window). +To refer to these instructions while editing the flow, open the [GitHub page](https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Create%20a%20page%20with%20embedded%20content%20for%20each%20new%20email%20received%20with%20attachments%20from%20Microsoft%20Exchange_instructions.md) (opens in a new window). 1. Click **Create flow** to start using the template. 2. Connect to the following accounts by using your credentials: - - [Microsoft Exchange](https://www.ibm.com/docs/en/app-connect/saas?topic=apps-microsoft-exchange) + - [Microsoft Exchange](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-microsoft-exchange) - [Microsoft OneNote](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-microsoft-onenote) - [Slack](https://www.ibm.com/docs/en/app-connect/containers_cd?topic=apps-slack) 3. To start the flow, in the banner, click **Start flow**. -Use this template to create a page with embedded content for each new email received with attachments from Microsoft Exchange. Otherwise, a slack notification is sent, notifying that the email has no attachment. \ No newline at end of file +Use this template to create a page with embedded content for each new email received with attachments from Microsoft Exchange. Otherwise, a slack notification is sent, notifying that the email has no attachment. From 24265d142ab2f5336ba771b92ca0c378a632f93e Mon Sep 17 00:00:00 2001 From: shahminiaru <86762255+shahminiaru@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:54:19 +0800 Subject: [PATCH 7/8] Update Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md onenote --- ...ML content retrieved from Microsoft OneNote_instructions.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/markdown/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md b/resources/markdown/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md index 57833c7fa..f065b7c86 100644 --- a/resources/markdown/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md +++ b/resources/markdown/Create an HTML file in Box for each page of the HTML content retrieved from Microsoft OneNote_instructions.md @@ -1,5 +1,4 @@ -To refer to these instructions while editing the flow, open [the GitHub page] -(https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Create%20an%20HTML%20file%20in%20Box%20for%20each%20page%20of%20the%20HTML%20content%20retrieved%20from%20Microsoft%20OneNote_instructions.md) (opens in a new window). +To refer to these instructions while editing the flow, open the [GitHub page](https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Create%20an%20HTML%20file%20in%20Box%20for%20each%20page%20of%20the%20HTML%20content%20retrieved%20from%20Microsoft%20OneNote_instructions.md) (opens in a new window). 1. Click **Create flow** to start using the template. 2. Connect to the following accounts by using your credentials: From 5468ab2aa7608d22d58f97919ff4317072e9ebca Mon Sep 17 00:00:00 2001 From: shahminiaru <86762255+shahminiaru@users.noreply.github.com> Date: Mon, 18 Sep 2023 18:54:41 +0800 Subject: [PATCH 8/8] Update Append a note in Microsoft OneNote when a task is created in Asana_instructions.md onenote --- ...soft OneNote when a task is created in Asana_instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md b/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md index 1e772b324..910797aa0 100644 --- a/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md +++ b/resources/markdown/Append a note in Microsoft OneNote when a task is created in Asana_instructions.md @@ -1,4 +1,4 @@ -To refer to these instructions while editing the flow, open [the GitHub page](https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Append%20a%20note%20in%20Microsoft%20OneNote%20when%20a%20task%20is%20created%20in%20Asana_instructions.md) (opens in a new window). +To refer to these instructions while editing the flow, open the [GitHub page](https://github.com/ot4i/app-connect-templates/tree/master/resources/markdown/Append%20a%20note%20in%20Microsoft%20OneNote%20when%20a%20task%20is%20created%20in%20Asana_instructions.md) (opens in a new window). 1. Click **Create flow** to start using the template. 2. Connect to the following accounts by using your credentials: