Hello all, I'm new to the forum. I can't seem to find anything that can help me sync one email account at a given time.
I set up a location based flow that will change vibration and sounds when I get to work. I would really like to only sync my Exchange email account while I'm at work during business hours. Anytime after that and I don't want to be bothered!
Does anyone know how to do this?
I tried "Request Sync" for my Exchange account but I can only get it to sync once when the flow first turns on.
My guess would be to create something that periodically syncs this one account?
Automatic email sync for only 1 account?
Moderator: Martin
Re: Automatic email sync for only 1 account?
Hi,
There is no action to change the auto-sync setting for one account only.
You can build a flow that periodically requests a sync for your exchange account:
Exchange syncer
-trigger Periodic Timer: every 5m
-action Request Sync: Exchange
You can enable/disable the flow using your location based flow:
-action Set Flow State: Enable Exchange syncer resp. Set Flow State: Disable Exchange syncer
Regards,
Martin
There is no action to change the auto-sync setting for one account only.
You can build a flow that periodically requests a sync for your exchange account:
Exchange syncer
-trigger Periodic Timer: every 5m
-action Request Sync: Exchange
You can enable/disable the flow using your location based flow:
-action Set Flow State: Enable Exchange syncer resp. Set Flow State: Disable Exchange syncer
Regards,
Martin
Re: Automatic email sync for only 1 account?
This is almost 2 years ago. How about now? There is an option for choosing spesific mail and sync, but it says experimental.
Re: Automatic email sync for only 1 account?
Hi,
You can use an action Set Auto Sync State to switch on/off auto sync for one particular account and/or authority. You can also use action Request Sync to start a sync from a flow once.
Where exactly do you see the experimental label?
Regards,
Martin
You can use an action Set Auto Sync State to switch on/off auto sync for one particular account and/or authority. You can also use action Request Sync to start a sync from a flow once.
Where exactly do you see the experimental label?
Regards,
Martin
Re: Automatic email sync for only 1 account?
Thanks for your answer, Martin.
Little bit new to automagic, so not sure what I'm doing at all. Simple flows only.
How is the attached flow looking?
Little bit new to automagic, so not sure what I'm doing at all. Simple flows only.
How is the attached flow looking?
- Attachments
-
- sync-exchange-mail-20150616_180941.xml
- (2.65 KiB) Downloaded 954 times
Re: Automatic email sync for only 1 account?
Or is this better? Must they both be used at once? Have a feeling that I'm making things more complex than necessary
- Attachments
-
- exchange-synk-test20150616_184622.xml
- (2.99 KiB) Downloaded 1027 times
Re: Automatic email sync for only 1 account?
You are using trigger Auto Sync State: on which means that your flows will be executed exactly once when the global auto sync setting is turned on.
Do you want to enable auto-sync for the exchange account between a certain time range every weekday?
I would probably go for the following solution that requires two simple flows:
Enable Sync Flow:
-trigger Time: Mon-Fri 06:30
-action Set AutoSync State: On for <your account> *
Disable Sync Flow:
-trigger Time: Mon-Fri 15:00
-action Set AutoSync State: Off for <your account> *
Use * in field authorities to disable all sync components of the account.
Regards,
Martin
Do you want to enable auto-sync for the exchange account between a certain time range every weekday?
I would probably go for the following solution that requires two simple flows:
Enable Sync Flow:
-trigger Time: Mon-Fri 06:30
-action Set AutoSync State: On for <your account> *
Disable Sync Flow:
-trigger Time: Mon-Fri 15:00
-action Set AutoSync State: Off for <your account> *
Use * in field authorities to disable all sync components of the account.
Regards,
Martin
Re: Automatic email sync for only 1 account?
Strange thing. That is how I had it setup (tested and working), but since today my exchange mail started receiving mail after given time of sync disabled. I have had a global sync going on as well, but with sync for exchange disabled earlier then the global. This should/could work? I will try again. Will give feedback.
Re: Automatic email sync for only 1 account?
Doesn't work. Can't stop receiving mail completely (from this single exchange accoynt) unless I disable the global auto sync.