Menu

Expand
Rate this page:

Migrating from Functions(Classic) to New Functions Editor

Functions UI editor is the all new redesigned way to experience Twilio Functinos.

Functions Editor Main Page

Functions(Classic) is placed right under the left navigation pane in Functions.

Screenshot 2020-12-15 at 8.20.34 PM.png

Advantages of new editor include:

  • Functions(Classic) and New Functions Editor are built on separate infrastructure. The new editor calls the V2 APIs and provides the ability to work seamlessly between CLI and UI.
  • In the functions(classic) logs were only available while in session. In the new UI, you can access logs via the logs endpoint at a later date.
  • Increased reliability and refined user experience
  • Services make it easy to organize multiple Twilio applications

How to migrate functions from Functions(Classic) to New editor

  1. Create a new service in Functions editor. If you have multiple twilio applications, create a service for each application so that you can organize functions that belong to a specific applicaiton together under one service.
  2. Copy the code from existing functions(classic).
  3. Create a new function of the same name in Functions editor.
  4. Paste your code
  5. Configure dependencies
  6. Configure environment variables
  7. Save the function
  8. Click on Deploy all
  9. If you have phone numbers configured to point at your functions(classic) function, configure them to point to your new function we just created in the new Functions Editor.

Assets(Classic) and new functions editor are not compatible. You would need to re-upload assets to assets in the new editor to work with assets in the new eidtor.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.

        
        
        

        Thank you for your feedback!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        Step 1

        Get link

        Get a free personal referral link here

        Step 2

        Give $10

        Your user signs up and upgrade using link

        Step 3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more