GET daily events from a TEAMUP calendar and sending them as a message in TELEGRAM

Hello everyone,

I’m currently working on a system that integrates a Teamup calendar with Telegram, and I need some assistance with a modification.

Current Functionality:

  1. The system retrieves a sub-calendar name (Team up - Get a sub-calendar module).

  2. It searches for a keyword within that sub-calendar (Team up - Search Events module).

  3. If any items matching the keyword exist, it sends a message in a Telegram group chat via the API (Telegram Bot - Send a Text Message or Reply).

Desired Change:

I would like to avoid searching for a keyword and instead retrieve all events for today directly from the sub-calendar and sending them as individual messages.

Questions:

  • How can I adjust the API call or the module to fetch all events for the current day?

  • Are there any best practices for posting these events to a Telegram group chat?

Any guidance or examples would be greatly appreciated!

Thank you for your help!

Links: https://apidocs.teamup.com/docs/api/0f9f896800ffe-get-events

Hi admin_1, According to the documentation, you can get all the events of the day with the {calendarKeyOrId}/events endpoint. To get calendarKeyOrId, go to settings => Sharing and copy the key after https://teamup.com/

Use the module Teamup Make an api call

After that, you can use an iterator to iterate over the events (body.events) separately and send them through a telegram message

This is a small example

Here’s the blueprint

TeamUp example.json (7.3 KB)