How to sync calendar items (Meetings, Appointments, Events) in Salesforce#

The general pattern of saving a calendar item (Outlook meeting / appointment / all-day event) depends on whether it is initial saving, on which the corresponding Salesforce event object is created or it involves updating / modifying of an existing event.

Initial saving is performed by Context Sync, therefore sync must be running when you are saving a new calendar item to Salesforce; however, updating / modifying an event object already existing in Salesforce is performed by Context Panel directly and immediately.

To prevent creation of duplicates of the same event, events deduplication is performed on server side during events syncing. Refer to this article for complete information about patterns applied with regard to attendees’ lists on Exchange → Salesforce and Salesforce → Exchange syncing.

Group (public) calendar events saving is also fully supported, it is performed in the same ways as saving of regular calendar events.

Sliding time window limit#

On saving calendar items, a two-level sliding time window limit is applied. This default limitation is implemented to prevent excessive API calls consumption and saving of irrelevant calendar items from mailbox to Salesforce.

The sliding time window ensures that relevant events are kept in sync over long periods of time, while also allows avoiding syncing very large amounts of irrelevant past events data.

For autosaving#

Context Sync only autosaves meetings and appointments which occurred no earlier than 14 days in the past from the present date. Older meetings are omitted from syncing, unless specifically saved by user.

Similarly, for future calendar items autosyncing the limit is 60 days in the future. Only calendar items scheduled to occur within 60 days from the current date are synchronized with Salesforce calendar.

Autosaving is carried out on synchronization sessions, so it is performed with a 10 - 20 minute delay and it requires Context Sync to be running.

For manual saving#

Important

Sliding time window limit for manual saving of calendar items applies only for Google and Microsoft 365 mailboxes. Users of Microsoft Exchange Server mailboxes can manually save meetings and appointments without any limits.

That is only the meetings and appointments that occurred no earlier than 15 days in the past from the present date can be manually saved to Salesforce by assigning the Salesforce category or using the Save button.

If your company needs to manually save events that occurred more than 15 days in the past from the present date, submit a corresponding request to Revenue Grid Support.

Meeting / Appointment autosaving#

Important

Autosaving of calendar runs according to the sliding time window limit. Only the meetings and appointments that are no older than 14 days are saved to Salesforce.

If the meeting auto-saving or appointment auto-saving switches are enabled in Context Sync settings, the sync ending will automatically save in Salesforce respectively all meetings or all appointments which you create or accept (also tentatively accept) in email client.

Recurring calendar items can be synchronized automatically like any other items if Advanced calendaring is enabled in your Salesforce org.

When a calendar item is autosaved, it will be linked to Related records retrieved for the item by Context Panel initial search.

Calendar items which do not get autosaved are ones marked as private, internal (in-company) or blocklisted (e.g. personal) ones, and non-linked events.

Hint

It is possible to set up one-way auto-syncing of Salesforce Public (group) calendar events (presently only available in Salesforce Classic) with Outlook calendar; additionally, these events can be put into different event categories. Presently, this feature is enabled by request sent to Revenue Grid Support; the request should contain a detailed description of your use case.

Please also note that calendar items synchronization follows slightly different scenarios depending on whether internal or external contacts are involved and other factors.

Saving calendar items semi-automatically#

Note

Manual saving of calendar is performed with respect to the sliding time window limit. Only the meetings and appointments that are no older than 15 days are saved to Salesforce.

If you need to save a new calendar item to Salesforce and Context Sync is not active for any reason, saving it is not possible until you enable Context Sync. However, if a corresponding Salesforce Event record was created earlier, updating of its field values is made by Context Panel directly and does not require Sync to be running.

The category/custom folder calendar items syncing method is also handy when you need to save a calendar item from a stationary or mobile device if it goes offline for some periods of time (e.g. when losing wi-fi connection). Items saved in this way will be upsynced to Salesforce as soon as Internet connection is available. In addition, this option can be effectively used to process multiple items

Calendar items can also be saved in Salesforce selectively in one of the following ways:

  • By assigning them the custom Salesforce category:

    • click Categorize in the Outlook ribbon and select Salesforce from the picklist, or

    • right-click the item and select Categorize > Salesforce

      ../../../../_images/5b8440480428631d7a8a6bc9.png
  • By clicking the Save event button at the top of the Context Panel for the calendar item opened in a separate Outlook window.

    ../../../../_images/5b84417a0428631d7a8a6be9.png

After you click Save event, there will appear the Save current event as an Activity in Salesforce dialog:

../../../../_images/5b85624f2c7d3a03f89e32da.png

In this dialog, you may change the primary record (a key Lead or Contact) that the Event will be linked to in Salesforce through WhoId relationship via the Name field or specify an additional Business record to be associated with it using the optional Related To field.

Either way, if it is initial saving of the calendar item, it will be saved in Salesforce on the next synchronization session; if the event object already exists, it will be updated immediately.

Note

