[GH-ISSUE #212] Allow automates to apply metadata #172

Open
opened 2026-02-25 21:31:21 +03:00 by kerem · 3 comments
Owner

Originally created by @rf152 on GitHub (Nov 15, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/212

Originally assigned to: @ciur on GitHub.

Describe the solution you'd like
Ability to add metadata to a document via an automation, using Regex to extract the data. For example, I get a mobile phone bill each month, and the bill number is always displayed after "Bill number". It would be good if I could write a regular expression to extract that text, and then apply it to a "bill number" metadata field on the document.

eg:

Document contains: Bill number: A12345678987

Regex: Bill number\: ([A-Z][0-9]{11})

metadata field: bill number

value: \1

Originally created by @rf152 on GitHub (Nov 15, 2020). Original GitHub issue: https://github.com/ciur/papermerge/issues/212 Originally assigned to: @ciur on GitHub. **Describe the solution you'd like** Ability to add metadata to a document via an automation, using Regex to extract the data. For example, I get a mobile phone bill each month, and the bill number is always displayed after "Bill number". It would be good if I could write a regular expression to extract that text, and then apply it to a "bill number" metadata field on the document. eg: Document contains: `Bill number: A12345678987` Regex: `Bill number\: ([A-Z][0-9]{11})` metadata field: `bill number` value: `\1`
Author
Owner

@patrk commented on GitHub (Dec 17, 2020):

+1

<!-- gh-comment-id:747691836 --> @patrk commented on GitHub (Dec 17, 2020): +1
Author
Owner

@ciur commented on GitHub (Mar 8, 2021):

This feature, i.e ability to add metadata via Automates will be added to 2.1.
If you like this idea, i.e. automatic extraction of metadata please vote :) i.e. add a +1, a like, a heart emoji, a comment :)

<!-- gh-comment-id:792551628 --> @ciur commented on GitHub (Mar 8, 2021): This feature, i.e ability to add metadata via Automates will be added to 2.1. If you like this idea, i.e. automatic extraction of metadata please vote :) i.e. add a +1, a like, a heart emoji, a comment :)
Author
Owner

@ciur commented on GitHub (Mar 8, 2021):

... and consider a donation :), I am happy like a child when I receive small donations :)

<!-- gh-comment-id:792552981 --> @ciur commented on GitHub (Mar 8, 2021): ... and consider a [donation :)](https://github.com/ciur/papermerge/issues/231), I am happy like a child when I receive small donations :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#172
No description provided.