Skip to main content

I’ve successfully gotten new events added in Google Calendar to create new Posts in my WordPress account, but I can’t seem to include the image that I attach when creating the Google Calendar event. I would like to access the image attachment in the Google Calendar event and add it as a Featured Image in the WordPress post. 

I’ve added the WordPress ‘Upload Media’ step before the ‘Create Post’ step, but when I try to add the ‘File’ to upload I don’t see any Field Mapping option for the Google Event attachment. Am I missing something or this it just not possible. Seems strange that the field mapping exists for every other data point of the calendar event, but not the attachment. Thank you.

Hi @HangWire 

For us to have more info, post screenshots showing how your Zap steps are outlined and configured in EDIT mode with the field mappings.

Help link about using files in Zaps: https://zapier.com/help/create/basics/send-files-in-zaps


 

There are no data mapping fields listed under the New Event trigger that relate to the image I attach in the Google Calendar event. I assumed there would be a field called ‘attachement’ or something similar, but there isn’t. When creating the Google Calendar event the only way to add an attachment is within the ‘description’ field, but if I select the ‘Description’ mapping field as shown above it tells me there is no data to upload.


@HangWire 

Did you select a Zap trigger example that has values for the Description field?

Help link for how to change Zap trigger examples: https://help.zapier.com/hc/en-us/articles/8496310366093-Change-the-test-record-in-your-Zap-trigger

If you need to extract a URL from a string of text, use this Zap action: Formatter > Text > Extract URL


Oh! That makes sense. No, I wasn’t selecting a trigger example that had an attachment. I’ve changed the trigger example and now see the ‘Attachments File URL’ field mapping option.  

Unfortunately, now when I do a test of the connection I get the following error:

Failed to create a media in WordPress

403 Forbidden: Access Denied. Please see common causes and fixes for 403 errors at https://zapier.com/help/doc/common-problems-wordpress#403-forbidden-error.

I don’t have JetPack Protect installed, but my host is GoDaddy Managed WordPress hosting. I’m sure includes some type of Firewall. Not sure how to allow Zapier file uploads.


@HangWire 

For us to have more context, post screenshots showing how your Zap steps are outlined and configured in EDIT mode with the field mappings along with the encountered error.


Hi @HangWire,
 
We just wanted to see how everything is going with your Zap. Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.


It’s still not working. Thought I’d made progress (I can now see the image URL in Google Drive is correct, as is the filename (as seen in the attached screenshot), but I still get the 403 Forbidden: Access Denied error. 

 


@HangWire 

The file url needs to be a publicly accessible direct download link.

Use this tool to help you get the required GDrive file link format: https://sites.google.com/site/gdocs2direct/

 

https://drive.google.com/uc?export=download&id=XXX

 

 

Resources:

 


Awesome. It’s working. Thanks so much for your help!