Hello! I'm trying to save a value (which can be one or multiple links) from Zapier to Notion. The field in Notion is of text type, but when testing the 'Create database item' action from Zapier, the data is saved as plain text instead of URL links. What should I do to ensure that those URLs are saved as hyperlinks?
The expected result should be like the second option, but the result we get is the first option
Page 1 / 1
Hi @Lilo
Good question.
Try sending the value as formatted HTML (reference)
And then just test the step and see if it shows up in Notion the way you’d like?
Hi @shalgrim, I already tested it, I dont know if Im doing something wrong
Zap
Notion
Lilo,
Can you send a screenshot of all of your field setting on the Create Database Item step? Please make sure to redact and personal information.
I’ll be happy to take a closer look at that!
@Lilo
You can try this…
Add a TEMP Zap step to find an existing database item that has the URL formatted properly.
The results may help you understand how the URL needs to be formatted.
@shalgrim here
Thank you @Troy Tessalone I already tried, but only shows this
even if I try to update the notion with the results of the Find action, it gets rewritten as plain text
Hi @Lilo ,
I’m playing around with this myself, and when I enter a hyperlink in a text field from the web interface it appears as plain text and not a link. Is it the same for you?
I was able to get it to work by adding hyperlinks to the Content field
Scott
Hi @shalgrim I tried copying and pasting a text on the web, here is a video of how it works for me
So it works when you copy/paste, but not when you type it in directly, right? Because I’m seeing the same behavior as you with a copy/paste, but when I type it in it does not get converted into a link in the text
yes, you're right, it doesn't work if you type it in directly
Hi @Lilo!
I’ve been testing this on my end as well and I can’t get it to render the links correctly either. I tried changing the field I was testing with, in Notion, to use the URL property type and that was then able to create the link, but it only works for a single link, not multiple links.
I did some further digging and couldn’t find any existing bug reports for this but this feels like a bug to me. So I’d recommend reaching out to our Support team here: https://zapier.com/app/get-help. They’ll be able to investigate further and open up a bug report on your behalf.
As a workaround, perhaps you could try using the API Request (Beta) action for Notion to see if that allows you add the links into that Pull Request(s) field correctly? It’s a bit more advanced but if it’s something you’d be interested in exploring you can find out more here: Set up an API request action
Hope that helps. If you manage to find an alternative solution in the meantime please let us know!
I think Sam’s right that the API Request action is the best you’ll be able to do here.
I did some work to get a manual POST request set just right and I was able to do it by setting up my property like:
I haven’t tried this in Zapier using the API Request action myself, but I think the fact that the manual request worked shows promise for getting the API Request action to work. Let us know if you have any questions