-
Notifications
You must be signed in to change notification settings - Fork 19
Tool - send email #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
aa0592d
Fixing template issues from bugbash
divyaswarnkar aa1e564
Fixing bugbash issues - fixing title
divyaswarnkar 71fec2f
Fixing bugbash issues - fixing title
divyaswarnkar 5d52b9c
Merge branch 'Azure:main' into main
divyaswarnkar 3717993
Azure File doc ingestion template
divyaswarnkar 475b480
Azure File schedule doc ingestion template
divyaswarnkar 9fbc7f6
Merge branch 'Azure:main' into main
divyaswarnkar 4ae76f0
fixing azure file template for unique index
divyaswarnkar f0acac8
AI Search template with for Amazon S3
divyaswarnkar 83a632d
fixing manifests
divyaswarnkar 54592a0
fixing manifests
divyaswarnkar 1325150
Template for Dropbox
divyaswarnkar e789d1e
fixing id
divyaswarnkar ce39975
fixing connection
divyaswarnkar 84f0757
Merge branch 'Azure:main' into main
divyaswarnkar f2c8cf2
SFTP and Azure Queue Templates
divyaswarnkar 81a35d2
Merge branch 'main' into main
divyaswarnkar 0f38a90
naming issues
divyaswarnkar a575108
Merge branch 'main' of https://github.com/divyaswarnkar/LogicAppsTemp…
divyaswarnkar c5f3981
bug fixes
divyaswarnkar 715f860
bug fixes
divyaswarnkar c5fcf5d
fixing workflow
divyaswarnkar d594565
Merge branch 'Azure:main' into main
divyaswarnkar 9917888
Tool - send email
divyaswarnkar 0cf2bfb
add manifest
divyaswarnkar b643956
fixing bugs
divyaswarnkar 5fbcf19
Weather tool
divyaswarnkar 83869db
tool - send message
divyaswarnkar 8c4eceb
tool teams adaptive card
divyaswarnkar bffa745
Template for Dataverse
divyaswarnkar a57ec97
SQL template
divyaswarnkar d390f55
SQL template id fix
divyaswarnkar 3396427
Tool - SQL query
divyaswarnkar 501c3f3
Template HTTP
divyaswarnkar 0a67faa
bug fix
divyaswarnkar 91f8ba5
Removing optional prereqs from manifests
divyaswarnkar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
[ | ||
"ingest-index-ai-blob-storage-rag", | ||
"receive-request-send-response", | ||
"sync-business-partner-sap-sharepoint-odata", | ||
"try-catch", | ||
"vectorize-onedriveforbusiness-aisearch-request", | ||
"vectorize-onedrive-aisearch-request", | ||
"vectorize-onedriveforbusiness-aisearch-schedule", | ||
"vectorize-onedrive-aisearch-schedule", | ||
"vectorize-sharepoint-aisearch-request", | ||
"vectorize-sharepoint-aisearch-schedule" | ||
"tool-send-email-outlook", | ||
"tool-get-weather-msn", | ||
"tool-post-message-teams", | ||
"tool-post-adaptive-card-teams", | ||
"tool-get-rows-dataverse", | ||
"tool-get-rows-sql", | ||
"tool-execute-query-sql", | ||
"tool-call-uri-http" | ||
] |
This file contains hidden or 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
This file contains hidden or 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,33 @@ | ||
{ | ||
"id": "default", | ||
"title": "Call external HTTP or HTTPS endpoints", | ||
"summary": "Call external HTTP or HTTPS endpoints", | ||
"description": "This workflow sends outbound requests to endpoints on other services or systems over HTTP or HTTPS. It is designed to be triggered by an HTTP request and to call external HTTP/S endpoints.", | ||
"artifacts": [ | ||
{ | ||
"type": "workflow", | ||
"file": "workflow.json" | ||
} | ||
], | ||
"images": { | ||
"light": "workflow-light", | ||
"dark": "workflow-dark" | ||
}, | ||
"parameters": [ | ||
{ | ||
"name": "Method_#workflowname#", | ||
"displayName": "HTTP Method for the endpoint", | ||
"type": "String", | ||
"description": "Provide the HTTP method for the endpoint ", | ||
"required": true, | ||
"dynamicData": { | ||
"type": "list", | ||
"workflow": "default", | ||
"operation": "HTTP", | ||
"connection": "" | ||
} | ||
} | ||
], | ||
"connections": { | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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,66 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", | ||
"contentVersion": "1.0.0.0", | ||
"triggers": { | ||
"When_a_HTTP_request_is_received": { | ||
"type": "Request", | ||
"kind": "Http", | ||
"inputs": { | ||
"schema": { | ||
"type": "object", | ||
"properties": { | ||
"HTTP_URI": { | ||
"description": "URI for HTTP Request", | ||
"type": "string" | ||
}, | ||
"HTTP_request_content": { | ||
"description": "Content or Body of the HTTP Request", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"description": "Use this to call any REST endpoint using HTTP request. Provide the URI to call as well as the content or the body of the request" | ||
} | ||
}, | ||
"actions": { | ||
"Response": { | ||
"runAfter": { | ||
"HTTP": [ | ||
"Succeeded" | ||
] | ||
}, | ||
"type": "Response", | ||
"kind": "Http", | ||
"inputs": { | ||
"statusCode": 200, | ||
"body": "@body('HTTP')" | ||
} | ||
}, | ||
"HTTP": { | ||
"runAfter": {}, | ||
"type": "Http", | ||
"inputs": { | ||
"uri": "@triggerBody()?['HTTP_URI']", | ||
"method": "@parameters('Method_#workflowname#')", | ||
"body": "@triggerBody()?['HTTP_request_content']" | ||
}, | ||
"runtimeConfiguration": { | ||
"contentTransfer": { | ||
"transferMode": "Chunked" | ||
} | ||
} | ||
} | ||
}, | ||
"outputs": {}, | ||
"parameters": { | ||
"Method_#workflowname#": { | ||
"defaultValue": "", | ||
"type": "String" | ||
}, | ||
"$connections": { | ||
"type": "Object", | ||
"defaultValue": {} | ||
} | ||
} | ||
} |
This file contains hidden or 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,33 @@ | ||
{ | ||
"id": "tool-call-uri-http", | ||
"title": "Call external HTTP or HTTPS endpoints", | ||
"summary": "Call external HTTP or HTTPS endpoints", | ||
"description": "This workflow sends outbound requests to endpoints on other services or systems over HTTP or HTTPS. It is designed to be triggered by an HTTP request and to call external HTTP/S endpoints.", | ||
"skus": [ | ||
"consumption" | ||
], | ||
"workflows": { | ||
"default": { | ||
"name": "Call-uri-HTTP" | ||
} | ||
}, | ||
"featuredConnectors": [ | ||
{ | ||
"id": "connectionProviders/request", | ||
"kind": "builtin" | ||
}, | ||
{ | ||
"id": "connectionProviders/Http", | ||
"kind": "builtin" | ||
} | ||
], | ||
"details": { | ||
"By": "Microsoft", | ||
"Type": "Workflow", | ||
"Trigger": "Request", | ||
"Category": "AI" | ||
}, | ||
"tags": [ | ||
"Tools" | ||
] | ||
} |
This file contains hidden or 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,50 @@ | ||
{ | ||
"id": "default", | ||
"title": "Execute SQL query on a database", | ||
"summary": "Execute SQL query on any table in a database", | ||
"description": "his workflow executed a query on a given table in a database. It is designed to be triggered by an HTTP request, run the query provided in the request and return the results back as a response.", | ||
"artifacts": [ | ||
{ | ||
"type": "workflow", | ||
"file": "workflow.json" | ||
} | ||
], | ||
"images": { | ||
"light": "workflow-light", | ||
"dark": "workflow-dark" | ||
}, | ||
"parameters": [ | ||
{ | ||
"name": "ServerName_#workflowname#", | ||
"displayName": "SQL Server name", | ||
"type": "String", | ||
"description": "Provide the full SQL Server name ", | ||
"required": true, | ||
"dynamicData": { | ||
"type": "list", | ||
"workflow": "default", | ||
"operation": "Get_rows", | ||
"connection": "sql_#workflowname#" | ||
} | ||
}, | ||
{ | ||
"name": "DatabaseName_#workflowname#", | ||
"displayName": "SQL Server database name", | ||
"type": "String", | ||
"description": "Provide the SQL database name from where you want read records", | ||
"required": true, | ||
"dynamicData": { | ||
"type": "list", | ||
"workflow": "default", | ||
"operation": "Get_rows", | ||
"connection": "sql_#workflowname#" | ||
} | ||
} | ||
], | ||
"connections": { | ||
"sql_#workflowname#": { | ||
"connectorId": "/subscriptions/#subscription#/providers/Microsoft.Web/locations/#location#/managedApis/sql", | ||
"kind": "shared" | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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,68 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", | ||
"contentVersion": "1.0.0.0", | ||
"triggers": { | ||
"When_a_HTTP_request_is_received": { | ||
"type": "Request", | ||
"kind": "Http", | ||
"inputs": { | ||
"schema": { | ||
"type": "object", | ||
"properties": { | ||
"sql_query": { | ||
"description": "SQL query to execute on a given SQL Server and database. The query should be wellformed as per SQL rules", | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"description": "Execute SQL query and return results" | ||
} | ||
}, | ||
"actions": { | ||
"Response": { | ||
"runAfter": { | ||
"Execute_a_SQL_query": [ | ||
"Succeeded" | ||
] | ||
}, | ||
"type": "Response", | ||
"kind": "Http", | ||
"inputs": { | ||
"statusCode": 200, | ||
"body": "@body('Execute_a_SQL_query')" | ||
} | ||
}, | ||
"Execute_a_SQL_query": { | ||
"runAfter": {}, | ||
"type": "ApiConnection", | ||
"inputs": { | ||
"host": { | ||
"connection": { | ||
"name": "@parameters('$connections')['sql_#workflowname#']['connectionId']" | ||
} | ||
}, | ||
"method": "post", | ||
"body": { | ||
"query": "@triggerBody()?['sql_query']" | ||
}, | ||
"path": "/v2/datasets/@{encodeURIComponent(encodeURIComponent(parameters('ServerName_#workflowname#')))},@{encodeURIComponent(encodeURIComponent(parameters('DatabaseName_#workflowname#')))}/query/sql" | ||
} | ||
} | ||
}, | ||
"outputs": {}, | ||
"parameters": { | ||
"ServerName_#workflowname#": { | ||
"defaultValue": "", | ||
"type": "String" | ||
}, | ||
"DatabaseName_#workflowname#": { | ||
"defaultValue": "", | ||
"type": "String" | ||
}, | ||
"$connections": { | ||
"type": "Object", | ||
"defaultValue": {} | ||
} | ||
} | ||
} |
This file contains hidden or 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,33 @@ | ||
{ | ||
"id": "tool-execute-query-sql", | ||
"title": "Execute SQL query on a database", | ||
"summary": "Execute SQL query on any table in a database", | ||
"description": "This workflow executed a query on a given table in a database. It is designed to be triggered by an HTTP request, run the query provided in the request and return the results back as a response. ", | ||
"skus": [ | ||
"consumption" | ||
], | ||
"workflows": { | ||
"default": { | ||
"name": "Execute-query-SQL" | ||
} | ||
}, | ||
"featuredConnectors": [ | ||
{ | ||
"id": "connectionProviders/request", | ||
"kind": "builtin" | ||
}, | ||
{ | ||
"id": "/subscriptions/#subscription#/providers/Microsoft.Web/locations/#location#/managedApis/sql", | ||
"kind": "shared" | ||
} | ||
], | ||
"details": { | ||
"By": "Microsoft", | ||
"Type": "Workflow", | ||
"Trigger": "Request", | ||
"Category": "AI" | ||
}, | ||
"tags": [ | ||
"Tools" | ||
] | ||
} |
This file contains hidden or 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,50 @@ | ||
{ | ||
"id": "default", | ||
"title": "Get rows from dataverse table", | ||
"summary": "Get rows from dataverse table", | ||
"description": "This workflow gets rows from dataverse table. It is designed to be triggered by an HTTP request, get rows from the dataverse table and return the response back to the caller.", | ||
"artifacts": [ | ||
{ | ||
"type": "workflow", | ||
"file": "workflow.json" | ||
} | ||
], | ||
"images": { | ||
"light": "workflow-light", | ||
"dark": "workflow-dark" | ||
}, | ||
"parameters": [ | ||
{ | ||
"name": "Environment_#workflowname#", | ||
"displayName": "Microsoft Dataverse environment", | ||
"type": "String", | ||
"description": "Provide the Microsoft Dataverse environment ", | ||
"required": true, | ||
"dynamicData": { | ||
"type": "list", | ||
"workflow": "default", | ||
"operation": "List_rows", | ||
"connection": "commondataservice_#workflowname#" | ||
} | ||
}, | ||
{ | ||
"name": "TableName_#workflowname#", | ||
"displayName": "Dataverse table name", | ||
"type": "String", | ||
"description": "Provide the Dataverse table name from where you want read records", | ||
"required": true, | ||
"dynamicData": { | ||
"type": "list", | ||
"workflow": "default", | ||
"operation": "List_rows", | ||
"connection": "commondataservice_#workflowname#" | ||
} | ||
} | ||
], | ||
"connections": { | ||
"commondataservice_#workflowname#": { | ||
"connectorId": "/subscriptions/#subscription#/providers/Microsoft.Web/locations/#location#/managedApis/commondataservice", | ||
"kind": "shared" | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dynamic data would not work without connection provided right? Could we get rid of this dynamic data please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Elaina-Lee do you know if dynamic data is supported for built in actions ?