How to easily create many to many links on Create new object action

I’m struggling to find a simple way to create many to many links when a new object is created. I expected it to be straightforward to do from a create new object action as this seems like a very common use case.

I can add the “Add link” rule, but it doesn’t let me reference the object being created in the action. What’s the best way to create object many-to-many links when an object is first created?

Hi @whatstheprocess,
To create a new object and many-to-many link, there is a (granted, not so visible) Add link button that you can use. You can also find it referenced here in the docs.

And it will use the primary key of the created object: “alert-id from Alert” in this example.

You could also use a function-backed action with ontology edits to orchestrate multiple changes: https://www.palantir.com/docs/foundry/functions/api-ontology-edits/#updating-links

Well that was a simple answer, thank you!