Welcome to Siena custom integrations! This guide is your roadmap for successfully setting up and navigating your own custom integrations, opening up a world of possibilities for connecting existing APIs and initiating actions across any system. Let's dive in!
Steps for set up
- Under Modules, click on Custom Integrations. Then click New integration to get started.
- Now name your integration and, if youโd like, upload an image so you can quickly find your integration across the platform. When you're happy with it, click Save.
- Congratulations! You just set up your first integration.You can then see the name, image and date created. In order to complete the set-up, you need to add Actions to your custom integration. Click New action to get started.
- Now you will see we have a 3 step form. You need to complete the form with details in every field.
- First step, fill out the following: Action Name, HTTP method, Endpoint URL. All fields are mandatory.
- Action name โ Name for your action
- HTTP method โ We support GET , POST, PUT , PATCH, and DELETE methods. You can pick the one that fits your endpoint method type.
- Endpoint URL โ Provide your API endpoint url for the above method.
- Next, Authentication details. We recommend that each action have Authentication set up in order to have a secure connection.
- Type โ Select the type of Authentication. Currently we only offer Api Key.
- Api Key โ Provide the Api Key for your authentication. Ex: Bearer ....your token
- Api key header name โ Provide the header name. Ex: Authorization
- Finally, set up the configuration.
- Payload configuration โ Add any data that you want to send to your api inside the body by clicking Add . Ex. body: cancelOrder:true.
- Admin instructions โ Write how you want Siena to run this action. Ex. Replace {order_id} with the specific order ID provided.
- Success message โ This is the success message presented when the action is successfully completed by Siena.
- Error message โ This is the error message presented when the action fails.
- Payload configuration โ Add any data that you want to send to your api inside the body by clicking Add . Ex. body: cancelOrder:true.
- First step, fill out the following: Action Name, HTTP method, Endpoint URL. All fields are mandatory.
- Click Save. You should see your newly set up action under your custom integration!
- Click on the action to see the details or edit any of the fields.
Test actions
- Add your action to the specific automation. You will see your newly created custom integration under the Integration dropdown. You can then select an associated Action.
- Save your automation. Now every time the automations runs, we execute the Custom Action as well.
- Test your automation in the Playground ๐
More information
- Note: Any retrieved data from a GET request action is always available as context for Siena when generating responses. Therefore a GET action is not attached to a specific automation.
- For all other types of requests, actions need to be added to a specific automation to be executed.
We hope this guide has been helpful in setting up your Siena Custom Integrations. If you have any further questions or need assistance, please don't hesitate to reach out to our Customer Support team. We're always here to help!
Comments
0 comments
Please sign in to leave a comment.