I used the following formula to generate story points through automation.
Formula:
"{{#=}}({{issue.Original estimate|0}}/3600)/8{{/}}"
I'm able to generate the story points, but it's generating in decimals. For example, for 40 hours, the story points generated is 0.625.