github →

New request

#17171: [Workflow] Body from Notes are not well shared from one step to another

We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.

Issue
prio: medium

Bug Description

I created a workflow that has a step "search note" , searching for a note that I use as a template this is the body of this note <img width="440" height="646" alt="Image" src="https://github.com/user-attachments/assets/5880bfa5-8504-4ba3-9add-3c19af1d7630" />

Next action is to create a note, and I use the body > Markdown of the note found above to pre-fill the body of my new note

<img width="440" height="476" alt="Image" src="https://github.com/user-attachments/assets/a8b61325-4f5f-4fc6-b102-2bba04d7ee60" />

But here is the note that gets created >> the markdown is "shared" but not well displayed

<img width="445" height="631" alt="Image" src="https://github.com/user-attachments/assets/96385e47-2974-459b-9210-d909ba2f0551" />

Then I tried using the Body > Block Note instead of Body > Markdown but here is what we get

<img width="420" height="537" alt="Image" src="https://github.com/user-attachments/assets/7dbe3c1c-be82-48bc-b872-9ebe30497f7f" />

I don't see why we should let users access this, which could lead them to a confusion but I might be missing something

Also, this might be happening for Tasks as well, I did not check

Assessmentadvisory
bug●● medium80% confidence

Workflow step output mapping passes raw markdown and internal BlockNote structures instead of rendered note content, producing broken notes.

Likely files
  • packages/twenty-shared/src/workflow/schemas
  • packages/twenty-front/src/modules/ai/components
  • packages/twenty-server/src/engine/metadata-modules/admin-panel/dtos
  • packages/twenty-front/src/modules/object-record/record-field/ui/form-types/components
Create the request

This opens a fresh agent run and a draft PR for issue #17171.

Cancel