@abieba
So in your Create Item action block you need to fill the "Annual leave allocated" with:
value 30 if "Category" value is C1
Value 25 if "Category" value is C2
Value 20 if "Category" value is C3
Value 15 if "Category" value is C4
Value 10 if "Category" value is C5
And "Annual leave allocated" column on your sharepoint list is of type Integer, right?
If so, I would suggest you to:
Step#1: just before your condition action block, create an array variable with the following pairs:
[['C1','30'],['C2','25'],['C3','20'],['C4','15'],['C5','10']]
I have used the following expression for such purpose:
createArray(createArray('C1','30'),createArray('C2','25'),createArray('C3','20'),createArray('C4','15'),createArray('C5','10'))
Step#2: Add a new Apply to Each inside the 'true' branch of your condition, using the variable you created as its input
Step#3: Include a condition inside the Apply to each, so you compare if triggerBody()?['Category']?['value'] is equal to first(item()). If true, then invoke "Create item action block" using int(last(item())) as the input for "Annual leave allocated". Leave the 'false' branch empty
In the future, if more categories are added, then you just need to update the variable
Hope this helps