If you are using Code by Zapier, some changes may affect your Zaps that use Python 2.7 code steps.
You're still able to use Python code in your Zaps, but some Zaps will be automatically updated to use the current version of Python by June 1, 2021.
There is no action required.
By June 1, 2021, Zapier will attempt to automatically convert these code steps to Python 3 (specifically, the Python program 2to3 will be run against the code). The steps to be automatically converted are called “Run Python (Legacy).” Most will be updated without issue, but at any time, you may choose to manually update these Zaps to use “Run Python” instead if you like.
If you choose to manually update from the Legacy version to the current version, it will clear the code you have entered, so be sure to follow the steps outlined in this post.
You'll need to edit each individual Zap that uses a “Run Python (Legacy)” trigger or action so it uses a “Run Python” trigger or action instead.
How to do this:
Make a copy of your Zap and open it in a new window so you can refer to it as you make changes.
In your original Zap, change the "Run Python (Legacy)" trigger or action step to use a "Run Python" trigger or action. Then click continue.
Referring to the copy of your Zap that you opened in a new window, copy the code itself and paste it into your original Zap as needed.
Confirm all the following steps in your Zap are set up as expected, then test and turn on your Zap.
Here are your Zaps that are using “Run Python (Legacy)” steps.
What do I need to do?
No action is required. You may choose to manually update any Zaps that use a "Run Python (Legacy)" step, but this is not necessary at this time.
What’s going to happen on June 1, 2021?
On this date, Zapier’s systems will no longer support running code written in Python 2.7. Sometime before then, we will automatically attempt to convert any Python 2.7 code to its corresponding code in Python 3 so Zaps will run interrupted. In some cases, it’s possible that the resulting code will cause an error, and based on your error notification settings, an email will be sent to let you know.
What if I need some help with my Python code?
Python is an advanced programming language. If you're not familiar with Python, we recommend asking a developer to help update your Zaps. You can also hire a Zapier Expert to help. Zapier does not offer email support for code steps.
If you have questions about these changes to Code by Zapier, please reach out to our support team.