By default, internal (in-company) meetings (calendar items in which all attendees and the organizer belong to the same company) can only be saved in Salesforce manually using the described above procedures. However, there is an option to save internal events in Salesforce automatically. To request it, contact Revenue Grid Support.

Additionally, please note that if an event’s attendees list contains only unresolved email addresses (ones having no Salesforce records associations), this event can only be saved in Salesforce after you create at least one corresponding contact association in Salesforce.

Removing from Salesforce calendar items synced by mistake (Salesforce Unsync)#

You can delete (unsync) Events created in Salesforce by Context Sync. This function allows the users to easily remove an item synced to Salesforce by mistake, also in bulk. To remove a synced calendar item from Salesforce: assign it the custom Salesforce Unsync category in Outlook and wait for the next sync session; that may take between 1 and 30 minutes.

../../../../_images/unsync-owa.png

Synchronizing series of recurring items#

Important

There is a limitation on syncing of recurring meetings/appointments series if your are using Salesforce Lightning Experience: series of recurring calendar items created in Salesforce Lightning Experience cannot be downsynced to Microsoft Exchange Server / Microsoft 365 by Revenue Grid.

Series of recurring Microsoft Exchange Server / Microsoft 365 calendar items can be upsynced to Salesforce Lightning, but only as Salesforce Classic format events; therefore, they will be uneditable via Salesforce Lightning.

As a workaround, you can temporarily switch to Salesforce Classic to edit them in Salesforce or edit them in MS Outlook and upsync the changes.

If you need to save a series of recurring calendar entries to Salesforce, refer to this article to learn how to enable this feature in Salesforce. Also, contact Revenue Grid Support to request that recurring event saving be enabled for your Revenue Grid organization.

Series of recurring events can be saved in one of the following ways:

  • In Outlook open the Calendar and right-click on an item which belongs to the series being saved, then assign it the custom Salesforce category.

  • Double-click on an item which belongs to the series and select The entire series in the Open Recurring Item dialog.

    ../../../../_images/open-recurring.png

Then, to get it saved in Salesforce, you can either assign the series the custom Salesforce category or open the Context Panel for it and use the Save event button; in the latter case you can also choose specific Salesforce records to link the saved Event to instead of ones defined by Context Panel automatically.

The series will be synced on the following sync session.

In addition, please note that recurring events can also be saved in Salesforce automatically if meetings/appointments auto-saving is enabled in Context Sync settings.

Synchronizing all-day recurring events#

Synchronization of recurring events can also include all-day recurring event series, but this capability must be configured separately.

To request this feature, contact Revenue Grid Support. It can be enabled for an entire organization, specific profiles, specific presets, or individual users.

Before you request this feature, the recurring event synchronization must already be configured.

Important

Recurring all-day events with a duration of more than 24 hours are not supported.

Preserving custom field values for recurring Google Calendar events#

When you edit a recurring event in Google Calendar and apply the changes to This and following events, Google Calendar splits the original series into two recurring series starting from the selected occurrence. During synchronization, Salesforce recreates the recurring event series from that occurrence.

By default, Salesforce Event custom field values are not carried over to the recreated series. Context Sync can preserve the values of selected Salesforce Event custom fields during synchronization, so you don’t need to restore them manually.

To use this capability, contact Revenue Grid Support and provide the API names of the Salesforce Event custom fields whose values you want to preserve (for example, Customer_Status__c or Meeting_Type__c).

Custom Salesforce categories in Outlook#

The following custom Salesforce categories are assigned to calendar items in Outlook to indicate their sync status.

Blue Salesforce category: item already saved or marked to be saved in Salesforce by sync

../../../../_images/5b8560b40428631d7a8a75a9.png

Red Sync Error category: item synchronization error. See this article to learn how to monitor and resolve sync errors.

../../../../_images/5b858d0a2c7d3a03f89e34cd.png

Besides these statuses there are other colored categories assigned to emails and calendar items, which provide additional information, for example “Status: Tracked successfully.”, for items already saved in Salesforce, automatically through synchronization linked to pre-existing records or using the Save button, also for emails saved in Compose mode or “Status: Required fields are missing: …” explaining a sync issue’s cause.

Note that in Outlook calendar view, items saved or marked to be saved in Salesforce by sync and items with synchronization errors are accordingly color-marked, so you can instantly tell their status:

../../../../_images/5b858acb2c7d3a03f89e34b9.png

Monitoring events synchronization issues#

If something went wrong about calendar items synchronization, you can track error causes in Issues > Events in Context Sync settings.

Unresolved meeting participants#

An unresolved meeting participant is one whose email address has no corresponding record registered in Salesforce.

When a meeting invitation is received from (or sent to) an unresolved attendee and then the meeting gets saved in Salesforce by the user and Context Panel finds no matching record to save the Event to, you will be prompted to create a corresponding record.

Note

Context Sync can automatically create a corresponding Contact, Account, Lead, or Opportunity record for unresolved meeting participants - refer to this article for more information on this feature. Contact Revenue Grid Support to enable this feature.

