Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Automates the PolicyCenter account-to-renewal lifecycle via Cloud API, handling bind, quote expiry, and endorsement failure paths.
Use this skill ↓36% 82%+45 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 8 of 22 without it.
After binding a policy in PolicyCenter, which primary identifier attribute returned in the response payload should be stored to execute downstream policy transitions like issuance and endorsement?
Stores bound.attributes.policy.id as the canonical reference.
3 of 3 safety checks passed
Drive the PolicyCenter policy lifecycle through Cloud API and survive the state-transition failures that derail naive automation. This is the workflow used by broker portals to quote-and-bind, by CRMs to push submissions, and by renewal jobs to issue out-of-cycle. Assumes guidewire-install-auth provides the bearer token and guidewire-sdk-patterns provides the retrying client with checksum round-trip.
Five production failures this skill prevents:
200, the underwritingIssues[] array is non-empty, the client ignores it, bind returns 422 rule-violation.422 quote-expired on bind.Quoted status forever, blocking the next attempt.422 renewal-window-closed.guidewire-install-auth and guidewire-sdk-patterns (getToken(), patchResource(), paginate(), mapError())pc.account.write, pc.submission.write, pc.policy.write assigned to the integration's Service ApplicationPersonalAuto, BOPLine) — submission shape is product-specificBuild the workflow as discrete state-transition functions, each fully responsible for surfacing the failure modes of its transition. Compose them with explicit checkpoints — never collapse the pipeline into a single fire-and-forget call.
const idempotencyKey = crypto.randomUUID();
const account = await retryable(async () => {
const res = await fetch(`${BASE}/pc/rest/v1/accounts`, {
method: "POST",
headers: { Authorization: `Bearer ${await getToken()}`, "Content-Type": "application/json", "Idempotency-Key": idempotencyKey },
body: JSON.stringify({ data: { attributes: { accountHolderContact: contact, primaryLocation: address } } }),
});
if (!res.ok) throw await mapError(res, "POST", "/pc/rest/v1/accounts");
return (await res.json()).data;
});
Next to this one in the catalogue, plus more from the same author.