web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Tips: Everyday, Post a data of SQL Server to Microsoft Teams

(0) ShareShare
ReportReport
Posted on by 1,724

I want to share how to post a data of SQL Server to Microsoft Teams.

 

Summary:

Everyday, Get a data from SQL Server, and Post the data to Microsoft Teams.

 

Use Scenario:

Check a data of SQL Server at Microsoft Teams

 

Flow overview:

Trigger: Schedule - Recurrence

Action: SQL Server - Execute a SQL query

Action: Apply to each

- Action:Microsoft Teams - Post message

2018-08-16 (2).png

 

Trigger: Schedule - Recurrence

- Interval is 1

- Frequency is Day

2018-08-16 (3).png

 

Action: SQL Server - Execute a SQL query

- query is Select statement

- like: Select COUNT(*) as ResultCount from Table1

 

Action: Apply to each

- 'Select an output from previous steps' is 'ResultSet Table1' on Dynamic content - 'Execute a SQL query'

 

Action: Microsoft Teams - Post message

- Team ID is <your team>

- Channel ID is <your channel>

Click <see more> in 'Dynamic content' - 'Execute a SQL query', and after click, appear 'ResultCount' 

- Message is <ResultCount>

2018-08-16 (4).png

 

that all.

I'm using this flow to check a customer's Azure SQL Database, everyday.

 

Regards,

Yoshihiro Kawabata

 

 

I have the same question (0)
  • Verified answer
    v-yamao-msft Profile Picture
    on at
    Re: Tips: Everyday, Post a data of SQL Server to Microsoft Teams

    Hi @yoshihirok,

     

    Thanks for sharing. Your tips will be very helpful to customers who have the same request.

     

    Best regards,

    Mabel Mao

  • yoshihirok Profile Picture
    1,724 on at
    Re: Tips: Everyday, Post a data of SQL Server to Microsoft Teams

    Hi @v-yamao-msft

     

    Yes, this Tips start with a customer's scenario

     

    Regards,
    Yoshihiro Kawabata

  • GWalker2 Profile Picture
    2 on at
    Re: Tips: Everyday, Post a data of SQL Server to Microsoft Teams

    not enough information

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard