Skip to main content

#Ics File0 discutindo

Hi all,

 

I'm working on a screen login flow to encourage users to connect their Salesforce and Outlook accounts.

 

The user can set a reminder and it creates a task. 

I've been running some tests, to see what's the best. So my flow can also creates an event.

 

What I want is that when an event is created, it's also sent by email to the user as an Outlook invitation .ics format and html body with instructions. It is possible?

 

To sum up: I want the user to recieve an email which contains:

- event invitation in ics format so he can see it in his outlook calendar.

- html body with all the instructions on how to connect Salesforce and Outlook.

 

Thanks!

 

#Event  #Outlook  #Outlook Integration  #Screen Flow  #Flow  #Flow Builder  #Lightning Flow  #Ics File  #HTML Email

5 respostas
  1. 21 de jun. de 2021, 13:51

    Hi Marie, 

     

    This is definitely possible, as I've done it previously. What I ended up doing was using a Visualforce email template with an attachment, where the attachment contained the ICS file (using the various merge fields from the record). I did need to use an Apex controller to format some of the values the way I wanted, though, so you'll most likely need a developer. 

0/9000

We have a Workflow email alert set up to send an email when a customer is confirmed in a training course. The trainers have asked that the email be sent as a calendar invite instead. 

 

There's a way to automatically generate and attach .ics files using Visualforce email templates. I found that this worked for Outlook, but not for Gmail. Gmail didn't recognize the .ics file so it didn't present a way for me to add the event to my calendar. For some reason, if I create an .ics file by exporting an event (a feature that's only available in Classic) and sending it manually, it works. There's a difference between the .ics file that's generated through a Visualforce email template and one that's created using the export event function, but I'm not sure what it is. 

 

Has anyone implemented something like this successfully? Any suggestions on how to overcome the above?

0/9000