Hi, I unfortunately don't know this Seems pretty simple, but we all know how M$FT likes making simple tasks so torturous.
Either way, you need to have an automated flow, for the When a new task is created Flow
Pre steps
Create a Mapping List in SharePoint. This is used to map the incoming [ Words ] to a Bucket (or do it in Dataverse)
Example
SharePoint List
Incoming String Map The New Bucket String column
[Word] TheNewBucketWoot
1. Trigger
2. Parse to get the [] data
3. Use a Get Items on the SharePoint with a filter of the [] value to filter on the Incoming String Map (my example) so you can get the bucket name
--Use a componse to grab the bucket name
4. Use the List Buckets Action
5. Use an Apply to each or other Filter / Select action to grab the bucket id from the Response in #4 based on the Get Items bucket string
6. Use the Update a Task V2 action to update the Bucket it
Now, you can either do it based on the Created Item Trigger
OR
you can run a scheduled flow every day or every hour or whatever.
Or do both