How to Send Data to a Bubble.io App Using Siri Shortcuts
What if you could use Siri to send data to your own web app? The Shortcuts app on macOS, iOS, iPadOS, and watchOS is an underused tool that allows users to automate actions, including sending data to an API. In this guide, we’ll show how to send data from Siri Shortcuts to a Bubble.io app, opening up new possibilities for automation.
Setting Up a Siri Shortcut to Send Data
To begin, open the Shortcuts app and create a new shortcut. Follow these steps:
- Open Siri Shortcuts and create a new shortcut called Send Data to Bubble.
- Add an HTTP request using the "Get Content from URL" action.
- Set the request type to POST (to send structured data).
- Define key-value pairs for the data, such as:
- Name: "Matt"
- Day of the Month: "3"
Configuring Bubble.io to Receive Data
Now, set up Bubble.io backend workflows to receive the data:
- Enable Backend Workflows in Settings.
- Create a new API Workflow called Siri.
- Set it to public and click Detect Request Data.
- Copy the generated API endpoint and paste it into the Siri Shortcut.
- Run the shortcut once to initialize the data structure.
Automating User Actions in Bubble.io
Beyond simple data transfers, you can also use Siri Shortcuts to create new users in Bubble.io:
- Add a new key-value pair for Email in the shortcut.
- Modify the backend workflow to create a new user based on the received data.
- Generate a random password for the user.
After running the workflow, check your Bubble.io database under App Data → Users to confirm the user was created.
Endless Automation Possibilities
Using Siri Shortcuts with Bubble.io opens up many possibilities:
- Automated tracking: Create a home screen widget that logs a data entry when tapped.
- Smart home integrations: Use Siri to send data to Bubble and trigger actions, such as updating a database.
- Quick user actions: Automatically create users, update records, or trigger workflows in Bubble.io.
Conclusion
With Siri Shortcuts and Bubble.io, you can build powerful automations without coding. Whether you want to log data, control smart devices, or trigger workflows, this method makes it easy to integrate voice commands with web applications.