with Microsoft Azure SQL Database and Microsoft Teams?
Emit new event when a new channel is created within a team. See the documentation
Triggers when a new row is added or an existing row is updated.
Emit new event when a new message is posted in a channel. See the documentation
Emit new event when a new chat is created. See the documentation
Executes a SQL query and returns the results. See the documentation
Create a new channel in Microsoft Teams. See the docs here
Inserts a new row in a table. See the documentation
The Microsoft Azure SQL Database API allows you to manage and interact with your SQL databases hosted on Azure directly from Pipedream. It provides a serverless way to run SQL queries, manage tables, and handle database management tasks. You can create, read, update, and delete database records, execute stored procedures, and perform a variety of other SQL operations. Leveraging this API on Pipedream enables you to automate workflows, respond to database events in real-time, and integrate with countless other apps and services.
import azure_sql from '@pipedream/azure_sql';
export default defineComponent({
  props: {
    azure_sql,
  },
  async run({ steps, $ }) {
    // Component source code:
    // https://github.com/PipedreamHQ/pipedream/tree/master/components/azure_sql
    const queryObj = {
      query: "SELECT GETDATE()",
      values: [],
    };
    return await this.azure_sql.executeQuery(queryObj);
  },
});The Microsoft Teams API on Pipedream allows you to automate tasks, streamline communication, and integrate with other services to enhance the functionality of Teams as a collaboration hub. With this API, you can send messages to channels, orchestrate complex workflows based on Teams events, and manage Teams' settings programmatically.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    microsoft_teams: {
      type: "app",
      app: "microsoft_teams",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://graph.microsoft.com/v1.0/me`,
      headers: {
        Authorization: `Bearer ${this.microsoft_teams.$auth.oauth_access_token}`,
      },
    })
  },
})