Spur now supports sending Custom HTTP Requests, opening the doors for infinite integrations! With the new "Send Custom Request" action, you can connect Spur to external tools, trigger webhooks, and send or retrieve data effortlessly.
What Can You Do with Custom Requests?
With this feature, you can:
✅ Send data to external APIs (e.g., CRM, Google Sheets, Shopify)
✅ Retrieve data and use it in your Spur workflows
✅ Update or delete information on third-party platforms
✅ Automate processes without writing custom code
Supported HTTP Methods
We support the following request types:
POST – Send new data to an API
GET – Retrieve data from an API
PUT – Update existing data
PATCH – Modify specific fields in existing data
DELETE – Remove data from an external system
How to Create a Send Custom Request Action
Open your Spur Workflow Builder.
Click on the + icon and select "Add Action".
Choose "Send Custom Request" from the action list.
Your Custom Request action is now created and ready for configuration!
How to Configure the Custom Request Action
The Send Custom Request action has the following configurables:
1. Request Method
Select the HTTP method from the dropdown (POST, GET, PUT, PATCH, DELETE).
2. Request URL
Enter the API endpoint (webhook URL) where the request will be sent.
3. Request Headers
Add key-value pairs if your API requires headers (e.g.,
Authorization
,Content-Type
).You can use Spur Attributes as values.
4. Request Body (For POST, PUT, PATCH requests)
Click "Edit Body" to configure the request payload.
You can either:
Use the "Add Field" button to add key-value pairs manually.
Switch to "Raw JSON" mode to enter the data directly.
Any Spur variable can be inserted in the body fields.
Click "Raw JSON" anytime to preview the exact data being sent.
5. Testing the Request
Click "Test" to verify the configuration before using it in your workflow.
Enter test values for headers and body fields.
Click "Test Request" to send a sample request.
You’ll see the Request Status and Response Data in real time.
6. Mapping API Responses
If the API sends back a JSON response, you can extract key data points.
Click "Request Mapping" to assign response fields as workflow variables.
These mapped variables can be used in subsequent actions (e.g., sending WhatsApp messages based on API data).
And that's all there is to setting up the Send HTTP Request Action!
Real-World Use Cases
1️⃣ Updating Google Sheets
Send data from Spur to Google Sheets via a webhook.
2️⃣ Syncing with a CRM
Capture WhatsApp leads and instantly send them to HubSpot or Salesforce.
3️⃣ Triggering Third-Party Automations
Automatically notify a delivery service when an order is placed.
With Send Custom Request, you can connect Spur to your favorite tools and automate processes seamlessly. Try it today in the Workflow Builder! 🚀