Run a process model through a link (link, button) in the email

Certified Associate Developer

Hi,

I have the following use case: The client needs to approve or reject a batch of invoices, but that everything is done through email, and they are external users who will not have a user in appian, they do not want to enter the platform, but from the mail they have the option to approve or reject. What occurred to me was that from the mail call a webAPI and it executes the startprocess, according to the link (approve or reject) that the user selects.

Is this possible? Can I run a POST type webAPI from an email link? If not possible, what other way could I implement in this use case?

Thanks.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    A link in an email can not trigger a POST API call. And to call Appian, authentication is required.

    One option might be to reply by email and a specific keyword. That email would start a process.

    Another option is to create an Appian Portal which accepts a unique identifier sent by email. On this portal these external users could approve or reject.

  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    Stefan, 

    Do you have tips for how to insert/extract custom property fields from emails? I'm running into a similar manner as the original poster, but I'm having a very difficult time trying to get the information out of the email. I see in the documentation about retreiving custom properties, but nothing about how to actually implant and/or use them in the email itself. Any help/tips?

    I am also having a difficult time with splitting the body information. Using any of the body properties includes the company footer in what is stored in the variable being used to hold the body. 

  • 0
    Certified Lead Developer
    in reply to RyanB

    As an email has zero structure, there is no good or fool proof way of doing this.

    What is your concrete use case? If it is about requesting data from a non-Appian user, did you consider Portals?

Reply Children