Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.






                // Change this name to use a different table
let table = base.getTable("City");
// Prompt the user to pick a record 
// If this script is run from a button field, this will use the button's record instead.
let record = await input.recordAsync('Select a record to use', table);
let cityID = record.getCellValue("Webflow Item ID");

if (record) {
    let calltoWebflow = await remoteFetchAsync (`${cityID}?live=true`,
            method: 'PATCH',
            body: JSON.stringify({
                fields: {
                    "page-title":record.getCellValue("Webflow Title"),
                    "page-description":record.getCellValue("Webflow Description")
                'Authorization':'Bearer ',
            // console.log(await calltoWebflow.json());

            let calltoWebflowparsed = await calltoWebflow.json();


        //Add check to Script updated if successful

        await table.updateRecordAsync(record,{
            "Last Updated": calltoWebflowparsed["updated-on"],

    // Customize this section to handle the selected record
    // You can use record.getCellValue("Field name") to access
    // cell values from the record
    output.text(`You selected this record: ${}`);
} else {
    output.text('No record was selected');