Power automate flow unable to send an email - power-automate

I have created flow for approval using power automate. I want to start an approval when user gets mail to update list item , and when user updates item the approval flow should start. But in this case I am not receiving mail to approve request.
What should I change in my flow.

Related

Is there any way to send email if approver is not responding in power automate

Is there any way to send email if approver is not respond in power automate .
I'm trying to create a flow in which i want to send an email if the approver is not responding.

Flow designer-Sequential approvals for a record 3levels

I’m trying to do a flow designer for 3 levels of approvals if X approves send approval request to Y, if Y approves send approval request to Z and set timer for each approval request as 15days. Send reminder notification for 7 days on 8th day, for every approval request send a notification if rejected send a notification and update record to draft state, if cancelled after 15days send cancelled notification and set state to draft. I created a flow for all 3 levels and they are working fine but I’m stuck at creating reminder notifications. For every approval I should calculate time from previous approval approved time. Which I couldn’t. Someone please help me with this.

Power Automate: How will workflow know if item status changed while waiting for teams approval

So I have an SPFX application that is used to raise request, modify request, approve / reject. The usual request workflow. all these data are being saved in Azure SQL table. Now I have a workflow that runs on db item update trigger, it would start a teams "wait for approval" action and be sent to 2 approvers (1 for main and 1 for a backup approver, either of the two can approve and workflow would only wait for the first response). at the same time, approvers can also approve the request via the spfx app. they can approve it because the status of the request is "Pending Approval".
Now my issue is this: If the approver decides to approve the request from the SPFX app, db item's status would then change to Approve, However the request's teams approval is still "Requested"" in the teams.
I created a workaround for this by checking the request's status from the db so if the item is "Approved", doesn't matter what action the approver did in the teams approval, if the request is already approved or rejected in the db, the action made in the teams will not do anything.
BUT what if that backup approver, decides to reject the request. it would cause confusion because data would then be "Approved" in the database.
would it be possible to check the status, and then cancel the triggered teams approval for that request?
I hope I described the scenario well.

Scheduled Task reminder power automate

I am trying to build a power automate solution to overcome one of the problem in my project.
I need a flow which sends email to list users who haven't finished the task with an option to ask if they have completed the task or not. If user says yes then it should record the response with a proof of the task completion (screenshot of the task).
If user says no, then Friday it should send 2 reminder emails and on Monday it should send email every 2 hr until they complete the task, meaning they should select Yes with screenshot as attachment.
How can I achieve this?
I was able to achieve it as below
Create SharePoint list of all users
Create a Microsoft form with questions about whether they completed task and screenshot of same
Create Automated Flow to send reminder email at scheduled time with the link to form
Once user clicks the link in the email it will redirect the form.
After user submits the form it updates the SharePoint List that user has completed the task.
Recurring reminder to whom have not completed by reading SharePoint list

Design Slackbot service to send automated messages

It is my very first time to write a slack bot and i am wondering how to design it.
The bot supposed to be available and respond to end-users' messages immediately.
The thing is that I need that the bot will also send schedules messages to registered users with automation results.
Use case example:
A user sends a message to the bot and registered to a service that
will check for changes in X. On a specific interval, my backend will
call an automation that checks for those changes and will send a
message to the user with the results.
What will be the best practice for this scenario?
Here is a basic outline.
1. Basic setup
Slack app with bot user
Database
Scheduler (e.g. local CRON service, or web-cron like cron-job.org)
2. Registration
Use Events API to listen to messages from users send via mention (app_mention) or direct message (message.im)
You app needs to store the received "registration" from each user in a database
Respond to user request directly if needed with chat.postMessage
3. Scheduled response
Scheduler calls your app
Your app check if responses are due with a database query
If yes: App sends responses to users via chat.postMessage (but not more than one message per sec due to rate limiting)

Resources