TwentyDEV icon

TwentyDEV

Consume the Twenty API

Actions252

Overview

This node operation allows users to create multiple associations between calendar channels and events in bulk. It is useful when you need to link many events to calendar channels simultaneously, streamlining the process of managing event-channel relationships. For example, if you have a list of events that should all be associated with specific calendar channels, this operation can efficiently handle that in one request rather than creating each association individually.

Properties

Name Meaning
Depth Determines how much related object data is included in the response:
- 0: Only the primary object's information.
- 1: Primary object plus its directly related objects (no further nesting).
- 2: Primary object, its directly related objects, and their related objects.
Body JSON object representing the calendar channel event associations to create. This should contain the details of the associations you want to establish.

Output

The output json field contains the response from the API after creating the calendar channel event associations. Depending on the Depth parameter, it includes the created primary objects and optionally their related nested objects up to two levels deep. The structure reflects the newly created associations and any requested related data.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for authentication to the Twenty API.
  • The base URL for the API is configured dynamically from credentials.
  • The node uses the Twenty API version 1.0.3 OpenAPI specification for request construction.

Troubleshooting

  • Invalid JSON in Body: If the JSON provided in the "Body" property is malformed, the request will fail. Ensure the JSON is valid and correctly formatted.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key credential is properly set up.
  • Depth Parameter Misuse: Setting an unsupported depth value may result in unexpected responses or errors. Use only 0, 1, or 2 as specified.
  • API Rate Limits or Quotas: Bulk creation might hit API rate limits; monitor API usage and adjust batch sizes accordingly.

Links and References

Discussion