I’m automating my daily journal with a title that includes an @ mention. How do I embed an @ mention in the title using this code?
configData = {
container: { db_ref: 'journalDBID' },
attributes: {
header: {
headings: [
{ message: { value: 'Daily Log @signal' } }
]
},
created_at: new Date().toISOString()
}
}
hey, u cant embed @mention directly in titls. you might need to add a seperate relation field and append it in a formated way, as notion api doesn’t do it natively.
After spending a bit of time exploring this issue, I’ve come to the conclusion that Notion’s API doesn’t officially support embedding an @ mention directly within a page’s title. In my own experiments, I attempted to combine the @ symbol with text, only to find that it doesn’t trigger the mention functionality as expected. One practical workaround is to use a separate field or relation to include the mentioned user, then format the front-end display to simulate an integrated mention. Although this isn’t as elegant as a direct approach, it currently remains the best method until Notion provides native support.