diff --git a/doc/building_your_pipeline.md b/doc/building_your_pipeline.md
index 3aa8196fbc1f86997621ed20fe2ffd23e3ed4872..8523b6ddc1640d1b5c02f3b684d1a96f2963011e 100644
--- a/doc/building_your_pipeline.md
+++ b/doc/building_your_pipeline.md
@@ -360,7 +360,7 @@ We can add the `fastq_from_bed` step to our `workflow`
 
 ```Groovy
 workflow {
-  fastp(fasta_file)
+  fastp(fastq_file)
   fasta_from_bed(fasta_files, bed_files)
 }
 ```