These components will allow you to effectively build your automations based on various types of events that could take place within the project. You can choose to send a webhook or email as a response to specific events, or use a custom action instead.
To learn more about creating automations, read here.
These are the ‘trigger’ components that your pipeline will look out for. When you choose an event as the trigger, it’ll mean that any time that event takes place in your project, the automation will be activated. If, for instance, you wanted to receive an email update if a particular folder had a status change, you could set up an automation for that.
Below are the available event components that could be used in your pipelines.
Incoming webhooks are a simple mechanism to integrate external services with the SuperAnnotate platform. When using this component, you'll receive a unique URL to which you can send a JSON payload containing the necessary data.
All incoming webhooks require API Key authentication for enhanced security. To authenticate, include the following header in your HTTP request:
YOUR_API_KEYwith the API key provided on the platform.
- Periodic events - This event can be used to schedule a constant trigger with the desired frequency, over a custom period of time.
- Project created
- Project status updated
- Project deleted
- Folder created
- Folder status updated
- Folder deleted
- Export created
- Export status updated
- Export deleted
- Item created
- Item opened in editor
- Item annotation status updated
- Item approval status updated
- Item annotator assignment updated
- Item QA assignment updated
Actions are the components you can use to define what takes place after an event has been triggered. You can choose to use the available actions provided, or build your own custom ones from the Actions tab. When an action is carried out, it is logged and can be monitored in your pipeline's history. Learn more.
Below are the available action components that could be used in your pipelines.
- Send webhook
- Send email
Here, you’ll see all the custom actions that you’ve created as individual action components that you can use in the canvas.
You can link these actions to any secret by using the following code in the action's environment:
def handler(event, context):
Updated about 1 month ago