Skip to main content

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

DataTypeDescription
Function Namestring
Optionsjavascript

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.

DataTypeDescription
Object IDstring
Successsignal
Failuresignal
Finallysignal
Is Fetchingboolean
Is Fetchedboolean
Statusstring
Is Successboolean
Is Errorboolean
Error Textstring