Actions10
Relation → Associate records in a relation
AI-generatedSummary
Associate a target record with a parent record through a selected to-many relation in a Forest Admin collection. For many-to-many relations, this creates an entry in the join table.
Inputs
- Authentication (required) — Choose Bearer Auth or MCP OAuth2 and provide the corresponding Forest MCP credentials.
- Collection (required) — Select the collection containing the parent record, or enter its ID.
- Relation (required) — Select a to-many relation for the collection, or enter its ID.
- Parameters (required) — In Manual mode, provide parentRecordId and targetRecordId: the IDs of the parent and target records.
- JSON (required) — In JSON mode, provide an object containing parentRecordId and targetRecordId.
- Input Mode — Choose Manual parameter fields or a JSON object for the relation arguments.
- Options — Set the tool-call timeout in milliseconds and whether image and audio results are converted to binary data.
Output shape
One n8n item per input item, with the MCP tool response content in json.content and any converted image or audio data in binary fields.
Text content is parsed as JSON when possible and otherwise returned as text. Image and audio content is converted to binary by default; when binary conversion is disabled, it remains in json.content as base64-encoded content. If the tool returns no non-binary content, json.content is omitted. With Continue On Fail enabled, an item error is returned in json.error.message.