Send email from New Form with link to newly created record

Home Forums Modern DFFS Send email from New Form with link to newly created record

Viewing 1 reply thread
  • Author
    Posts
    • #38319
      Amal Vellappillil
      Participant

        Hi,

        I have a requirement to send email from New form with the link to the newly created record. Here is what I tried so far:
        – Use a rule that uses after form is saved trigger.
        – Call a function from that rule.
        – Inside the function construct the email with the link to newly created record.
        – Create a separate list (which i had created earlier to make scheduled emails work).
        – Create a new record in that list.
        – I have aMicrosoft flow that runs periodically that picks up records from this list that hasnt been processed completely. If it needs to be sent now, it will send now and update the record as sent. If it needs to be sent on a later date, it skips it.

        Creating email from within a Javascript seems tedious and harder to maintain. Its pretty much impossible for those who are not developers to update this email on a later date. Is there any other solution that you can think of or recommend that can ease this process and make maintaining such rules not hard?

        The same question goes for scheduled emails as well.

        Thank you,
        Amal Vellappillil

      • #38322
        Alexander Bautz
        Keymaster

          You can use the DFFSID (you must add a field with internalname _DFFSID your list and the DFFSID will be autogenerated) like this from an email triggering on any trigger you like:

          Here is the new item: <a href="https://contoso.sharepoint.com/sites/YourSite/Lists/YourList?DFFSForm=disp&DFFSID=[[fieldValue:_DFFSID]]">Link</a>
          

          Scheduling emails is not possible directly from DFFSS. You must use a FLOW to achieve this (by adding a send-date field in your list item and using a FLOW that runs on a schedule every day looking from send-date match in the list).

          Alexander

          • This reply was modified 52 minutes ago by Alexander Bautz. Reason: Fixed link-format
      Viewing 1 reply thread
      • You must be logged in to reply to this topic.