hi, anyone know how to create a new action in workflow in order to trigger telegram notification to assigned user, mention and etc?
Announcement
Collapse
No announcement yet.
New Workflow Action for Telegram Notification
Collapse
X
-
Hi,
You can create custom service action https://github.com/espocrm/documenta...ice-actions.md and call telegram API there. You can utilize lib like: https://github.com/Eleirbag89/TelegramBotPHP
-
Originally posted by yurikuzn View PostHi,
You can create custom service action https://github.com/espocrm/documenta...ice-actions.md and call telegram API there. You can utilize lib like: https://github.com/Eleirbag89/TelegramBotPHP
Comment
-
Originally posted by yurikuzn View PostHi,
You can create custom service action https://github.com/espocrm/documenta...ice-actions.md and call telegram API there. You can utilize lib like: https://github.com/Eleirbag89/TelegramBotPHP
Comment
-
In workflow service action you can use $entity variable, see https://github.com/espocrm/documenta...-service-class
Comment
-
Originally posted by tarasm View PostIn workflow service action you can use $entity variable, see https://github.com/espocrm/documenta...-service-class
Comment
-
In service action should be a PHP code for sending a message to Telegram. You can implement it via workflow or via a hook.
Comment
-
Originally posted by yurikuzn View Post
do you have video tutorial on this telegram bot?Last edited by edward7097; 11-29-2019, 11:59 AM.
Comment
-
Originally posted by yurikuzn View Post
I tried the same placeholders I use on an Email Template and it didn't work.
May you explain where can I find the available placeholders, please?
Thanks
Comment
Comment