Question

Photo of Andrew Metz

0

Using email webhook to workflow

I'd like to be able to launch a workflow using a link in an email. Example: We send out invitations to a new persons lunch to anyone with the connection status "Visitor" i'd like to include a link for them to decline the invitation. I know how to set up the workflow what I can't figure out is how to use a webhook to start the workflow and  initiator as the person the email was sent to. 

I've read https://www.rockrms.com/Rock/BookContent/12/111#webhooktoworkflow and I'm still missing something.

I'm using Mailgun if that's relevant.

  • Photo of Jim Michael

    0

    I don't think the webhook to workflow is the tool you want for this, since clicking a link on an email will not send the kind of response a webhook is looking for. Instead, I'd consider putting the Workflow Entry block on a page that's publicly available (configured to launch your workflow), and THAT'S what your link points at. The link should also contain a person token that logs the person in, so that the workflow can use "CurrentPerson" to know who they are. https://www.rockrms.com/lava/filters/person-filters#persontokencreate