Activity Logs and updates

Hi guys,

Is it possible to get updates through activity logs? Currently I am syncing board item data using from/to through Activity Logs. Something like:
“query”: "{ boards (ids: xxxxxxxxxx){ activity_logs(from: “2021-02-19T11:33:23.000000Z”) { id event created_at data entity event user_id } }} "

And I am successfully syncing those data, BUT I cant sync updates (comments, attachments…) related to specific items. I did try:
“query”: "{ boards (ids: xxxxxxxx){ activity_logs(from: “2021-02-19T11:33:23.000000Z”) { id event created_at data entity event user_id } updates { id item_id body text_body creator {id name } created_at assets{id name url created_at}} }} "
But that part returns all updates - and regarding monday API documentation I cant set parameter from or to.

Please let me know what I am missing and how can I achieve that.

Hi @milosh, welcome to our community!

Just to confirm: are you looking to get the content within your Updates? If so, I’m wondering if it might not just be a better idea to query all of the Updates on a board?

Is there a reason why you’re looking to query Updates through the activity_log call?

Thanks for walking me through it!


Hi @Helen ,
Yes, you are right, I am looking to get the content within Updates.

I am collecting data - sync data - per board. So at first, there is initial sync which collect all data from the board. And after initial sync I am collecting only the data that have been changed. Its much faster and less resource consuming to use Activity logs + some other benefits related to our platform.

So I need parameter from/to for Updates so I can sync only latest updates and compare with stored data (but it does not exist in documentation) OR to have updates inside Activity Log (so only updates from Activity Log will be updated through our system)… If that’s possible please let me know.

Hiya @milosh :wave:

Thanks for providing further detail.

In that case, since you are looking only for newest changes at that point, would it make any sense for you to use webhooks? That way, you can get info about a new update as soon as it is posted, and the webhook will contain useful payload to keep your data in sync:

I’m afraid that at the time, it is not possible to sync updates via the Activity Log, as the Activity Log will only sore board events, and doesn’t reference the Updates section.

I hope this helps :wink: What do you think?


Thank you @AlexSavchuk ,
I already try to use them (they worked perfectly), but we are afraid that webhooks are not 100% reliable (for example if server is down for some reason etc…).
I think that I will use slow solution (get board updates and compare then with existing one).
If you have some ideas how can I handle this without “pain” :slight_smile: Please let me know.

Btw, Activity Logs are ~20 minutes slower now - they used to update ASAP (until today / about 1PM) but now, content is updated in Activity Logs only after few minutes?

UPDATE: Activity Log is updating live again. I dont know what happened but it works now

1 Like

Hi @milosh glad to hear!

I think the solution you have at this time would be the only viable way to retrieve the data within your Updates.

Hopefully this will change in the future.

Thank you @Helen @AlexSavchuk


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.