Spoiler Alert — a Boston startup that works with large food producers and farms, including a recent partnership with Sysco Corporation — has raised $2.5 million for enterprise software that helps manufacturers and farms put excess food inventory to good use instead of tossing it out.

The startup uses cloud-based software to connect organizations that simply don't already coordinate well, like food producers, logistics companies, food banks and pantries. The spoiler alert platform helps food producers track what they're getting rid of and attain tax credits for donating that food, when thy do, instead of sending it to a landfill.

Spoiler alert also helps companies sell produce, protein or other inventory to one another at discounted rates.