If you own a property in Spain it is likely that at some time or another you will have contact with your national consulate or embassy. In Spain, different countries have an embassy in Madrid and consulates in other Spanish cities. In your own country there will be a Spanish Embassy in the capital and Spanish consulates in different regions.
The need to make a will is obvious to most people. The decision to get up and do it is often harder to achieve. When you make that decision to make a will in Spain, make sure you have done your research. Inheritance tax is a much bigger issue here than in the UK and your relationship to inheritors and whether they are resident or non-resident makes a big difference.