Add Activepieces integration for workflow automation
- Add Activepieces fork with SmoothSchedule custom piece - Create integrations app with Activepieces service layer - Add embed token endpoint for iframe integration - Create Automations page with embedded workflow builder - Add sidebar visibility fix for embed mode - Add list inactive customers endpoint to Public API - Include SmoothSchedule triggers: event created/updated/cancelled - Include SmoothSchedule actions: create/update/cancel events, list resources/services/customers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
46
activepieces-fork/docs/embedding/sdk-server-requests.mdx
Normal file
46
activepieces-fork/docs/embedding/sdk-server-requests.mdx
Normal file
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: "API Requests"
|
||||
description: "Send requests to your Activepieces instance from the embedded app"
|
||||
icon: "server"
|
||||
---
|
||||
|
||||
<Info>
|
||||
**Requirements:**
|
||||
* Activepieces version 0.34.5 or higher
|
||||
* SDK version 0.3.6 or higher
|
||||
</Info>
|
||||
|
||||
|
||||
|
||||
You can use the embedded SDK to send requests to your instance and retrieve data.
|
||||
|
||||
<Steps>
|
||||
|
||||
<Step title="Initialize the SDK">
|
||||
Follow the instructions in the [Embed Builder](./embed-builder) to initialize the SDK.
|
||||
</Step>
|
||||
|
||||
<Step title="Call (request) Method">
|
||||
|
||||
|
||||
```html
|
||||
<script>
|
||||
activepieces.request({path:'/flows',method:'GET'}).then(console.log);
|
||||
</script>
|
||||
```
|
||||
|
||||
**Request Parameters:**
|
||||
|
||||
| Parameter Name | Required | Type | Description |
|
||||
| -------------- | -------- | ------ | ------------------------------------------- |
|
||||
| path | ✅ | string | The path within your instance you want to hit (we prepend the path with your_instance_url/api/v1)
|
||||
| method | ✅ | string | The http method to use 'GET', 'POST','PUT', 'DELETE', 'OPTIONS', 'PATCH' and 'HEAD
|
||||
| body | ❌ | JSON object | The json body of your request
|
||||
| queryParams | ❌ | Record\<string,string\> | The query params to include in your request
|
||||
|
||||
|
||||
|
||||
</Step>
|
||||
|
||||
|
||||
</Steps>
|
||||
Reference in New Issue
Block a user