# Unlink Automations to Reference Earlier Steps

**URL:** <https://community.fibery.io/t/unlink-automations-to-reference-earlier-steps/5132>\
**Category:** Ideas & Features\
**Created:** [September 12, 2023, 4:14pm UTC](https://community.fibery.io/t/unlink-automations-to-reference-earlier-steps/5132 "2023-09-12T16:14:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ccollins](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@ccollins](https://community.fibery.io/u/ccollins)\
**Post date:** [September 12, 2023, 4:14pm UTC](https://community.fibery.io/t/unlink-automations-to-reference-earlier-steps/5132/1 "2023-09-12T16:14:18Z")

</div>

[Previously a ‘Get Help’ Topic](https://community.fibery.io/t/unlink-automations-cant-use-formulas-or-reference-earlier-steps/4715):

> Linking entities through automation allows formulas and referencing earlier steps. It appears, this isn’t possible for unlinking…

In automations, the **‘🔗 Link Relation’** action provides the option to use a formula. This is great, because you can reference the Step 1 changes that triggered the automation. But the **‘🔗- Unlink Relation’** action only provides filters, no formulas. Which could work, but those filters have no reference to the Step 1 changes that triggered the automation.

Please add reference step filtering to automation unlinking or formula support

---

<div class="post-metadata">

**Author:** ![RonMakesSystems](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/ronmakessystems/32/14122_2.png) [@RonMakesSystems](https://community.fibery.io/u/RonMakesSystems)\
**Post date:** [August 29, 2025, 8:50pm UTC](https://community.fibery.io/t/unlink-automations-to-reference-earlier-steps/5132/2 "2025-08-29T20:50:12Z")

</div>

This is a big need for me. I’m to create an entity when something links, then delete the created entity when something unlinks.

I’ll try making it with scripts. But I’m not sure if that’s even possible as I can’t find a way to reference the “Step 1 Unlinked Entity” using scripts…

> [@How to create a comment in a thread view with Step 1 Linked entity](https://community.fibery.io/t/how-to-create-a-comment-in-a-thread-view-with-step-1-linked-entity/5701/4):
>
> As far as I know, there is no way in a script to determine which item in a collection was the most recently linked.

---

<div class="post-metadata">

**Author:** ![danielbmarsh](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/danielbmarsh/32/13104_2.png) [@danielbmarsh](https://community.fibery.io/u/danielbmarsh)\
**Post date:** [September 3, 2025, 8:23pm UTC](https://community.fibery.io/t/unlink-automations-to-reference-earlier-steps/5132/3 "2025-09-03T20:23:04Z")

</div>

I am not sure if this solves your problem, but I have several rules in Fibery title “Delete if Disconnected”

Basically this rule looks at the relationship field and if that field is updated and is empty then the entity is deleted.

---

<div class="post-metadata">

**Author:** ![RonMakesSystems](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/ronmakessystems/32/14122_2.png) [@RonMakesSystems](https://community.fibery.io/u/RonMakesSystems)\
**Post date:** [September 3, 2025, 9:18pm UTC](https://community.fibery.io/t/unlink-automations-to-reference-earlier-steps/5132/4 "2025-09-03T21:18:22Z")

</div>

Thanks for the suggestion, but it doesn’t solve my use case. I dont want it to delete when something unlinks. I want to be able to use a formula to unlink something from the triggering entity.

My specific case is “Amount per currency”  
When a currency is linked, it should create an amount per currency with that currency that was linked. Then if a currency is unlinked, it should unlink/delete all the “Amount per currencies” that have the currency = the unlinked currency.
