Skip to content

zanseb/zucchini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zucchini

An Azure Function ⚡ that can be used to perform basic actions through a Telegram-Bot on the Zucchetti HR Platform.

Bot commands

  • /in: Clock in
  • /out: Clock out
  • /stamps: Displays the stamps of the current date and the estimated clock-out time (Time when 8h are reached)

Flow

flowchart LR
    TC(Telegram Client) --> TW(Telegram Webhook) --> AF(Azure Function) --> SIDP(IDP Session generation) --> ZA(Zucchetti HR Platform) --> TC
Loading

Telegram-Bot

For your bot to work, you must bind a Webhook to the Azure function. You can do that by invoking the set-webhook command as described in the documentation.

Azure Function

For the function to work properly, you have to set following variables:

  • TelegramChatId: Id which identifies your Telegram user
  • TelegramApiKey: Api key of your Telegram bot
  • ZucchettiBaseUrl: Base URL under which your Zucchetti Platform is reachable
  • ZucchettiUser: Your username
  • ZucchettiPassword: Your password

Remarks

⚠️ Use this at your own risk. This software is provided without warranty of any kind. The authors are not liable for any claim, damages or other liability.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages