Zapier and using the Asana API to set a Project Status

I am trying to build a Zapier process that takes the AI-generated project summary that is emailed to me and passes some of the content to the Asana API (https://app.asana.com/api/1.0/status_updates
) to set a Project status.

I’m passing the html_text value instead of just text, but I’m finding that although the API call is successful, when I view the update in Asana it is showing raw HTML.

I have run encoding and escaping of special character processes over the email HTML, so I’m wondering what I have done wrong.

Has anyone else ever managed to achieve this?

Hi @Ross_Hopkins,

(FYI I moved your post to the Developers & API forum section.)

Two things:

Did you wrap your text in a <body></body> tag?

Also, make sure you’re only passing valid Asana rich text. Asana only supports a small subset of full HTML coding.

Hi @Ross_Hopkins ,

Raw HTML showing up is usually a fallback behavior when the html_text payload contains unsupported tags.

Even though the field is called html_text, it doesn’t accept arbitrary HTML, only a specific subset of HTML-like tags is supported there. The allowed tags are documented in Asana’s Rich Text guidelines.

So if your payload includes unsupported elements, Asana may accept the API call but render the content as plain text instead of formatted rich text.