Skip to content

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 36 commits into from
Apr 21, 2025
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
aa0592d
Fixing template issues from bugbash
divyaswarnkar Mar 20, 2025
aa1e564
Fixing bugbash issues - fixing title
divyaswarnkar Mar 20, 2025
71fec2f
Fixing bugbash issues - fixing title
divyaswarnkar Mar 20, 2025
5d52b9c
Merge branch 'Azure:main' into main
divyaswarnkar Apr 3, 2025
3717993
Azure File doc ingestion template
divyaswarnkar Apr 3, 2025
475b480
Azure File schedule doc ingestion template
divyaswarnkar Apr 4, 2025
9fbc7f6
Merge branch 'Azure:main' into main
divyaswarnkar Apr 10, 2025
4ae76f0
fixing azure file template for unique index
divyaswarnkar Apr 10, 2025
f0acac8
AI Search template with for Amazon S3
divyaswarnkar Apr 10, 2025
83a632d
fixing manifests
divyaswarnkar Apr 10, 2025
54592a0
fixing manifests
divyaswarnkar Apr 10, 2025
1325150
Template for Dropbox
divyaswarnkar Apr 11, 2025
e789d1e
fixing id
divyaswarnkar Apr 11, 2025
ce39975
fixing connection
divyaswarnkar Apr 11, 2025
84f0757
Merge branch 'Azure:main' into main
divyaswarnkar Apr 11, 2025
f2c8cf2
SFTP and Azure Queue Templates
divyaswarnkar Apr 14, 2025
81a35d2
Merge branch 'main' into main
divyaswarnkar Apr 14, 2025
0f38a90
naming issues
divyaswarnkar Apr 14, 2025
a575108
Merge branch 'main' of https://github.com/divyaswarnkar/LogicAppsTemp…
divyaswarnkar Apr 14, 2025
c5f3981
bug fixes
divyaswarnkar Apr 14, 2025
715f860
bug fixes
divyaswarnkar Apr 14, 2025
c5fcf5d
fixing workflow
divyaswarnkar Apr 14, 2025
d594565
Merge branch 'Azure:main' into main
divyaswarnkar Apr 18, 2025
9917888
Tool - send email
divyaswarnkar Apr 18, 2025
0cf2bfb
add manifest
divyaswarnkar Apr 18, 2025
b643956
fixing bugs
divyaswarnkar Apr 18, 2025
5fbcf19
Weather tool
divyaswarnkar Apr 18, 2025
83869db
tool - send message
divyaswarnkar Apr 18, 2025
8c4eceb
tool teams adaptive card
divyaswarnkar Apr 18, 2025
bffa745
Template for Dataverse
divyaswarnkar Apr 18, 2025
a57ec97
SQL template
divyaswarnkar Apr 19, 2025
d390f55
SQL template id fix
divyaswarnkar Apr 19, 2025
3396427
Tool - SQL query
divyaswarnkar Apr 21, 2025
501c3f3
Template HTTP
divyaswarnkar Apr 21, 2025
0a67faa
bug fix
divyaswarnkar Apr 21, 2025
91f8ba5
Removing optional prereqs from manifests
divyaswarnkar Apr 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 7 additions & 10 deletions agentservicemanifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
[
"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"
]
9 changes: 8 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,12 @@
"vectorize-sftp-aisearch-request",
"vectorize-azurequeue-aisearch-schedule",
"vectorize-azurequeue-aisearch-request",
"vectorize-servicebus-aisearch-schedule"
"vectorize-servicebus-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"
]
51 changes: 51 additions & 0 deletions tool-execute-query-sql/default/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"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. ",
"prerequisites": "",
"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"
}
}
}
Binary file added tool-execute-query-sql/default/workflow-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tool-execute-query-sql/default/workflow-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions tool-execute-query-sql/default/workflow.json
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": {}
}
}
}
33 changes: 33 additions & 0 deletions tool-execute-query-sql/manifest.json
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"
]
}
51 changes: 51 additions & 0 deletions tool-get-rows-dataverse/default/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"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.",
"prerequisites": "",
"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"
}
}
}
Binary file added tool-get-rows-dataverse/default/workflow-dark.png
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.
74 changes: 74 additions & 0 deletions tool-get-rows-dataverse/default/workflow.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"$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": {
"email_to": {
"type": "string"
},
"email_subject": {
"type": "string"
},
"email_body": {
"type": "string"
}
}
}
},
"description": "Get records from Dataverse table"
}
},
"actions": {
"Response": {
"runAfter": {
"List_rows": [
"Succeeded"
]
},
"type": "Response",
"kind": "Http",
"inputs": {
"statusCode": 200
}
},
"List_rows": {
"runAfter": {},
"type": "ApiConnection",
"inputs": {
"host": {
"connection": {
"name": "@parameters('$connections')['commondataservice_#workflowname#']['connectionId']"
}
},
"method": "get",
"headers": {
"prefer": "odata.include-annotations=*",
"accept": "application/json;odata.metadata=full",
"organization": "@parameters('Environment_#workflowname#')"
},
"path": "/api/data/v9.1/@{encodeURIComponent(encodeURIComponent(parameters('TableName_#workflowname#')))}"
}
}
},
"outputs": {},
"parameters": {
"Environment_#workflowname#": {
"defaultValue": "",
"type": "String"
},
"TableName_#workflowname#": {
"defaultValue": "",
"type": "String"
},
"$connections": {
"type": "Object",
"defaultValue": {}
}
}
}
33 changes: 33 additions & 0 deletions tool-get-rows-dataverse/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"id": "tool-get-rows-dataverse",
"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. ",
"skus": [
"consumption"
],
"workflows": {
"default": {
"name": "Get-rows-Dataverse"
}
},
"featuredConnectors": [
{
"id": "connectionProviders/request",
"kind": "builtin"
},
{
"id": "/subscriptions/#subscription#/providers/Microsoft.Web/locations/#location#/managedApis/commondataservice",
"kind": "shared"
}
],
"details": {
"By": "Microsoft",
"Type": "Workflow",
"Trigger": "Request",
"Category": "AI"
},
"tags": [
"Tools"
]
}
Loading
Loading