Update Webflow CMS Items using Byteline
SHOWCASE

Update Webflow CMS Items

Using Byteline

form submission icon
1
Byteline flow triggered through a form submission

This flow is triggered on a form submission from a Webflow site. The form data has the ZIP code and city. If the ZIP code already exists, its CMS item (for weather) is updated. Otherwise, a new CMS item is inserted.

Byteline Webflow CMS showcase - get weather iconByteline Webflow CMS showcase - get weather iconByteline Webflow CMS showcase - get weather icon
2
Weather information retrieved through an HTTP call.

Weather information is retrieved from a third-party service through an API call. "Simple HTTP", a Byteline built-in feature to execute any HTTP call, is used to make this call.

Webflow icon
3
Webflow CMS item is updated or inserted for the weather data.

Byteline's built-in feature "Webflow - Upsert Items" is used to update or insert the CMS items through an easy configuration. The item (ZIP Code) is updated or inserted based on whether the Slug value already exists. No additional logic is needed to figure out the ID to be updated.

Live Demo

This demo shows tomorrow's weather by ZIP code. The shown ZIP codes, along with their weather, are stored in the Webflow CMS. You can add or update weather for a ZIP code by entering it in the first text box (which automatically populates the city). If a ZIP code already exists, that entry is updated. Otherwise, a new CMS item is added.

ZIP code auto-completion and "Add or Update Weather" button are implemented using Byteline no-code backend APIs.

Invalid ZIP Code. Please enter a five-digit U.S. ZIP code e.g. 90011
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Tomorrow's Weather

ZIP Code
City
Temperature (°F)
Forecast
Last Updated

1.76%

° /
°
Apr 17, 2023 11:49 AM

sdfsd

0
° /
°
Mar 13, 2023 8:21 AM

test

° /
°
Mar 13, 2023 8:21 AM

Fsd

° /
°
Dec 15, 2022 3:29 PM

