Call Edge Function
The Call Edge Function node calls a specific Supabase Edge Function. You provide the unique function name, and the request body.
This is based on the Supabase Client SDK - Invokes a Supabase Edge Function.
Inputs
| Data | Type | Description |
|---|---|---|
| Function Name | string | |
| Options | javascript |
Similar to how the Function node works, you can use Inputs.Value inside the Options script to create a custom request.
Options
// Write your query script here, check out the reference documentation for examples
return {
// headers: {
// "my-custom-header": 'my-custom-header-value',
// },
// method: 'POST',
// responseType: 'text',
body: JSON.stringify(Inputs.Data),
};
Outputs
The response you get back is a pure object, and will not be converted to a Noodl Object.
| Data | Type | Description |
|---|---|---|
| Object ID | string | |
| Success | signal | |
| Failure | signal | |
| Finally | signal | |
| Is Fetching | boolean | |
| Is Fetched | boolean | |
| Status | string | |
| Is Success | boolean | |
| Is Error | boolean | |
| Error Text | string |