Continuous updating of meeting attendees lists#

The list of meeting attendees can optionally get re-synced with Salesforce on every sync session (previously, it was upsynced to Salesforce only once, on the meeting’s initial saving). That is required to get invitees added to the list later registered in Salesforce. This function is managed in the Revenue Grid global settings.

Calendar items’ description field updating: safe description#

There is one more important principle you should be aware of about syncing of meetings between your email client’s calendar and Salesforce calendar.

By default, when a calendar item syncing between your email client and Salesforce is performed by Context Sync, only its original body (description) is conveyed to Salesforce, and no future updates made in the description on either side are reflected on the other.

This principle is applied to prevent the cases when an end user would add some internal-use-only or sensitive notes to an event’s description in Salesforce – and without Safe Description applied these notes would be down-synced to the meeting’s description on email server and then automatically sent to all meeting invitees, along with any other meeting updates, potentially causing unwanted situations.

If you prefer to disable application of the Safe Description principle for your entire Profile or for specific users, send a corresponding request to Revenue Grid Support.

Combining Smart Description and Safe Description

Currently, combining Smart Description and Safe Description is supported only for Microsoft Graph users. For EWS, combining is not supported yet.

Locking event fields after initial synchronization#

Revenue Grid Support can configure selected calendar event fields so that changes to those fields aren’t synchronized after the event is initially created.

For details, see Lock event fields during calendar synchronization.

Saving private calendar items#

Please note that calendar items marked as private are never saved in Salesforce by meeting/appointment auto-saving in the default configuration.

However you can still save private calendar items manually by assigning them the Salesforce category or by using the Save button, provided you have the access permission (e.g when working with another user’s calendar via delegated calendars).

If your workflow requires it, you can request the autosaving of private calendar items by contacting Revenue Grid Support.

Syncing non-responded or declined meetings#

In the latest Revenue Grid updates, a global setting was introduced to manage the possibility to sync in Salesforce of inbound meetings which were left unresponded or were declined by the invitee (who is a Revenue Grid user).

Some companies require that in order to get meetings registered in Salesforce even if they were not explicitly accepted. If this setting is disabled, an attempt to sync in Salesforce of a non-responded or declined meeting results in a sync error “ISE-013: Meeting for attendees cannot be synchronized until the organizer synchronizes it.”

Events down-syncing from Salesforce to mail client’s calendar#

If you create an event or modify an existing event directly in Salesforce, these Salesforce Calendar updates get automatically down-synced by Context Sync: the corresponding calendar item will be automatically created or modified in Outlook or Google Calendar.

Events modifications get to email client’s calendar within 1-30 minutes but new created events get down-synced instantly.

However, if an Event object is deleted directly in Salesforce, its matching Microsoft Exchange / Google calendar item will not be deleted from mail client, it will only lose the Salesforce category / color coding.

Note that if a calendar item’s Organizer cancels it using the regular meeting / appointment / event cancelling procedure in Outlook, the corresponding Salesforce object will be deleted as well on the following sync session.

Important

In the latest Revenue Grid updates a global setting was implemented that allows to perform automatic Removal of calendar items from Outlook/Google calendar by Context Sync if they were deleted from Salesforce Calendar.

Smart Actions in Context Panel opened for a calendar item#

Please note that only three Smart Actions are available for events in the Context Panel - Engagement, Reports, and Observations.

../../../../_images/5b853ace0428631d7a8a73e0.png

Meetings sync when you are an attendee#

When you synchronize a meeting that was organized by someone else, Revenue Grid determines how to synchronize it based on the meeting organizer and your organization’s configuration.

If the organizer uses Context Sync, Revenue Grid uses Sync by organizer. It waits for the organizer to synchronize the meeting, after which Salesforce creates the corresponding attendee Event copies for invited Salesforce users.

If the organizer doesn’t use Context Sync, Sync by attendee may be available. In this case, Revenue Grid creates a standalone Salesforce Event owned by the attendee and synchronizes it directly with the attendee’s meeting in their mailbox calendar.

Which meetings can be synced by attendee depends on your organization’s configuration.

For details about organizer types, available configurations, and how attendee Events are handled in Salesforce, see Event sync by attendee.

Calendar items which Context Sync cannot sync#

  • Ordinary Microsoft Exchange Server / Microsoft 365 all-day events which have a duration of over 14 days (a Salesforce limitation). A corresponding sync issue will be logged.

  • Recurring all-day events which have a duration of over 24 hours.

  • Any calendar items set in problematic time zones.

  • Calendar items outside out of the sliding time window, unless configured differently.

Event attachments saving#

By default, event attachments are not saved. However, this option can be enabled by requesting it from the Revenue Grid Support.

Depending on your organization’s settings, files attached to the events can be saved as Content Documents or Attachment objects.

For more information about event attachment saving, refer to Attached files handling mechanisms.

See also#