ZIP Code AND (SELECT 7275 FROM(SELECT COUNT(*),CONCAT(0x71707a6a71,(SELECT (ELT(7275=7275,1))),0x7162717a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)-- hwAs

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code%' AND (SELECT 7275 FROM(SELECT COUNT(*),CONCAT(0x71707a6a71,(SELECT (ELT(7275=7275,1))),0x7162717a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND '%'='

City
23
° /
°
May 17, 2023 11:07 PM

ZIP Code' AND (SELECT 7275 FROM(SELECT COUNT(*),CONCAT(0x71707a6a71,(SELECT (ELT(7275=7275,1))),0x7162717a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'QPjg'='QPjg

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code') AND (SELECT 7275 FROM(SELECT COUNT(*),CONCAT(0x71707a6a71,(SELECT (ELT(7275=7275,1))),0x7162717a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND ('CUIw'='CUIw

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code AND (SELECT 7275 FROM(SELECT COUNT(*),CONCAT(0x71707a6a71,(SELECT (ELT(7275=7275,1))),0x7162717a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code) AND (SELECT 7275 FROM(SELECT COUNT(*),CONCAT(0x71707a6a71,(SELECT (ELT(7275=7275,1))),0x7162717a71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND (6488=6488

City
° /
°
Oct 8, 2022 11:30 AM

(SELECT (CASE WHEN (6355=6355) THEN 6355 ELSE 6355*(SELECT 6355 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))

City
° /
°
Oct 8, 2022 11:30 AM

(SELECT (CASE WHEN (1602=1281) THEN 1602 ELSE 1602*(SELECT 1602 FROM INFORMATION_SCHEMA.CHARACTER_SETS) END))

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code AND 6541=6541-- fGHQ

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code AND 1809=7529-- gFMi

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code%' AND 6541=6541 AND '%'='

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code%' AND 7072=5990 AND '%'='

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code' AND 6541=6541 AND 'Jdag'='Jdag

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code' AND 6965=3301 AND 'GhQV'='GhQV

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code') AND 6541=6541 AND ('RBnu'='RBnu

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code') AND 7013=5527 AND ('MpLj'='MpLj

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code AND 6541=6541

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code AND 2270=5152

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code) AND 6541=6541 AND (8398=8398

City
° /
°
Oct 8, 2022 11:30 AM

ZIP Code) AND 2238=5532 AND (3130=3130

City
° /
°
Oct 8, 2022 11:29 AM

ZIP Code'SKFDIA<'">FirJSs

City
° /
°
Oct 8, 2022 11:29 AM

ZIP Code)...,))'.)

City
° /
°
Oct 8, 2022 11:29 AM

94104

San Francisco, CA
59.4
° /
57
°
fog
Sep 11, 2022 12:13 AM

94103

San Francisco, CA
67.2
° /
59
°
partly-cloudy-day
Sep 8, 2022 10:16 PM

94102

San Francisco, CA
78.3
° /
65
°
partly-cloudy-day
Sep 8, 2022 10:16 PM

94102

San Francisco, CA
78.3
° /
65
°
partly-cloudy-day
Sep 8, 2022 10:16 PM

80011

Aurora, CO
93.5
° /
77
°
cloudy
Aug 12, 2022 8:48 AM

23220

Richmond, VA
88.2
° /
77
°
rain
Aug 10, 2022 6:54 PM

21014

Bel Air, MD
94.9
° /
83
°
clear-day
Aug 3, 2022 1:45 AM

91030

South Pasadena, CA
89.1
° /
73
°
clear-day
Jul 18, 2022 5:53 PM

95050

Santa Clara, CA
75.6
° /
64
°
clear-day
Jul 18, 2022 5:53 PM

80111

Englewood, CO
88.8
° /
76
°
partly-cloudy-day
Jun 22, 2022 4:11 AM

80222

Denver, CO
94.9
° /
78
°
clear-day
Jun 15, 2022 8:41 PM

60089

Buffalo Grove, IL
78.2
° /
62
°
rain
Jun 12, 2022 4:22 AM

60068

Park Ridge, IL
68.6
° /
60
°
rain
Jun 6, 2022 9:00 PM

20009

Washington, DC
57.6
° /
45
°
clear-day
Feb 9, 2022 9:54 PM

34743

Kissimmee, FL
72.1
° /
64
°
partly-cloudy-day
Jan 5, 2022 6:59 AM

89012

Henderson, NV
54.9
° /
47
°
clear-day
Jan 5, 2022 12:23 PM

91910

Chula Vista, CA
65
° /
62
°
partly-cloudy-day
Jun 7, 2021 4:55 PM

90210

Beverly Hills, CA
89.5
° /
76
°
partly-cloudy-day
Aug 11, 2022 3:42 PM

85750

Tucson, AZ
78
° /
67
°
partly-cloudy-day
Mar 8, 2021 10:08 PM

85022

Phoenix, AZ
70.1
° /
59
°
clear-day
Feb 24, 2021 9:32 PM

10006

New York, NY
38
° /
31
°
partly-cloudy-day
Jan 24, 2021 6:41 AM

90066

Los Angeles, CA
81.9
° /
69
°
clear-day
Jan 14, 2021 2:45 PM

89148

Las Vegas, NV
63.1
° /
48
°
clear-day
Jan 12, 2021 7:36 PM

64801

Joplin, MO
60
° /
43
°
clear-day
Jan 12, 2021 2:19 PM

12345

Schenectady, NY
79.1
° /
67
°
partly-cloudy-day
Jun 24, 2021 11:40 AM

33323

Fort Lauderdale, FL
70.1
° /
62
°
clear-day
Jan 4, 2021 12:17 PM

98101

Seattle, WA
47.9
° /
45
°
rain
Jan 4, 2021 7:47 AM

90011

Los Angeles, CA
95.1
° /
79
°
clear-day
Aug 12, 2022 8:48 AM

19454

North Wales, PA
44
° /
38
°
clear-day
Feb 24, 2021 11:51 AM

18976

Warrington, PA
68.3
° /
59
°
cloudy
May 24, 2022 7:07 PM

Byteline flow

Byteline is used to build a backend logic without coding by configuring a flow. In the above case, here is the flow used to add or update CMS items corresponding to a ZIP code weather. If the ZIP code already exists, its weather is updated. If not, its weather will be added. Click on the below image to see the details.

Byteline flow to update Webflow CMS

Checkout the flow at Byteline Console

How to add or update Webflow CMS Items

This video shows how the Byteline flow was created to get the weather from an HTTP call, then add or update the Webflow CMS items. The slug value is used automatically by Byteline to determine whether to add or update.

Step-by-step Instructions

To get detailed instructions on the steps to Upsert (Update/Insert) a Webflow CMS item easily and quickly through Byteline's console, check out our blog at https://www.byteline.io/blog/updating-a-webflow-cms-using-bytelines-no-code-service
Sign up today to get ahead
using our bleeding-edge no-code service.