Short answer
HubSpot's KB: when using a contact-based action in another workflow type, you must add contacts as a data source, and the action updates one contact at a time. The KB lists which contact-based actions are supported.
1. In HubSpot
The relevant screen in my demo portal.

2. Worth knowing
If a deal has several contacts, decide which one the action should use.