Skip to main content
Known Participant
Nov 22, 2023 10:02 AM UTC
Question

send email service

In send email service , i want to send some message along with deep link . when we get that email and upon clicking on that deep link it should redirect to the summary page for approval.

can someone help me how to achieve this

    10 replies

    Participating Frequently
    Nov 22, 2023 10:14 AM UTC

    Try to create a email body using HTML template with the required details along with record link in it (record link should be provided using <a href = record link which you have created>),

    create record link by passing the request id to it, so that when you click on the link it will navigate to the summary page of the request.

    /*provide the record name and the record value which you wanted to open */
    urlforrecord(recordType!record, ri!requestId)

    sabat0002Author
    Known Participant
    Nov 22, 2023 10:50 AM UTC

     [mention:b193ec7b482d482b93cb9da3112fca42:e9ed411860ed4f2ba0265705b8793d05] 




    is this the way?

    i'm getting error,can you please help

    sriramk5349
    Inspiring
    Nov 22, 2023 11:13 AM UTC

    Hi [mention:85ca6a2722324ac4b08c9eda0b5e1851:e9ed411860ed4f2ba0265705b8793d05] ,

    urlForRecord is function and it shouldnt be called inside quotes as Appian will think them as text and not as function to be executed and keep & to get concatenation.

    "<a href = "& urlforrecord( recordtype: /*your recordType*/, recordIds:/* your primary key*/ ) &"> Summary</a>"

    konduruc733182
    Inspiring
    Nov 27, 2023 6:22 AM UTC

    Hello sabat0002,

    Could you please share your complete template that is being used for the Send Email Smart Service.