Send notification from Sharepoint and Power Automate - sharepoint

I have different content on Sharepoint online and whenever we create or modify any records then send notification to the PHP/Apache server.
I Created one Power Automated notification, but its sending on mobile, need to send to server to server.
Also need to check the Sharepoint REST API.

Create API on the server where you want notification from Sharepoint. Then open the Power Automate and create the flow, then
Select the trigger "When an Item is created or modified".
In next step search for HTTP and select it.
Fill the necessary parameters like "Method, URI, Headers, Body" etc.
Then save the flow and test the flow.

Related

How to have multiple approval areas in Azure Logic Apps?

In Azure Logic Apps, there is an action for Send Approval Email under Office 365 Outlook.
I want to have multiple approval options in the same email. Is there a way to do it?
I tried looping over and sending emails but that sends a new email every time with option to approve.
Currently, this is not possible in logic apps. You can send only 1 approval from logic apps. However, if it is must to use an approval connector you can build a logic app where you can send multiple emails and track the options through Storage account or you can simply use a send email connector and get the replies from users. Below is an alternative approach if it is must to use an approval connector from logic apps.
I have used parallel branches to set a time for the responding by the user. If the user fails to select the options within the time limit the logic app fails. In my case I have used 1 minute. However you can even set time using Delay until and mention the specific date and time to respond back.
In the parallel step I'm sending the Approval email to the user and then I'm storing all the Lists of the blobs in storage account into a variable.
Note: This results to trigger multiple emails to the users
In the next step, I'm checking if the user's options has already been created by checking their mail id. If yes, it just stores the selected option by the user else it creates the file and then stores the selected options by the user.
RESULTS:
In mail
In LogicApps Run
In storage account
Yes, you can have multiple approval in the To configuration with multiple email ID's separated by semicolons of the Send approval email action of the office 365 connector.
Once it is approved you can get the email ID of the person who has approved the request using the property UserEmailAddress and other details of the output of your Send approval email connector.

How to send all approvals in one email in Microsoft Flow?

I'm sending approvals via email in a Microsoft Flow. And I need to solve a task: how to send more than one approval all in one email (daily).
Does anyone know how to do that?
MS Flow (Power Automate) Approval connector which sends an actionable email to Approver is meant for single record processing and not for digest of requests.
We can store all the Approval requests in a list and send out an email by iterating through them every 24 hours (daily), or listing the Approval requests in email body and having “Approve All”, “Reject All”, “No Action” as responses to take action on them.
Based on the response, you can take action on items list. Read more
The best thing would be using mobile app to see the list of push notifications & approve them. Solve the problem by user training.
Approve requests on your mobile device by using Power Automate

Report from ServiceNow to Sharepoint

How do I schedule a task to generate a weekly report in ServiceNow and send as an email.
I want the same report to be sent to my SharePoint site automatically every week. How to integrate it ? Please help.
You should be able to setup Incoming email on a Document Library in SharePoint and email a scheduled report to it from ServiceNow.
This also depends on ServiceNow being able to send email to this address.
You may need ServiceNow to have a VPN to your network with SharePoint, and you need Incoming email to be configured on your SharePoint install.
If those are working, you can do something like the following.
SharePoint
Create a Document Library
Go to Library Settings
Open Incoming E-Mail Settings
Change Allow this document library to receive e-mail? to Yes
Give this an E-mail address: reports#mysharepoint.com
SharePoint Security
Consider how ServiceNow is sending email to you. If email is sent via their mail servers, you may need to set incoming email option
E-mail security policy to Accept e-mail messages from any sender
In this case, be mindful of what email can be delivered to your network. This may allow unwanted emails coming in.
If ServiceNow uses your mail servers, you may be able to grant access to the Document Library for the user that is delivering your email. If so you may be able to set this
E-mail security policy to Accept e-mail messages based on document library permissions
This is much more secure, but these things always depend on your environment and your needs.
ServiceNow
Go to Reports > View / Run
Open the report to be delivered
Click the dropdown on the Save button
Choose Schedule
Fill out the Schedule form
Click the Users lock
In Enter email address put in the email to send to the Document Library (ex: reports#mysharepoint.com)
Run: Weekly
Choose the Day of the week and the Time
Subject: My report
Right click the header and choose Save
Test this by clicking Execute Now within the Scheduled Report

Retrieving Power Form URL with API

Currently I'm using a template, creating an Envelope from that template and uploading documents and sending with the Sender View all through the API. What I would like to do is use a power form that when I hit send I can somehow retrieve that url with the API and save it to my DB. How can I get that signing URL with the API ?
That is currently not available through the API, you must use the web UI to perform this action at this time.
This may change at a later date, however I do not have any information on when that may be.
Your best option on getting it in the API is contacting your DocuSign Account Manager to submit an Enhancement Request (DocuSign Customer Support can also help you submit that as well).

Bulk sending button in #Salesforce to use #DocuSignAPI?

Has anyone created a bulk sending button in #Salesforce to use #DocuSignAPI?
I would like to add a custom button on a Contact List View in Salesforce that will allow Bulk Sending of templates/envelopes in DocuSign.
DocuSign for Salesforce (DfS) does not support Bulk Sending, which means you can not use the DfS App to do Bulk Sending. To accommodate this use-case you would need to write your own custom DocuSign API integration. If you're interested in that route check out the DocuSign Developer Center.
You could also export your contact list and data to a csv file to do a bulk send via the Web Application. Connect could then be updated to get envelope updates back to the contacts in Salesforce.

Resources