Hi Nylas community,
I’m using the Nylas v3 API (Python SDK) to schedule interviews using calendar-api, and I’m running into a final issue with the candidate’s experience.
What’s Working Perfectly:
-
I’m creating an event on a synced Google account (organizer’@mycompany.com).
-
The API call to nylas.events.create is successful.
-
The response correctly includes a populated conferencing object with a Google Meet URL.
-
The event appears correctly on the organizer’s calendar and on the calendars of all internal interviewers who are also on Google Calendar.
The Problem:
The event is not appearing on the external candidate’s calendar (e.g., candidate@gmail.com). The candidate receives an email invitation, but it does not reflect on the calendar. It gives the option to reply to the event or “Add Event To Calendar” but it does reflects on its own just like it happens in case of interviewers who use organisation mail id.
Here is a screenshot of what the candidate sees in their Gmail inbox.
The event is only blocked on the candidate’s calendar after they manually click “Add to calendar”.
My Code and Setup:
event_payload = {
`'title': f"{interview_details['application_stage_name']} with {interview_details['candidate_name']} for {interview_details['job_title']}",`
'when': {
'start_time': start_timestamp,
'end_time': end_timestamp,
'start_timezone': interview_details['candidate_timezone'],
'end_timezone': interview_details['candidate_timezone'],
},
'description': interview_details['recruiter_notes'],
'participants': participants,
'busy': True,
}
`response = nylas.events.create(`
`identifier=grant_id,`
request_body=event_data,
query_params={"calendar_id": calendar_id_to_use, "notify_participants": True}
)
**My Question:
**
Is there any parameter in the Nylas API (similar to busy: true) that can more strongly signal to the receiving email client that this is a direct calendar invitation and should be processed as such, rather than as a simple email with an .ics attachment?
My goal is to have the event appear on the candidate’s calendar automatically as a “tentative” event, which is the standard behavior for most calendar invitations, even from new senders. Am I missing a parameter that controls this or is this something else?
Thank you for any insights