LogoLogo
HOMEAPPSBLOGDEVELOPERSGET A DEMO
  • Overview
    • Data
    • Middle's infrastructure
    • ENTERPRISE installations
    • Security
  • Workflows
    • Enable/disable an account
    • Connect or edit an app connection
    • Sync
      • Stored records
      • Sync history
    • Create or copy a workflow
    • Edit an existing workflow
    • Workflow steps
    • Workflow parameters
    • Triggers
  • User access
  • Performance
  • Data deletion
  • App development
    • Authentication
    • Credential storage
    • Sync records
    • Actions
    • Code packages
    • Upload scripts
    • Testing your apps
    • Versions
    • Monitor
  • Getting app credentials
    • ABC Ignite
    • Amazon S3
    • Clover
    • Emma
    • Erply
    • Facebook
    • fitDEGREE
    • Gmail
    • Google Sheets
    • HighLevel
    • Hubspot
    • Keap Max
    • Klaviyo
    • Lightspeed Retail
    • Mailchimp
    • Mindbody
    • OpenAI
    • Paramount Acceptance
    • Pike13
    • Salesforce
    • Shopify
    • Slack
    • Square
    • Vend
    • Xn
  • Guides
    • API limits
    • Building an API for Middle
    • Development best practices
Powered by GitBook
On this page

Was this helpful?

  1. App development

Upload scripts

Bypass in-browser scripts by uploading your code to Middle

PreviousCode packagesNextTesting your apps

Last updated 2 years ago

Was this helpful?

So far, we’ve discussed editing scripts within Browser Mode. However, Middle can also support Upload Mode, which would allow you to upload package for each individual poll sync or action as needed.

Upload Mode can be useful if you are working with helper packages that are very large, such as Google. The Code Package section does not support very large files, while Upload Mode can handle a zipped file up to 250 MB, uncompressed.

At the bottom of a script, you can click Swap To Upload Mode to access this feature.

Swap your app script to upload mode

First, download the compressed script package. You can then modify the aspects of this folder:

  • index.py (do not edit)

  • app.py (edit this file with your Python script)

You can upload any additional files needed to this downloaded script package, and then re-upload the package as a zipped file.

Upload your script