Skip to main content

I need to create a file with wp1252 encoding out of a string that I generate in my Zap and then save it in google drive. 
 

However, when I convert the string with Python into the correct encoding, Zapier can’t work with it as return value and wants my Python code to output an utf-8 encoded string.

 

Apparently I also can’t create a temporary file with Python and access it in the next step (or at least I couldn’t figure out how, even with the Zapier documentation and the built-in AI chatbot).

Does anyone have an idea of how I can achieve my goal of creating a wp1252 encoded file with Zapier and then save it in google drive?

Thanks in advance!!
 

Hi @wecker 

Have you tried asking ChatGPT for help with configuring the code?


Yes, I did.

But the python code is not the problem - I can encode it, but Zapier can’t use the wp1252 encoded string and pass it to the next step.

Furthermore, just creating a file with the python code doesn’t work as this file apparently can’t be used afterwards (and I’m not even sure if it actually creates a file). 
- But just to make sure: is it possible to save files with code and then use it in the next step? I didn’t find anything about it in the documentation and the Zapier-AI bot is not helpful. 


So I either need to find out how to pass a wp1252 encoded string between steps, how to create a file with code and then upload it to google drive or any other workaround. 


Reply