Implementing workflow on the document via email directly

Hi ERPNext Community

I’m trying to implement taking action on the document according to its workflow via email directly using notifications. Can I do that?
Thanks for any assistance.

image

Any One ?

@Yousuf yes you can . you have to create a url with some encrypted data for example : example.com/path_to_method?doctype=some_random_code.
the decrypt it in the method and then do the action.
this is a necessity to ensure that a guest can approve a specific document and can’t access to others by changing data on the url .
the email part is easy you just use the frappe.sendmail function .

Hi @bahaou

Bro ,Can you provide more details ?